Desktop app for people who keep documentation in MkDocs (docs as code). Everything usually done by hand in mkdocs.yml, an editor and git is gathered in one window.
- Site menu (
nav). Tree of sections and pages, adding pages with checkboxes, new sections (including empty nested ones), renaming, reordering, deleting together with files.mkdocs.ymlis edited line by line, so comments and formatting stay. docs/files. Tree of all files, new files and folders, moving by drag and drop with automatic fixes of menu paths and relative links.- Markdown editor. Formatting toolbar, preview with the same engine and extensions as mkdocs (you see broken markup before the commit), Mermaid diagrams, images from a file or the clipboard (saved next to the page), synced scrolling, zoom.
- Templates. Own page and block blanks with the task number, title and date filled in. Shared with colleagues as one file.
mkdocs.ymlcheck. Shows the error with a line number, fixes simple errors with a button, does not save an edit that would break the file.- Local site.
mkdocs servewith one button. Installs mkdocs and plugins from the project'srequirements.txtinto its own environment, can install Node.js and likec4 for C4 diagrams. - Git. Changes, revert by file, branches (pick, create, switch with stashing), commit of selected files, push, Merge Request link, pulling updates, merging another unmerged branch into yours with menu items combined on conflict. Each page shows which branch it came from.
- Undo. Almost any action can be rolled back with "Undo".
- Light and dark theme.
nav_tool.pystarts a local HTTP server on127.0.0.1and opens the UI (ui.html) in an Edge or Chrome app-mode window with its own profile.- Data goes only to your git server and to the update source. Mermaid for the preview is loaded from jsDelivr.
- mkdocs and its plugins run in a separate virtual environment
.mkdocs-envnext to the program, so the system Python stays clean. - Updates come from this repository: when a new version is out, an "Update" button shows the change list, pulls the new version and restarts the app. Settings, templates and backups stay in the program folder and are not tracked by git.
- Python 3.10+, standard library
http.serverfor the backend. - PyYAML and Python-Markdown for
mkdocs.ymland the preview. - HTML/JS single-page UI, Mermaid for diagrams.
- Git CLI for all repository actions.
- Windows 10 or 11.
- Python 3.10 or newer (check "Add python.exe to PATH" during installation).
- Git.
- Microsoft Edge or Google Chrome (Edge is always present on Windows).
- Node.js only for likec4 C4 diagrams on the local site; the app can install it itself.
Python packages are installed by the app.
git clone https://github.com/Trashfallen/Nav_tool.git NavTool
Run NavTool\run.bat once. The app creates a "Nav Tool" shortcut on the desktop; use it from then on.
The repository has no templates: every team has its own. Templates are shared as navtool-templates.json: "Templates" -> "Load templates from file" in the editor, "Save templates to file" to export your own. Template text can use {{LES}}, {{TITLE}}, {{NAME}}, {{DATE}}.
Step-by-step guide to every button (in Russian): ИНСТРУКЦИЯ.md.