Skip to content
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

Make --hyperlinked-source for haddock optional #3099

Closed
Fuuzetsu opened this issue Mar 31, 2017 · 2 comments
Closed

Make --hyperlinked-source for haddock optional #3099

Fuuzetsu opened this issue Mar 31, 2017 · 2 comments

Comments

@Fuuzetsu
Copy link
Contributor

@Fuuzetsu Fuuzetsu commented Mar 31, 2017

General summary/comments (optional)

I would like to be able to tell stack to not give --hyperlinked-source to haddock with stack --haddock. Currently it always invokes this flag if it's supported.

Steps to reproduce

  1. stack --haddock -v

Expected

Configurable option.

Actual

Option always passed in without means to turn it off.

Stack version

1.4.0, checked source and no reason to believe it's any different in git master

Method of installation

N/A

@mgsloan
Copy link
Contributor

@mgsloan mgsloan commented Mar 31, 2017

Not sure why you'd want to turn this off, but sure, being able to disable it makes sense.

@mgsloan mgsloan added this to the P3: Optional milestone Mar 31, 2017
@Fuuzetsu
Copy link
Contributor Author

@Fuuzetsu Fuuzetsu commented Apr 1, 2017

In my particular case it's to workaround a Haddock bug. In general though we may want to host documentation and show it around without exposing source (for whatever reason).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.