-
Notifications
You must be signed in to change notification settings - Fork 697
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
Feature request: enable --enable-documentation by default #7462
Comments
I don't see this flag in
which is what the unfortunate users that depend on libraries not present on Hackage servers need to invoke to build documentation and upload it manually: https://hackage.haskell.org/upload However, perhaps Are there any other popular uses? |
@Mikolaj: In your command, is Anyhow, I think having to pass |
I've just copied it from https://hackage.haskell.org/upload. It works, because any non-ambiguous prefix of a command works.
I agree. Frankly, I haven't tested if this is required (assuming you don't have docs enabled in any of the configs). I just copy-pasted it. If it's not required in the current stable cabal, let's fix the snippet at https://hackage.haskell.org/upload. |
@Mikolaj what kind of additional info is needed here? |
No more info is needed. I forgot to remove the label after I found out that If nobody objects, let's make |
Wasn't there a similar situation for --enable-tests? Can anyone find the ticket? |
As pointed there, enable-tests do actually affect the build plan, unlike (according to OP) enable-documentation. So the current issue is a clearer cut. |
This new feature is giving me a lot of trouble in connection with This is because
Also,
|
@andreasabel good news: the patch is easy. Bad news: I fail to test it. Details are in #8330. Really hope for someone's help! |
Most of the time when users invoke
cabal haddock
, they meant to runcabal haddock --enable-documentation
(to generate hyperlinks to entities from other packages). Any reason this is not a default behaviour? AFAIU this flag does not affect build plan.The text was updated successfully, but these errors were encountered: