-
Notifications
You must be signed in to change notification settings - Fork 323
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
anchor links hidden by header navbar #267
Comments
FWIW, the issue is also noticeable in the live pandas docs: |
Thanks for the report! It's strange that this anchor (from clicking on the ¶ on the page) actually works: https://pandas.pydata.org/docs/reference/api/pandas.read_table.html#pandas-read-table. But sphinx uses the link you posted in the autosummary tables |
So the difference is that the one is linking to the div around the header ( |
@hoetmaaiers for reference, the link we talked about last week which shows the same issue in the demo docs is one of the links in the table at https://pydata-sphinx-theme.readthedocs.io/en/latest/demo/api.html#autosummary-table-and-api-stub-pages. |
Another example in the pandas docs is this link: https://pandas.pydata.org/docs/dev/user_guide/io.html#io-navaluesconst |
Thanks for looking into this. I sort of lost track of it. Unfortunately, the original example I posted still fails in the same way. AFAICT, the PR should be in the current release, right? Tested with:
Let me know if you need more info. |
This issue is very similar to #258, but I observe it with the vanilla CSS.
Here is a MWE sphinx environment. Freshly out of
sphinx-quickstart
, except the theme inconf.py
, and some dummy content.test.zip
Browsing to
index.html#send_message3
hides the section header under the navbar. Tested on Chrome and Firefox. Happens regardless of browser window size.I am on Windows, Python 3.8.5 AMD64.
The text was updated successfully, but these errors were encountered: