-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open
Description
Contribution guidelines
- I've read the contribution guidelines and wholeheartedly agree
I've found a bug and checked that ...
- ... the problem doesn't occur with the
mkdocsorreadthedocsthemes - ... the problem persists when all overrides are removed, i.e.
custom_dir,extra_javascriptandextra_css - ... the documentation does not mention anything about my problem
- ... there are no open or closed issues that are related to my problem
Description
When navigation.instant is set in mkdocs.yml, if a page1 links to page2#hash, then page2 is indeed loaded, but the #hash part is ignored.
Expected behaviour
We should navigate to the #hash header/anchor.
Actual behaviour
We are directed to the start of page2.
Steps to reproduce
Create a page1 that links to page2#anchor.
Package versions
- Python: 3.9.9
- MkDocs: 1.2.3
- Material: 8.0.1
Configuration
theme:
features:
- navigation.instantSystem information
- Operating system: Ubuntu 22.04
- Browser: Firefox
kgidarakos, dimrozakis and aborruso
Metadata
Metadata
Assignees
Labels
bugIssue reports a bugIssue reports a bugresolvedIssue is resolved, yet unreleased if openIssue is resolved, yet unreleased if open