Site: docs/wiki as d-modem.github.io/bbs, with a configuration reference

docs/wiki/Configuration-Reference.md lists every section and key of
bbs.conf with its help, default, examples and whether it is live: the
configuration editor's catalog of bbs.conf.sample, written by
go generate ./internal/confedit (confedit.Reference). A test, and the
Pages build, fail when the committed page isn't the one the sample
makes. The sidebar and Configuration link it.

mkdocs.yml builds the wiki's pages into the site with brand's shared
theme (Zensical); page.html URLs keep the wiki's links (Configuration,
SSH#keys) working, as GitHub Pages serves page.html for /page. Home is
the home page. .github/workflows/pages.yml calls brand's site workflow:
a pull request builds it, main deploys it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01B82eRSqjp9Pn2KBr9N9LAn
This commit is contained in:
Claude committed 2026-11-06 01:22:32 +00:00
1 parent 3f9de26f13
commit 1ea5fb8280
9 files changed
+765 -1

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
# The bbs site, https://d-modem.github.io/bbs/: docs/wiki with brand's shared
# theme and workflow (brand's docs/sites.md). A pull request builds it,
# main deploys it. The configuration reference is made from
# bbs.conf.sample, and the build fails if the committed page is not the one
# it makes (go generate ./internal/confedit).
name: Pages
on:
push:
branches: [main]
paths: ['docs/wiki/**', 'mkdocs.yml', 'bbs.conf.sample', 'internal/confedit/**', '.github/workflows/pages.yml']
pull_request:
paths: ['docs/wiki/**', 'mkdocs.yml', 'bbs.conf.sample', 'internal/confedit/**', '.github/workflows/pages.yml']
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages-${{ github.ref }}
cancel-in-progress: true
jobs:
site:
uses: D-Modem/brand/.github/workflows/site.yml@main
with:
go-version: "1.24"
prepare: |
go run ./internal/confedit/refdoc
git diff --exit-code docs/wiki/Configuration-Reference.md || { echo "::error::docs/wiki/Configuration-Reference.md is out of date: go generate ./internal/confedit"; exit 1; }
cp docs/wiki/Home.md docs/wiki/index.md