-
Notifications
You must be signed in to change notification settings - Fork 293
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
HTML anchors within pages not working? #13
Comments
In the html-document (that goes online) the anchor is lower case: |
It looks like MediaWiki requires the final URL follows some canonical title case rules, and likely does this internally when rendering the original text into HTML: https://www.mediawiki.org/wiki/Help:Links#Internal_links <-- works My guess is the Jekyll/kramdown stack has its own rules for the case of the automatic anchor names, which differ, and we may need to tweak the links to match? More investigation is needed. |
I have checked a few of them. Jekyll seem to make them all lower-case and hyphen instead of underscore, e.g. instead of
this is the correct link:
However, this seems to be a minor problem, there are approx. 8 internal links with anchors in 4 pages. |
OK, so we should just change the URLs to match the new anchors? (We can't fix any external anchors, but at least such links will still go to the right page) |
Yes, I'm working on it. |
Closing this on the assumption pull request #68 resolved it, thanks Markus. |
e.g. http://biopython.org/wiki/Documentation#Papers does not seem to scroll to the child section?
Edit: This link appears in http://biopython.org/wik/Publications aka https://github.com/biopython/biopython.github.io/blob/master/wiki/Publications.md from the original mediawiki text:
The text was updated successfully, but these errors were encountered: