Fixes to haddock documentation generation
This introduces a new flag to Hadrian, --haddock-base-url
. There are basically three values you want to set this to:
- off - default, base_url = .. which works for local browsing
- on - no argument , base_url = https:://hackage.haskell.org/package - for hackage docs upload
- on - argument, for example, base_url = https://localhost:8080/package for testing the documentation.
This is one step towards fixing #21749 (closed)
Edited by Ben Gamari