diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..f0b5cdc --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,3 @@ +# CLAUDE.md + +See [README.md](README.md). diff --git a/README.md b/README.md index ffc17db..32d9cb3 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,25 @@ The preview won't have a `/releases/` directory unless you also have the source repo and run its build pipeline. That's expected — the two repos are intentionally decoupled. +## Publishing + +`.forgejo/workflows/deploy-content.yml` rsyncs the working tree into +`/srv/zddc/` on the deploy host on every push to `main`. The rsync +uses `--delete-after` and excludes `/releases/`, `/.git*`, +`/.forgejo*`, `/README.md`, and `/LICENSE` — anything else added at +the repo root **will** be published. + +## Editing notes + +- `js/layout.js` queries the header for `.header-nav`, `.dropdown`, + `.dropdown-toggle`, `.dropdown-menu`, and `.theme-toggle`. Both + HTML pages need to keep those classes or the theme toggle and + Tools dropdown silently break. +- Page-specific CSS goes in an inline `