commercialhaskell / commercialhaskell/stack

Allow setting local-doc-root in stack.yaml

Open
#2,794 1 comment 0 reactions 0 assignees View on GitHub
component: haddock help wanted newcomer friendly type: enhancement
Dominant language
Haskell
Stars
4.1k
Forks
850
Avg merge
10h 37m
Merged PRs (30d)
4

Description

Similarly to how we can specify [`local-bin-path`](https://docs.haskellstack.org/en/stable/yaml_configuration/#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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.