commercialhaskell/stack

Allow setting local-doc-root in stack.yaml

Aberta

#2.794 aberto em 20 de nov. de 2016

 (1 comentário) (0 reação) (0 responsável)Haskell (848 forks)batch import
component: haddockhelp wantednewcomer friendlytype: enhancement

Métricas do repositório

Stars
 (4.060 estrelas)
Métricas de merge de PR
 (Mesclagem média 17d 10h) (6 fundiu PRs em 30d)

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.

Guia do colaborador