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

The links to the source on the documentation pages seem to be broken #4

Closed
aplaice opened this issue Feb 17, 2017 · 2 comments
Closed

Comments

@aplaice
Copy link
Contributor

aplaice commented Feb 17, 2017

For example, go to:

https://xmonad.org/xmonad-docs/xmonad/XMonad-Core.html

and click on any of the "source" links.

Expected behaviour:
One is sent to the line of the source where the given item was defined.

Actual behaviour:
Sent to a github-pages "file not found" page.

Looking at the source, the src sub-directories are missing in xmonad and xmonad-contrib etc.

PS Thank you for maintaining the (otherwise) amazing documentation for an amazing window manager! :)

@dmwit
Copy link
Collaborator

dmwit commented Apr 23, 2017

We're hosting documentation on Hackage now. I've modified all links on xmonad.org to point to Hackage, and set up redirects for all the html pages that used to be hosted under xmonad.org/xmonad-docs to point at the top-level Hackage page for xmonad. The latter isn't ideal, but was very easy and slightly friendlier than just 404'ing them all. A patch that redirects them to their Hackage counterparts instead is very welcome. These changes should go live shortly -- I think a cron job runs daily to synch with this repo.

Along the way I deleted the gen-docs.sh script as well, since this is now an automatic part of the Hackage upload (I believe).

@dmwit dmwit closed this as completed Apr 23, 2017
@aplaice
Copy link
Contributor Author

aplaice commented Nov 19, 2017

A patch that redirects them to their Hackage counterparts instead is very welcome.

Sorry that this is so extremely late, but here's such a patch:

#8

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

No branches or pull requests

2 participants