Closed llucax closed 1 year ago
Thanks for the amazing report. Tests actually caught this, here's the transition: https://github.com/oprypin/mkdocs-section-index/actions/runs/5922584405 https://github.com/oprypin/mkdocs-section-index/actions/runs/5935059657 it's just that I fell behind on following tests :grimacing:
Thanks for addressing it so quickly!
I saw in a related mkdocs-material issue comment that the theme already support a similar feature. I'm considering switching to the theme feature, which I guess is less likely to get out of sync. Is there anything this plugin offers that navigation.indexes
doesn't?
Moving https://github.com/squidfunk/mkdocs-material/issues/5971 here as my next most likely cause of a regression we are experiencing.
Context
After upgrading from
mkdocs-material
9.1.x to 9.2.x we started to see an issue with the nav bar.I'm using
mkdocs-literate-nav
and this plugin to generate the nav bar. If I removemkdocs-section-index
from the plugin list inmkdocs.yml
, the problem also goes away.Bug description
With mkdocs-material 9.1.21 or older, I get this:
(Note the
API Reference
, the correct version)With mkdocs-materia 9.2.0 or newer, I get this:
(Note the
sdk
, the version with an unexpected text)Unless I remove the
mkdocs-section-index
plugin, in which case I get the expected result again.Related links
mkdocs-material
: https://github.com/squidfunk/mkdocs-material/issues/5971Steps to reproduce
Check http://127.0.0.1:8000/ and observe the "sdk" in the menu (bad).
Check http://127.0.0.1:8000/ and observe the "API Reference" in the menu (good).
Alternative re-enable the plugin and downgrade
mkdocs-material
:Check http://127.0.0.1:8000/ and observe the "API Reference" in the menu (good).