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.
Link the docs back to the source repository
59edfa9808dda431fb464bb23f94c9afbe7cf3e4 · Keenan Nemetz · 20d ago · parent fbc5c5b9
Link the docs back to the source repository The site had no way back to the repository it documents: index.md told a reader to use DEVELOPMENT.md and CONTRIBUTING.md "in the source repository" without saying where that is, and no page carried a link. The top bar now shows a Source link to the right of the search box, driven by mkdocs.yml's repo_url so the URL lives in one place, and index.md's sentence links the repository directly.
docs-theme/base.html +7
| @@ -42,6 +42,13 @@ | |||
| 42 | 42 | <kbd class="topsearch-key" aria-hidden="true">/</kbd> | |
| 43 | 43 | </button> | |
| 44 | 44 | </div> | |
| 45 | |||
| 46 | {% if config.repo_url %} | ||
| 47 | <a class="topbar-link" href="{{ config.repo_url }}" title="{{ config.repo_name }}" rel="noopener"> | ||
| 48 | <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="m16 18 6-6-6-6M8 6l-6 6 6 6"/></svg> | ||
| 49 | <span>Source</span> | ||
| 50 | </a> | ||
| 51 | {% endif %} | ||
| 45 | 52 | </header> | |
| 46 | 53 | ||
| 47 | 54 | <div class="layout"> | |