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

Need means to propagate haddock-specific command-line options, e.g. "--source-entity-line" #2144

Closed
kostmo opened this Issue May 15, 2016 · 4 comments

Comments

Projects
None yet
3 participants
@kostmo

kostmo commented May 15, 2016

Instead of re-publishing a copy of the syntax-highlighted source code with the documentation, I would like to instead link to the source code as hosted on BitBucket via the --source-entity-line option.

There doesn't appear to be a way to pass in options to haddock from the stack command, in contrast with the mechanism --test-arguments that is able to forward arbitrary options to a test program.

@mgsloan

This comment has been minimized.

Collaborator

mgsloan commented May 15, 2016

Makes sense! Could either be accomplished much like existing options or as part of #652

@kostmo kostmo changed the title from Need means propagate haddock-specific command-line options, e.g. "--source-entity-line" to Need means to propagate haddock-specific command-line options, e.g. "--source-entity-line" May 15, 2016

@Gabriel439

This comment has been minimized.

Gabriel439 commented May 18, 2016

Yes, we've been wanting this, too, so that we could pass through haddock's --qual option

mgsloan added a commit that referenced this issue May 18, 2016

@mgsloan

This comment has been minimized.

Collaborator

mgsloan commented May 18, 2016

@yogsototh just implemented this as a new --haddock-arguments! So this is now available on HEAD

@mgsloan mgsloan closed this May 18, 2016

@Gabriel439

This comment has been minimized.

Gabriel439 commented May 18, 2016

Thanks! :)

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