Repository navigation
Make --enable-documentation work - #5143
Merged
Merged
Conversation
Adds the ability to generate haddock documentation for non-inplace package builds. In other words this allows - `$ cabal new-build --enable-documentation` - `$ echo "documentation: true" >> cabal.project && cabal new-build` - `echo "documentation: true" >> ~/.cabal/config && cabal new-build` And it will generate (and install) haddock documentation for any package.
Member
|
@alexbiehl does |
Member
Author
|
These are the inputs for the nix package hash originating from configuration values: cabal/cabal-install/Distribution/Client/PackageHash.hs Lines 189 to 220 in 4a6fb38
|
Member
|
Would be cool to later add some kind of automatic doc rebuilding like we have for |
Member
|
Merged, thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the ability to generate haddock documentation for non-inplace
package builds.
In other words this allows
$ cabal new-build --enable-documentation$ echo "documentation: true" >> cabal.project && cabal new-build$ echo "documentation: true" >> ~/.cabal/config && cabal new-buildAnd it will generate (and install) haddock documentation for any
package.
(This works best with #5142 as otherwise global configuration cannot be applied to non-local packages)
Please include the following checklist in your PR:
[ci skip]is used to avoid triggering the build bots.Please also shortly describe how you tested your change. Bonus points for added tests!