commercialhaskell/stack

Allow setting local-doc-root in stack.yaml

Open

#2,794 建立於 2016年11月20日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)Haskell (848 fork)batch import
component: haddockhelp wantednewcomer friendlytype: enhancement

倉庫指標

Star
 (4,060 star)
PR 合併指標
 (平均合併 17天 10小時) (30 天內合併 6 個 PR)

描述

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.

貢獻者指南