Visual editor for MkDocs navigation and docs structure
Drop
MkDocs_Nav_Manager/into the root of your MkDocs project (next tomkdocs.yml) to editnavusing a Confluence-like page tree and keepdocs/(ordoc/) synced on disk.
- Confluence-like tree that maps directly to
mkdocs.ymlnav. - Creates, moves, and deletes pages/sections while keeping the filesystem in sync.
- Keeps
docs/(ordoc/) aligned with the tree structure.
- Dockable layout with resizable split panels.
- Source explorer linked to the Doc Tree (including optional ASCII view).
- Inline rename for pages, sections, and filenames (no dialogs).
- Precision drag & drop with clear before/after/inside indicators.
- Optional rainbow level colors for quick hierarchy scanning.
- Safe deletes: prevents removing non-empty sections; page delete also removes its
.mdand sibling asset folder. - Undo/Redo that tracks filesystem changes (last 5 steps stored in browser).
- Conflict safety: blocks sync if a target path already exists.
- Start/stop
mkdocs serve --livereloadfrom the toolbar. - Live status + log monitor inside the Info panel.
- One-click open of the rendered site in the browser.
- Built-in “Simple Edit” markdown editor for the selected page.
- Line numbers, lightweight markdown highlighting, and +/~/- change counters.
- Save/Abort controls and
Ctrl/Cmd+Squick save.
- Day/Night theme toggle and optional Debug panel.
pip install -r MkDocs_Nav_Manager/requirements.txt
python MkDocs_Nav_Manager/app.py
Open: http://127.0.0.1:5000
mkdocs.yml: project rootmkdocs.yml(override withMKDOCS_PATH)docs_root: usesdocs_dirwhen set, otherwise auto-detectsdocs/ordoc/(override withDOCS_ROOT)- State file:
MkDocs_Nav_Manager/.page_tree_state.json(override withSTATE_PATH) - Backups: creates
MkDocs_Nav_Manager/backups/mkdocs/(keeps latest 5), disable withMKDOCS_BACKUP=0
- Port 5000 in use:
lsof -nP -iTCP:5000 -sTCP:LISTENor start on another port.


