Context
https://github.com/rocky-linux/docs.rockylinux.org/ (mkdocs config)
https://github.com/rocky-linux/documentation/ (content)
Multiple languages supported and translated
Bug description
When using mkdocs-material-insiders with mkdocs-static-i18n plugin, there is nondeterministic behavior when navigating to a path which starts with an ISO 3166 country code.
For example, given a path /desktop/ which has other folders/files underneath it--navigating to this link by clicking on the link in the Nav bar from the index sends the user to /de/ (the index for our German translation), instead of to the /desktop/ page in english. Navigating to the /desktop/ page directly, or from any other page, is seemingly unaffected. Reverting to mkdocs-material (not insiders) causes this behavior to not reproduce.
Related links
n/a
Reproduction
9.5.18+insiders.4.53.6-nondeterministic-navigation-with-i18n.zip
Steps to reproduce
- From the index page of the reproducer, navigate to the index page for the 'Desktop' category
- URL will change to /de/ instead of /desktop/ - future navigation is now in German
Browser
No response
Before submitting
Context
https://github.com/rocky-linux/docs.rockylinux.org/ (mkdocs config)
https://github.com/rocky-linux/documentation/ (content)
Multiple languages supported and translated
Bug description
When using mkdocs-material-insiders with mkdocs-static-i18n plugin, there is nondeterministic behavior when navigating to a path which starts with an ISO 3166 country code.
For example, given a path /desktop/ which has other folders/files underneath it--navigating to this link by clicking on the link in the Nav bar from the index sends the user to /de/ (the index for our German translation), instead of to the /desktop/ page in english. Navigating to the /desktop/ page directly, or from any other page, is seemingly unaffected. Reverting to mkdocs-material (not insiders) causes this behavior to not reproduce.
Related links
n/a
Reproduction
9.5.18+insiders.4.53.6-nondeterministic-navigation-with-i18n.zip
Steps to reproduce
Browser
No response
Before submitting