commercialhaskell/stack

Allow setting local-doc-root in stack.yaml

オープン

#2,794 opened on 2016/11/20

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Haskell (848 件のフォーク)batch import
component: haddockhelp wantednewcomer friendlytype: enhancement

Repository metrics

Stars
 (4,060 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

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