haskell_doc should accept custom haddock_flags
Open
Nobody has claimed this yet.
good first issue
P3
type: feature request
- Dominant language
- Starlark
- Stars
- 279
- Forks
- 93
- Avg merge
- 13d 11h
- Merged PRs (30d)
- 3
Description
This is a reopen of #425 to enhance haskell_doc in two ways:
-
haskell_docshould accept a custom list ofhaddock_flags. For now,haddock_flagscan only be overridden inhaskell_toolchain. -
haskell_docshould be composable so thathaskell_doccan take other documentation rule asdepsargument.
Custom list of haddock flags for haskell toolchain is a complex implementation (see #425) for the discussion.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the reopened issue #425 and the existing haskell_doc and haskell_toolchain rule entry points. Trace how haddock_flags are currently overridden and how documentation dependencies are represented. Done means haskell_doc accepts its own flags and can compose with another documentation rule through deps, with the required behavior agreed and covered by the project’s tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- build-system
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100