Versioned documentation for go-avkit, built with
Hugo and this fleet's
Hextra fork. Published to the
gh-pages branch and served at https://go-avkit.github.io/docs/.
⛔ What this replaced was MkDocs Material plus mike, which needed a Python
toolchain, a requirements.txt and a pip install in CI to render a static
site for a pure-Go organisation.
git submodule update --init --recursive # themes/hextra, pinned at v0.24.1
hugo server # http://localhost:1313The navbar mark is go-avkit/brand's svg/color/go-avkit.svg, copied verbatim
to static/images/brand/svg/; the navbar carries the version selector, the
theme toggle, search and a link to the organisation.
Each documented version is its own build under /docs/<version>/, and
/docs/latest/ follows the newest — which is what mike did before. The version
comes from params.docs.version in hugo.yaml: set it to the release the pages
describe (v0.16.0 → /docs/0.16/), or leave it at main while no release is
tagged. The docs workflow reads it, builds with that --baseURL, and replaces
only that version's path.
⛔ The build runs with --panicOnWarning, so a link to a page that is not there
fails the lane instead of 404ing for a reader.