Jupyterhub: anchor links on markdown docs pages are unreliable

Created on 7 Dec 2017  路  4Comments  路  Source: jupyterhub/jupyterhub

Some of the pages generated from markdown sources have either missing or inconsistent anchors. For instance, on the changelog, version headings do not get any ID and repeated headings (e.g. added in each release) all get the same ID. This could be a bug in recommonmark, or something else.

@willingc as resident sphinx expert, can you investigate?

bug documentation

All 4 comments

Will do.

@minrk I was able to look at this briefly. The changelog definitely has the issues you mention. If you have a specific instance on another page, that would be helpful. Will look into it over the weekend. My initial instinct is recommonmark has an issue with subheaders and anchors. I want to see if the same behavior occurs if I swap out the custom theme and see what happens if I use plain alabaster.

my initial instinct on which links have the most trouble suggests that it might have difficulty with headings that are only numerical and/or have links in them.

Shall we close this and assume it is or will be fixed by the current versions of sphinx/recommonmark?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

iptizer picture iptizer  路  3Comments

consideRatio picture consideRatio  路  3Comments

zacharied picture zacharied  路  3Comments

qingzhouzhen picture qingzhouzhen  路  4Comments

GeorgianaElena picture GeorgianaElena  路  3Comments