commercialhaskell/stack

Allow setting local-doc-root in stack.yaml

Ouverte

#2 794 ouverte le 20 nov. 2016

 (1 commentaire) (0 réaction) (0 personne assignée)Haskell (848 forks)batch import
component: haddockhelp wantednewcomer friendlytype: enhancement

Métriques du dépôt

Stars
 (4 060 étoiles)
Métriques de merge PR
 (Merge moyen 17j 10h) (6 PRs mergées en 30 j)

Description

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.

Guide contributeur