Skip to content

docs: give the README what CI actually gates - #145

Merged
kelsos merged 1 commit into
rotki:mainfrom
kelsos:docs/readme
Sep 10, 2026
Merged

kelsos merged 1 commit into
rotki:mainfrom
kelsos:docs/readme

Conversation

@kelsos

@kelsos kelsos commented Sep 10, 2026

Copy link
Copy Markdown
Member

Follow-up to #144. The README listed four commands; CI gates five, and the two sets barely overlapped.

Why

A contributor adding a page currently meets check:images ("every image must be owned by a page") for the first time as a red build, because nothing outside ci.yml mentions it. Same for check:anchors and check:app-links, which are unusual enough that the failure message alone does not tell you what the convention is.

The bigger gap is the branch model. main, develop and bugfixes publish stable, latest and patch simultaneously, and nothing in the repo said so. Picking a target branch is the first decision a contributor has to make, and until now it required reading deploy-docs.yml.

Changes

  • The checks are documented, with a table saying what each one enforces and a pointer to the script headers, which already explain why each gate exists and what broke before it did.
  • The three branch model is documented, with a table mapping branch to version to published URL, plus which branch to target and a link to contribution-guides/releasing.md.
  • Prerequisites: Node from .nvmrc, pnpm via corepack enable.
  • Says what the repository is and links the published site.
  • Build and Preview split in two. pnpm run preview only serves what build last wrote, so the old heading promised something the command does not do.
  • Code fences tagged sh; pointer to contribution-guides/ for writing conventions.

Notes

The README is excluded from the site build (srcExclude) and from all three checker scripts (SKIP_FILES), so it is purely repo-facing and the relative links target GitHub rather than the rendered site. I verified every path it links to exists.

Content only, no dependency or config changes. pnpm lint, pnpm build, check:images, check:anchors and check:app-links all pass.

The README listed four commands. CI gates five, and none of the four
overlapped with the ones that fail a pull request, so a contributor met
check:images or check:anchors for the first time as a red build.

- document lint, check:images, check:anchors and check:app-links, each with
  a line on what it enforces and a pointer to the script header that explains
  why it exists
- document the three branch model. main, develop and bugfixes publish stable,
  latest and patch simultaneously, and nothing in the repo said so or said
  which one to target
- add prerequisites: node from .nvmrc, pnpm via corepack
- say what the repository is and link the published site
- split "Build and Preview" in two. preview only serves the last build, so
  the old heading promised something the command does not do
- tag the code fences sh, and point at contribution-guides for the writing
  conventions
@kelsos
kelsos merged commit 0d3365e into rotki:main Sep 10, 2026
5 checks passed
@kelsos
kelsos deleted the docs/readme branch September 10, 2026 08:37

This branch was successfully deployed

1 active deployment
github-pages — 0d3365e6 Deployed Sep 10, 2026 by kelsos via deploy #231
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant