N8-CIR-Bede / documentation

Documentation for the N8CIR Bede Tier 2 HPC faciltiy
https://bede-documentation.readthedocs.io/en/latest/
7 stars 11 forks source link

Anchors hidden by fixed navbar #80

Closed ptheywood closed 2 years ago

ptheywood commented 2 years ago

The sphinx theme's fixed navigation bar hides content when linking to an anchor within a page.

I.e. https://bede-documentation.readthedocs.io/en/latest/usage/index.html#requesting-resources does not always result in Requesting Resources being visible.

It does seem a little tempremental however, with the first visit to a specific anchor working in some cases, but being obscurred on a second vist.

e.g. on first visit to the page, with the link above it is visible:

image

but once on the page, clicking the same link in the side bar results in the heading not being visible:

image

I believe this is due to the javascirpt in bootstrap-sphinx.js but not 100%.