-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Search plugin crashes on numeric page titles in nav
#4817
Comments
The specific cause here seems to be our use of filenames like '1-0.md' where this is also referenced in mkdocs.yml |
Ref: original discussion: #4816 |
Thanks for reporting! I'll look into it. |
Fixed in 4548afb. Thanks for the excellent reproduction which made fixing this error a breeze. The error was caused because of the use of a float in nav:
...
- 1.0: release-notes/1-0.md This was not handled by the search plugin before. To mitigate the issue before the next release (we just pushed out 9.0.1 and want to collect some more bug fixes before 9.0.2), put |
nav
Brilliant. Thanks for super quick fix and glad we could help improve! Mkdocs material is great! |
Released as part of 9.0.2. |
Context
We noticed our github actions which use mkdocs-material failing yesterday, co-inciding with the update of mkdocs-material to 9.0.0 (we do a pip install within our workflow)
Bug description
mkdocs build is failing with errors such as
Link above has the full error
Related links
Reproduction
example.zip
Steps to reproduce
mkdocs serve
Browser
No response
Before submitting
The text was updated successfully, but these errors were encountered: