- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
instant navigation
feature conflicts with navigation.tracking
#6719
Comments
Thanks for reporting. Definitely related to our latest refactoring of instant navigation in 9.5.5. Temporary mitigation: disable
|
Released as part of 9.5.7. |
Thank you! The The I update the site_name: My Docs
theme:
name: material
features:
+ - navigation.instant
+ - navigation.instant.progress
- navigation.tracking
- toc.follow And I update the version of - dependencies = ["mkdocs>=1.5.3", "mkdocs-material>=9.5.6"]
+ dependencies = ["mkdocs>=1.5.3", "mkdocs-material>=9.5.7"] All the other files are the same as before. You can reproduce this by simply update I think it is a bug in Or, should I open a new issue or provide a new reproduction zip file? |
You're likely missing the |
https://build.opensuse.org/request/show/1144834 by user dirkmueller + anag+factory - skip build for python 3.12 - update to 9.5.8: * Added Tamil translations * Updated Esperanto translations * Fixed relative images not being resolved for instant navigation - update to 9.5.7: * Fixed #6731 <squidfunk/mkdocs-material#6731>: Small images in figures are not centered * Fixed #6719 <squidfunk/mkdocs-material#6719>: Instant navigation breaks table of contents (9.5.5 regression)
Context
I want to use the SPA feature, but it seems it break some other features.
Bug description
If I select
navigation.instant
together withnavigation.tracking
, thenavigation.tracking
won't work.(I am on latest mkdocs and mkdocs-material, using latest python on Windows 11.)
Related links
Reproduction
9.5.6-feature-conflicts.zip
Steps to reproduce
pdm install
to installmkdocs>=1.5.3
andmkdocs-material>=9.5.6
pdm dev
to startmkdocs serve
serverlocalhost:8000
and the url won't change with scrolling- navigation.instant
, then restart the server by terminate the server and restart it manuallynavigation.instant
's faultBy the way, I find that
navigation.instant
won't work in themkdocs build
results. I don't know why. But you can reproduce it using:pdm gen
to invokemkdocs build
commandsite
folder using any static server (or visiting this demo which is my run results)Browser
Edge
Before submitting
The text was updated successfully, but these errors were encountered: