Split the README into focused docs under docs/
Security / Vulnerability check (push) Successful in 39s
Test / Lint and test (push) Successful in 1m57s

The README had grown to 658 lines. It is now a short overview: what
Überbringer is, a quick start, a table of the docs and the licence.
Each topic it held has a document of its own:

- docs/install.md: install.sh, what it leaves behind, and upgrading.
- docs/docker.md: the image behind a reverse proxy, the env file,
  health checks, and the ntfy state volume and token file.
- docs/configuration.md: loading, environment variables, a table of
  every key in every section, and what is logged. The list of log
  messages becomes a summary of what is logged and reported.
- docs/security.md: the API secret, issuing tokens and their scopes,
  the header-file recipe that keeps tokens off command lines (moved
  from docs/api.md), the reverse proxy, image URLs, and what is never
  logged.
- docs/ntfy.md: the ntfy subscriptions, securing the topics and the
  printer's token, with the token scripts unchanged.
- docs/cli.md: the command line.
- docs/development.md: running from source, the Go version, make
  targets, the gate, generated files, the layout, CI and releases.

CLAUDE.md names the new docs: a config key is now documented in
docs/configuration.md, and the layout and Go version in
docs/development.md. docs/api.md, design.md and the job-store plan
point to the docs that now hold what they referred to in the README.
The release archives also carry the docs on running the daemon.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
57_WolveandClaude Opus 5.5 committed 2026-11-30 22:33:08 -06:00
1 parent 80a65f6083
commit 3d451eb0b7
14 files changed
+934 -678

No files matched your search

+11 -6
View File
@@ -15,8 +15,13 @@ root `Dockerfile`.
`scripts/`, and the generated `docs/swagger.json` takes the place of
`api/`.
- `docs/api.md` is the reference for the API: routes, elements, blocks and
error codes. `README.md` covers installing,
configuration, the command line and the package layout.
error codes. `README.md` is a short overview that links to the other docs
under `docs/`: `install.md` (install.sh), `docker.md`, `configuration.md`
(every config key and the logs), `security.md` (the secret, tokens and
their scopes), `ntfy.md` (the ntfy subscriptions), `cli.md` (the command
line) and `development.md` (the Go version, the gate, the package layout,
CI and releases). The release archives carry all of them but
`development.md`; `.goreleaser.yaml` lists each file.
- `docs/swagger.json`, the OpenAPI 3.1 document, is generated
(`go generate ./...`, which runs `tools/genopenapi`) from the route table in
`internal/app/uberbringer/server/routes.go` and the Go types it names: their
@@ -40,7 +45,7 @@ root `Dockerfile`.
`cmd/uberbringer` is a thin main. `internal/app/uberbringer` holds the CLI and
the wiring, and `server/` holds the HTTP API. `internal/pkg/*` holds the
libraries. README § Development lists them. `tools/genopenapi` writes
libraries. `docs/development.md` lists them. `tools/genopenapi` writes
`docs/swagger.json`; the `docs` package embeds it, and `internal/app` hands
it to the server in its config, so the generator never builds the package
that embeds its own output. `tools/genlicenses` writes
@@ -84,14 +89,14 @@ pinned as tools in `go.mod`, so never install them separately.
place of the snapshot, on every branch push. It builds no binaries: only
`release.yml` does, for `v*` tags on main. `security.yml` runs govulncheck
weekly and on pushes to main. A change is done when the gate passes and the
docs (`README.md` or `docs/api.md`) and CHANGELOG.md say what changed.
docs under `docs/` (or `README.md`) and CHANGELOG.md say what changed.
## Go version
- The `go` line in `go.mod` (1.27.4) names the latest Go release, and there
is no `toolchain` line. That release is the minimum and the build Go: CI
tests, scans and releases with it, and a local Go that is older switches to
it. README § Development says the same.
it. `docs/development.md` says the same.
- Bump the go line to each new Go release, patch releases included, since
govulncheck flags standard-library fixes. Bump the tool modules
(golang.org/x/tools, golang.org/x/vuln, honnef.co/go/tools) in the same
@@ -123,7 +128,7 @@ docs (`README.md` or `docs/api.md`) and CHANGELOG.md say what changed.
never echo its secret.
- These changes land in one commit with their docs:
- A config key: `internal/pkg/config` (the default and the validation),
`configs/config.example.toml` and README § Configuration.
`configs/config.example.toml` and `docs/configuration.md`.
- A route, element field, status or error code: its code, its tests,
`docs/api.md` and the regenerated `docs/swagger.json`. A route is an
entry in the table in `server/routes.go`, never a direct