Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Links with absolute paths in --haddock #4971
General summary/comments (optional)
Prior to stack-2,
Since stack-2, I get absolute filesystem paths in all the links:
This still works locally, but won't work when served.
I've looked through the documentation for Stack and Haddock (specifically
My general question is, does anyone know how to get relative links back? For now, I'm resorting to
Steps to reproduce
Links from the main S3 website should work (because they are relative).
Links do not work because they include
Method of installation
https://aur.archlinux.org/packages/stack-static/, which packages the official binary for Arch.