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.

Keep procedure code blocks at the left margin

6d574becea8dcf72139479270da7c417ec5330de · Keenan Nemetz · 20d ago · parent a0172426

Keep procedure code blocks at the left margin

The site builds with Python-Markdown's fenced_code extension, which only
recognizes a fence that starts at column 0. Four pages nested a fenced block
under an ordered list item instead, so the fence was parsed as inline code and
the page showed the language token and the commands joined into one pill:
`sh vole workflow check vole workflow list`.

Number each affected procedure's steps with headings, the idiom quickstart.md
already uses, and keep the fence at the left margin. The prose that followed a
block stays with its step. DEVELOPMENT.md now records the constraint, because
the Markdown is valid CommonMark and renders correctly through the forge's
goldmark, which is why nothing caught it before.

Refs: 01M7BHJX0D3HBF01Y04YZM8GYB

docs/packaging.md +21−12

@@ -61,18 +61,27 @@ unit and security model.
61 61 Database migrations run in place and cannot be rolled back by installing an
62 62 older binary. Back up and test recovery before upgrading:
63 63
64 1. Follow [Back up an instance](operations.md#back-up-an-instance), including
65 `users.db`, `runs.db`, secrets, repositories, objects, logs, and host keys.
66 2. Install the new package with `dpkg -i`, `apt install ./<package>`, or
67 `dnf install ./<package>`.
68 3. Restart the service if the package manager did not do so:
69
70 ```sh
71 sudo systemctl restart vole
72 ```
73
74 4. Check `vole version`, the service log, account sign-in, an SSH clone, and CI
75 runner connectivity.
64 ### 1. Back up the instance
65
66 Follow [Back up an instance](operations.md#back-up-an-instance), including
67 `users.db`, `runs.db`, secrets, repositories, objects, logs, and host keys.
68
69 ### 2. Install the new package
70
71 Install with `dpkg -i`, `apt install ./<package>`, or `dnf install ./<package>`.
72
73 ### 3. Restart the service
74
75 Restart it if the package manager did not:
76
77 ```sh
78 sudo systemctl restart vole
79 ```
80
81 ### 4. Verify the upgrade
82
83 Check `vole version`, the service log, account sign-in, an SSH clone, and CI
84 runner connectivity.
76 85
77 86 Upgrade the instance before its runners. See
78 87 [Set up a runner § Upgrade](deploy/runner.md#upgrade).