This page gives the conventions of the contributor documentation in docs/, and the checks that CI runs on it. The
documentation is read on GitHub. It is not published on the Wanaku website.
| Folder | Content |
|---|---|
get-started/ |
The overview and the first run |
integration-tests/ |
How to run, debug and write the Java integration tests |
test-plans/ |
How to run and write the Saci test plans |
fixtures/ |
The fixtures and mocks |
load-tests/ |
The k6 load tests |
reference/ |
Look-up tables: system properties, workflows |
contributing/ |
This page |
Each folder has an index.md hub. The hub lists every page of the folder, with one line about each page. The home
page (docs/index.md) links every hub.
Keep the documentation of a directory in docs/, not in a README in that directory. When you move a README into
docs/, leave a short pointer file at the old path, so that links and GitHub browsing still work. Do not move the
test plans in plans/: Saci runs them as files.
run-a-test-plan.md), and a noun for a reference page (system-properties.md)..md extension. Links to plans, fixtures and source files can also be relative,
because GitHub shows them.> [!NOTE], > [!WARNING]) for callouts.When you write a sentence about the behavior of the tests or of a workflow, check it against the code or the workflow file. Do not copy a fact into a second page. Link the page that owns it.
Run these checks before you push. The Docs workflow runs them on each pull request.
python3 .github/check-docs.py
npx -y markdownlint-cli2
lychee --no-progress --include-fragments --exclude-path specs --exclude-path .specify --exclude-path .bob '**/*.md'
check-docs.py checks the conventions of this page that a script can check. markdownlint uses
.markdownlint-cli2.yaml, which does not lint plans/. lychee checks the links and anchors of all Markdown files,
and skips the URLs in .lycheeignore.