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.
mkdocs.yml +5
| @@ -10,6 +10,11 @@ docs_dir: docs | |||
| 10 | 10 | site_dir: dist/site | |
| 11 | 11 | use_directory_urls: true | |
| 12 | 12 | ||
| 13 | # The repository this site documents. `repo_url` is a stock MkDocs setting; the | ||
| 14 | # theme's top bar reads it, so the source link is changed in one place. | ||
| 15 | repo_url: https://rodent.software/vole | ||
| 16 | repo_name: rodent.software/vole | ||
| 17 | |||
| 13 | 18 | theme: | |
| 14 | 19 | name: null | |
| 15 | 20 | custom_dir: docs-theme | |