mirror of
https://github.com/D-Modem/login.git
synced 2026-11-28 20:38:06 -08:00
docs/reference.md lists every section and key of modemmenu.conf with its help, the sample's value and the other values the sample shows, read from the comments of modemmenu.conf.sample by go run ./tools/confref. TestSampleHasEveryKey fails when the code reads a key the sample doesn't show: max_input and an item's terminal were missing and are now in it. The docs index and Configuration link the reference. mkdocs.yml builds docs/ and the README with brand's shared theme (Zensical); .github/workflows/pages.yml calls brand's site workflow, which also fails when docs/reference.md is out of date. Claude-Session: https://claude.ai/code/session_01B82eRSqjp9Pn2KBr9N9LAn Co-authored-by: Claude <noreply@anthropic.com>
26 lines
795 B
YAML
26 lines
795 B
YAML
# modemmenu's site, https://d-modem.github.io/menu/: docs/ and the README
|
|
# with brand's shared theme and workflow (brand's docs/sites.md). A pull
|
|
# request builds it, main deploys it. It fails if docs/reference.md isn't
|
|
# what modemmenu.conf.sample makes now (go run ./tools/confref).
|
|
name: Pages
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
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 ./tools/confref
|
|
git diff --exit-code docs/reference.md || { echo "::error::docs/reference.md is out of date: go run ./tools/confref"; exit 1; }
|