Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

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.

mkdocs.yml +66

@@ -0,0 +1,66 @@
1 # The documentation site. MkDocs renders docs/ into dist/site, which
2 # `vole pages deploy dist/site` publishes as a snapshot.
3 #
4 # The theme is the local docs-theme/ directory: the same Everforest dark/medium
5 # palette and typography as the forge itself, with no third-party theme or CDN
6 # in the build.
7 site_name: Vole
8 site_description: A forge that lives in your Git repo.
9 docs_dir: docs
10 site_dir: dist/site
11 use_directory_urls: true
12
13 theme:
14 name: null
15 custom_dir: docs-theme
16 locale: en
17 # MkDocs only renders a template as a static page when it is listed here. The
18 # site is served by Vole pages, which uses the 404 page for a missing path.
19 static_templates:
20 - 404.html
21
22 markdown_extensions:
23 - toc:
24 # The docs already link to heading fragments, so every heading needs a
25 # stable id. "#" is the visible permalink rather than a pilcrow.
26 permalink: "#"
27 toc_depth: 2-3
28 - tables
29 - fenced_code
30 - codehilite:
31 guess_lang: false
32 - attr_list
33 - def_list
34
35 plugins:
36 - search
37
38 nav:
39 - Introduction: index.md
40 - Start here:
41 - Install: install.md
42 - Quickstart: quickstart.md
43 - Using Vole:
44 - Issues: issues.md
45 - Change requests: change-requests.md
46 - Workflows: workflows.md
47 - Releases: releases.md
48 - Sites: sites.md
49 - LFS and file locking: lfs.md
50 - Go modules: go-modules.md
51 - Running an instance:
52 - Deploying: deploy/index.md
53 - CI runners: deploy/runner.md
54 - Configuration: configuration.md
55 - Accounts and access: accounts-and-access.md
56 - Runners: runner.md
57 - Operations: operations.md
58 - Packages and upgrades: packaging.md
59 - Load testing: load-testing.md
60 - Reference:
61 - CLI: cli.md
62 - Workflow reference: reference/workflow-reference.md
63 - Image reference: reference/image-reference.md
64 - Terminology and conventions: conventions.md
65 - Design:
66 - Architecture: architecture.md