commercialhaskell/stack

Allow setting local-doc-root in stack.yaml

Offen

#2.794 geöffnet am 20.11.2016

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Haskell (848 Forks)batch import
component: haddockhelp wantednewcomer friendlytype: enhancement

Repository-Metriken

Stars
 (4.060 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 17T 10h) (6 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide