-
Notifications
You must be signed in to change notification settings - Fork 81
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
allow passing command line flags to haddock #425
Comments
from https://www.haskell.org/haddock/doc/html/invoking.html:
|
A bit of followup on that one. This is a real pain. It is possible to set attributes to a rule which will be passed to the aspects (used by
(from https://docs.bazel.build/versions/master/skylark/aspects.html) That's by design in bazel. PR #444 was a PR with a proof of concept of a limited set of arguments. It was closed because the solution was a HACK. |
Yet another reason to change the design in the following way?
i.e. use implicit targets for API documentation, like we currently do for REPL's? |
I would like to be able to pass
--ignore-all-exports
to haddock in order to display haddock comments on internal functions. Could a field be added tohaskell_doc
for passing additional flags? Or maybe just a boolean field for this flag if you're afraid of users trying to unsafely override flags.The text was updated successfully, but these errors were encountered: