| id | linking-rules | |||
|---|---|---|---|---|
| type | reference | |||
| status | stable | |||
| tags |
|
Rules that keep docs cross-reference friendly and portable.
- Use relative links within the repo (portable across GitHub, GitLab, local).
- Stable IDs: Every doc has an
idin frontmatter; use for future doc-site URLs/sidebars. - Every doc ends with:
- See also — other docs (required; can be empty list).
- Related ADRs — when the doc reflects or depends on a decision (optional).
- Related runbooks — when the doc ties to an ops procedure (optional).
- File names:
kebab-case.md. - First H1 in the doc = document title (matches purpose).
- Sections: One idea per section; headings as noun phrases (e.g. "Token rotation", "Failure modes").
- Goal
- Preconditions
- Steps
- Verify
- Rollback
- Troubleshooting
Keep reference pages dense and factual (no narratives). Commands in fenced blocks; show expected output only for key lines.
Maintain ../glossary.md and link key terms from other docs so vocabulary stays consistent.