Repository navigation
Add a user guide, built as a versioned GitHub Pages site - #76
Merged
Merged
Conversation
JAM had no user documentation beyond the README's overview. A Markdown user guide in docs/user-guide now explains the concepts (facilities, segments and destinations, credited controls, approval, expiration and roles), how authorizers change an authorization, how verification teams verify and downgrade controls, the expirations and the emails and log entries they cause, the Inventory tab, and administration. It is written from the code, so it describes what the app does today. As in dtm, Zensical builds the same Markdown into a website (zensical.toml, with uv pinning its tools), and the guide still reads on GitHub. `uv run --locked zensical build --strict` builds it, failing on a link to a missing page or heading. user-guide-index.py writes the Pages front page listing each release's guide, for the release job that publishes it to the gh-pages branch in v1.2.3/ and latest/; that job and the CI build job are workflow changes, added separately. The README links the guide and says how to build it, and the demo database's Help tab links it too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
general-workflows v2.1.0 has the reusable user-guide-build and user-guide-publish workflows, and the publish workflow carries the script that writes the Pages front page, so user-guide-index.py goes. The README says CI and releases build and publish the guide with those workflows; the calls to them are a workflow change, added separately. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ci.yaml's new user-guide job builds the user guide's website with user-guide-build.yaml on every pull request, failing on a link to a missing page or heading, and cd.yaml's new user_guide_publish job publishes each release's guide to GitHub Pages with user-guide-publish.yaml (general-workflows v2.1.0 and later). It is a commit of its own because the agents' GitHub App may not push workflow files, so a maintainer pushes it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
slominskir
approved these changes
Nov 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a user guide for JAM, set up like dtm's: Markdown in
docs/user-guidethat reads on GitHub, built into a Zensical website and published to GitHub Pages for each release.The guide
It is written from the code (controllers, facades, JSPs, schema); I didn't check it against a running app.
The website
zensical.toml,pyproject.tomlanduv.lock: the same Zensical version and theme as dtm.@v2), as dtm does now:ci.yaml'suser-guidejob builds the site with--strict, which fails on a link to a missing page or heading (checked locally by breaking an anchor).cd.yaml'suser_guide_publishjob publishes each release to thegh-pagesbranch invX.Y.Z/andlatest/, with a front page listing the releases.Before it goes live
gh-pagesbranch, root folder. Until then the README's guide link is a 404.HELP_DOC_CSVsetting can point tohttps://jeffersonlab.github.io/jam/latest/to put the guide on the Help tab.Found while writing it
These are documented as the app behaves, not changed here:
EMAIL_ENABLEDandEMAIL_DOMAIN_NAME(they hard-code@jlab.org), andEMAIL_TESTING_ENABLEDdoesn't redirect watcher emails.🤖 Generated with Claude Code