vole
Site
Clone
Read only, no credentials:
https://rodent.software/vole.git
Write over SSH with a registered key:
git clone ssh://git@rodent.software/vole.git
Self-hosted forge that lives in your Git repo.
Rebuild the docs as a MkDocs site
1f8afe73515d58c14774878f30f33bfe318d0c3b · Keenan Nemetz · 21d ago · parent 7c02af12
Rebuild the docs as a MkDocs site Replace the mdBook configuration with MkDocs and a local theme that uses Vole's Everforest dark/medium palette. Move the contents order into nav, make docs/index.md the homepage, and carry the install, quickstart, deployment, and reference pages into the new tree. Add the docs build to verify, with pinned requirements and python3-venv in the image, so a broken nav entry or theme asset fails before a pages deploy.
docs-theme/nav.html +20
| @@ -0,0 +1,20 @@ | |||
| 1 | {% macro nav_item(item) %} | ||
| 2 | {% if item.children %} | ||
| 3 | <li class="nav-section"> | ||
| 4 | <p class="nav-section-title">{{ item.title }}</p> | ||
| 5 | <ul class="nav-list"> | ||
| 6 | {% for child in item.children %}{{ nav_item(child) }}{% endfor %} | ||
| 7 | </ul> | ||
| 8 | </li> | ||
| 9 | {% else %} | ||
| 10 | <li class="nav-item"> | ||
| 11 | <a class="nav-link{% if item.active %} active{% endif %}" href="{{ item.url|url }}"{% if item.active %} aria-current="page"{% endif %}>{{ item.title }}</a> | ||
| 12 | </li> | ||
| 13 | {% endif %} | ||
| 14 | {% endmacro %} | ||
| 15 | |||
| 16 | <nav class="nav" aria-label="Documentation"> | ||
| 17 | <ul class="nav-list nav-root"> | ||
| 18 | {% for item in nav %}{{ nav_item(item) }}{% endfor %} | ||
| 19 | </ul> | ||
| 20 | </nav> | ||