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/toc.html +17
| @@ -0,0 +1,17 @@ | |||
| 1 | {% macro toc_item(item) %} | ||
| 2 | <li class="toc-item toc-level-{{ item.level }}"> | ||
| 3 | <a href="{{ item.url }}">{{ item.title }}</a> | ||
| 4 | {% if item.children %} | ||
| 5 | <ul class="toc-list"> | ||
| 6 | {% for child in item.children %}{{ toc_item(child) }}{% endfor %} | ||
| 7 | </ul> | ||
| 8 | {% endif %} | ||
| 9 | </li> | ||
| 10 | {% endmacro %} | ||
| 11 | |||
| 12 | {% if page and page.toc %} | ||
| 13 | <p class="toc-title">On this page</p> | ||
| 14 | <ul class="toc-list toc-root"> | ||
| 15 | {% for item in page.toc %}{{ toc_item(item) }}{% endfor %} | ||
| 16 | </ul> | ||
| 17 | {% endif %} | ||