Skip to content

Stop loading nav-toc.js to restore Material native nav interaction#596

Open
abn2357 wants to merge 1 commit into
tronprotocol:masterfrom
abn2357:fix_frontend
Open

Stop loading nav-toc.js to restore Material native nav interaction#596
abn2357 wants to merge 1 commit into
tronprotocol:masterfrom
abn2357:fix_frontend

Conversation

@abn2357
Copy link
Copy Markdown
Contributor

@abn2357 abn2357 commented May 11, 2026

Summary

  • Remove javascripts/nav-toc.js from extra_javascript in mkdocs.yml so the left navigation falls back to Material's native interaction behavior, since the TOC is no longer integrated into the nav.
  • The nav-toc.js file itself is intentionally kept in the repo to make it easy to re-enable TOC-into-nav integration in the future if needed.

Test plan

  • Build the site locally and confirm the left navigation behaves as expected (Material default interaction).
  • Verify no console errors related to the removed script.

… interaction since the TOC is no longer integrated into the nav
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant