For the cabal project, I wanted to generate documentation for the documentation with hyperlinks to the source code, so I did the usual:
cabal haddock --hyperlink-source
Links were generated, but after clicking the links, I found that the actual source code is not included, even if there are links. Source code must be rendered via HTML. How do I generate them?
Currently used:
- Cabal 1.22.4.0
- cabal-install 1.22.6.0
- haddock 2.16.1
source
share