commercialhaskell/stack

Allow setting local-doc-root in stack.yaml

Open

#2,794 opened on 2016年11月20日

GitHub で見る
 (1 comment) (0 reactions) (0 assignees)Haskell (4,060 stars) (848 forks)batch import
component: haddockhelp wantednewcomer friendlytype: enhancement

説明

Similarly to how we can specify local-bin-path, it would be great to also be able to customize local-doc-root to make the Haddock output always be generated in a predictable place. Right now I think I'm going to have to add a line to my Makefile to copy the output from $(stack path --local-doc-root) to where it needs to be. This is not terrible, I suppose, but doesn't seem like it should be necessary.

コントリビューターガイド