Skip to content

Fix haddock links when using --haddock #445

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

Closed
wants to merge 1 commit into from

Conversation

fgaz-scrive
Copy link

When using --haddock, haddocks are served directly under /haddock, so we have to strip the path when generating links.

When using --haddock, haddocks are served directly under /haddock, so we
have to strip the path when generating links.
@fgaz-scrive
Copy link
Author

Now I see that this only works if the haddocks' path is left untouched.

I'm drafting this until I have a better understanding of the hoogle database format. Maybe I actually need another option for stripping a prefix, or a generate option.

@fgaz-scrive fgaz-scrive marked this pull request as draft April 30, 2025 11:38
@fgaz-scrive
Copy link
Author

Yes, a generate option works better! #449

@fgaz-scrive fgaz-scrive deleted the haddock-path branch July 11, 2025 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant