-
Notifications
You must be signed in to change notification settings - Fork 711
Implement 'cabal upload --haddock' #2080
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
Comments
@23Skidoo part of the objective with this is to not only handle the uploading of the haddocks, but have the |
@bitemyapp Right. |
I would like to work on this. However, I had the following design in mind:
That way, Would that design be ok? |
Now, after looking at the code some more, I'm still not exactly sure where all the parts for this fit. I think there are three parts:
I'm reasonably sure about 1 and 3, but I don't know what to do about 2. Should it be part of |
This is the first step to implement haskell#2080. It adds a new flag to `cabal haddock`, called `--for-hackage`, which will generate documentation suitable for upload to hackage. It's only a collection of flags, and matches the flags used by the hackage doc builder.
@bennofs I'd say that 2 should also be a part of
Having to remember to call |
I agree with the UX improvements @23Skidoo has laid out here. The program should understand the intent of the user and just make it happen. |
Ok, that sounds reasonable. |
So I've implemented
(I'll be away for a week, so I won't be able to respond for one week) |
I think that plain |
This is absolutely wrong. Given that we haven't had reliable documentation building on Hackage in many years, and given that packages with external dependencies can't be built on Hackage anyway, the default behavior of |
See this comment. Uploading locally-built Haddock documentation to Hackage is a common use case, and we should support it directly.
The text was updated successfully, but these errors were encountered: