House rules for building and maintaining SupportMail Docs. Numbered so reviews and commit messages can cite a rule as §N. Sections are contiguous from §1.
This repository is the source of the public SupportMail documentation site at docs.supportmail.dev: Markdown and MDX pages, the Starlight configuration, and the Astro components that illustrate bot behavior (the src/components/discord/ components draw bot replies as Discord messages). It does not hold the bot, the dashboard, or the API; those live in their own repositories.
| Path | What belongs there |
|---|---|
src/content/docs/ |
The pages, grouped in topic folders (configuration/, managing-support/, getting-support/, guides/, troubleshooting/, changelogs/). |
src/components/ |
Astro components used inside pages and Starlight overrides. |
src/config/ |
Starlight configuration: sidebar, head, plugins, footer, legacy link map. |
src/pages/f/ |
The redirect route for legacy /f/... links. |
src/assets/, public/ |
Images and static files. |
src/styles/, src/scripts/ |
Styling and client scripts. |
scripts/ |
Build and content checks (check-content.mjs, prune-drafts.mjs). |
Dense, specific, honest. Tables for matrices, prose for reasoning. No marketing language: no superlatives ("seamless", "world-class", "cutting-edge") and no "simply" (if it were simple, the sentence would not need the word). No unexplained acronyms on first use. American spelling.
Commits follow Conventional Commits
(feat: / fix: / docs: / refactor: / test: / chore:).