This page gives the conventions for the pages in docs/ and the checks
that CI runs on them. Follow it when you add, change or move a page.
docs/ has one folder for each reader task. Each folder has an index.md
hub that lists every page in it, and docs/index.md is the
documentation home.
| Folder | Reader task |
|---|---|
get-started/ |
See Saci work, install it, learn its parts. |
write-plans/ |
Write, reuse and convert test plans. |
run-tests/ |
Run plans, follow them, read results, investigate failures. |
connect/ |
Connect Saci to other systems: MCP, outcome actions, watch, A2A, script runner. |
operate/ |
Run and keep Saci: models, workers, Kubernetes, data, credentials. |
reference/ |
Look up commands, settings, formats and protocols. |
contributing/ |
Build, test and change Saci. Design notes are in contributing/design/. |
Give each page one type: a tutorial, a how-to, a reference or an
explanation. Put contributor material, such as test lists or module
tables, in contributing/, not in a user page. Keep one fact in one page,
and link that page from the others.
docs/templates/, docs/openapi.yaml and docs/api-examples/ are inputs
of the code and the tests. Do not move them.
operate/helm.md, not operate/operate-helm.md.investigate-failures.md) and a noun for a reference or an explanation
(configuration.md)..md. Link fragments only to H2 and H3
headings. Use the name of the destination page as the link text, not
“here”.old-path new-path line to
docs/redirects.txt in the same change, and update
every link and every reference in the code, the examples and the skills.
If a shipped artifact (an agent skill or a runtime message) links the old
path, keep a short stub page at the old path.https://github.com/orpiske/midnight-saci/blob/main/docs/...
URLs.# A heading that says what the reader can do or learn
One to three sentences: what the reader can do after this page.
## Prerequisites
## Specific sections
## Next steps
- Two to four links.
> [!NOTE], > [!IMPORTANT],
> [!WARNING].Write technical content in ASD-STE100 Simplified Technical English. This includes procedures, command explanations, configuration, rules, endpoints and system behavior. Be concise. Do not use em-dashes.
Run these checks before you push a documentation change. CI runs them in
the docs job.
.github/check-docs.sh
npx markdownlint-cli2
lychee --config lychee.toml README.md 'docs/**/*.md'
.github/check-docs.sh is a bash script that works on Linux and macOS. It
checks that:
docs/redirects.txt names an existing page;Stub pages (old paths in docs/redirects.txt) and design notes are
checked only for links and hub listings. The rules for markdownlint are in
.markdownlint-cli2.yaml, and the lychee options are in lychee.toml.