Skip to content

docs(site): add the user documentation site - #79

Merged
bketelsen merged 1 commit into
mainfrom
irulan/docs-site
Nov 14, 2026
Merged

bketelsen merged 1 commit into
mainfrom
irulan/docs-site

Conversation

@frostyard-machines

Copy link
Copy Markdown
Contributor

Summary

Adds lodge's user documentation site in site/, in the shape of core's frostyard-docs-site skill (core ADR-0070, baseline row B9 of core's docs/specs/repository-baseline.md). lodge is a service that people install, so B9 applies.

The pages are light and link out for detail:

  • Home: what lodge is.
  • Install: the system extension (links to frostyard.org's lodge sysext page), the tarball on another systemd host (links to packaging/README.md), the first start, the allow-lists, update and roll back.
  • Configure lodge: config.json (agents, providers, aliases), the allow-lists, MCP tokens, provider credentials (links to the specs).
  • The apps it hosts: Notes, Mail, Read and Porter, with links to their frostyard.org pages and repositories; how an app arrives; building a new app.
  • lodgectl: 1 line for each command in cmd/lodgectl/.
  • Build from source.

The scaffold's requirements.txt (hash-locked) and frostyard.css are copied unchanged. site.yml is the skill's template; only its header comment changes. The README's documentation line points at https://frostyard.github.io/lodge/. docs/org-adrs.md, docs/README.md and AGENTS.md (map entry, and a rule: a user-visible change updates its page) name the site.

GitHub Pages must use the source "GitHub Actions" before the first deploy from main works (Settings > Pages). Until then the deploy job fails after the merge; the pull-request build does not need it.

Fixes #65

Risk tier

Risk tier: 3 — the PR touches 2 paths in .github/risk-paths.json:

  • .github/workflows/site.yml (glob .github/workflows/**, L2, governance). A new workflow from core's template: every action is SHA-pinned with a version comment, top-level permissions: {}, the build job has contents: read only and checks out with persist-credentials: false. Only the deploy job gets pages: write and id-token: write, and it runs only on a push to main (never on a pull request). It runs on changes to site/**, Makefile and itself only.
  • Makefile (L2, governance). Adds the targets site and site-serve and the venv rule from core's site.mk. No existing target changes, and no gate (verify, check, ci) builds the site. The venv installs with pip --require-hashes.

Docs housekeeping

  • Conformance aliases and canonical symlinks are unchanged; canonical targets are edited instead

site/content/ is user documentation, not one of the docs/ categories, so no template or index line applies. Its relative links pass internal/repocheck.

Verification

  • make check green (host): make verify exit 0, 0 issues. ×3, internal/repocheck and internal/workflowcheck ok.
  • make site green from a clean venv: properdocs build --strict, no warnings, "Documentation built in 0.54 seconds".
  • grep -rn PROJECT site .github/workflows/site.yml prints nothing.
  • Workflows changed: every action is SHA-pinned with # vX.Y.Z, permissions: {}, and persist-credentials: false
  • Revert test: exempt (docs and build configuration; no new behavior in code).
  • Not run: core's check-readme.mjs (it needs node, which runs only in the nsl machine). The README changes only the documentation line's link, which rule R5 requires to hold a link.

Add site/, built with ProperDocs and MaterialX from core's
frostyard-docs-site skill (core ADR-0070, baseline row B9): what lodge
is, install, configure, the apps it hosts, a lodgectl reference and
build from source. The pages link to frostyard.org and to the specs for
detail instead of copying them.

make site builds it in strict mode and make site-serve previews it.
.github/workflows/site.yml builds it on a pull request and deploys it
to GitHub Pages from main. The README's documentation line now points
at https://frostyard.github.io/lodge/.

Fixes #65
@github-actions github-actions Bot added level:L2 Read the diff risk:high Touches a path in .github/risk-paths.json labels Nov 14, 2026
@frostyard-machines

Copy link
Copy Markdown
Contributor Author

Cross-review: Ready, Blocking: none.

  • Reviewer: openai/gpt-6.1-sol. Coder: anthropic/claude-opus-5-5.
  • Base 1e56c5c65ab21d39d078807caf50806ced6687be, head d2e19c8d32c033324755e9cfda6ae30526414d7e; core reference 3d3d5c703fc24db3734408765171938a97840f4c.
  • Scope: all 18 changed paths, the 2 L2 paths first. site/requirements.txt and frostyard.css were left out of the line review; a byte comparison shows that they equal core's scaffold.
  • Findings: none. The workflow equals core's templates/site.yml except for its header comment. The Makefile recipes equal site.mk, with help comments added. The facts on the 6 pages match the specs, packaging/ and cmd/lodgectl/.
  • Revert test: exempt (docs and build configuration, no new behavior).

@frostyard-machines frostyard-machines added the ready-for-human Reviewed, CI green: ready for Brian to review and merge label Nov 14, 2026
@bketelsen
bketelsen merged commit 41b5730 into main Nov 14, 2026
12 checks passed
@bketelsen
bketelsen deleted the irulan/docs-site branch November 14, 2026 03:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

level:L2 Read the diff ready-for-human Reviewed, CI green: ready for Brian to review and merge risk:high Touches a path in .github/risk-paths.json

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sweep: lodge/baseline-B9: lodge has no user documentation site

2 participants