commercialhaskell/stack

Allow setting local-doc-root in stack.yaml

Open

#2794 aperta il 20 nov 2016

Vedi su GitHub
 (1 commento) (0 reazioni) (0 assegnatari)Haskell (848 fork)batch import
component: haddockhelp wantednewcomer friendlytype: enhancement

Metriche repository

Star
 (4060 star)
Metriche merge PR
 (Merge medio 14h 21m) (12 PR mergiate in 30 g)

Descrizione

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.

Guida contributor