PyR*_*lez 4 haskell hyperlink cabal haddock
$ cabal --version
cabal-install version 1.22.2.0
using version 1.22.2.0 of the Cabal library
$ cabal install --haddock-hyperlink-source gloss-juicy
Warning: /home/theking/.cabal/config: Unrecognized field hyperlink-source on
line 91
Run Code Online (Sandbox Code Playgroud)
我确实hyperlink-source: True在我的配置中.我添加了标志只是为了多余.当我查找文档时,它都是彩色的和一切,但源代码没有链接.我究竟做错了什么?
希望我们谈论haddock命令行选项--hyperlinked-source(注意超链接ed).
版本2.16.1不支持该--hyperlinked-source选项.
版本2.16.2确实支持该--hyperlinked-source选项.
您可能必须从git repo构建2.16.2:
https://github.com/haskell/haddock