Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate haddock for multiple (sub)libraries at once #9577

Open
414owen opened this issue Dec 31, 2023 · 0 comments
Open

Generate haddock for multiple (sub)libraries at once #9577

414owen opened this issue Dec 31, 2023 · 0 comments

Comments

@414owen
Copy link

414owen commented Dec 31, 2023

Currently, running cabal haddock --haddock-for-hackage seems to produce a tarball containing the docs for one library.

If you pass it the name of a sublibrary, it will generate the docs for that sublibrary only.

Hackage seems to overwrite the docs when you upload a new tarball, so it seems people would need to either fiddle with tarballs manually, or have only one library documented.

Note that when this change is deployed, hackage will list the modules of multiple libraries, so a lack of docs will become quite visible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant