Documentation guidelines
This page describes how documentation in this repository is structured and maintained.
The goal is to keep documentation consistent, easy to navigate, and easy to evolve over time.
These guidelines are shared agreements, not strict rules.
Core principles
Section titled “Core principles”- Documentation should be easy to find
- Every section should have a clear entry point
- Consistency matters more than personal preference
- Structure is more important than completeness
Overall structure
Section titled “Overall structure”Documentation is organized into sections, where each section represents a clear topic area.
Each section lives in its own folder and appears as a top-level item in the sidebar.
Example:
system-overview
development-guide
security-identity
operations
Folder conventions
Section titled “Folder conventions”- Folder names use kebab-case
- Folder names are technical and stable
- Human-readable names are defined in the sidebar
Example:
way-of-working (folder name)
Way of Working (sidebar label)
Index pages
Section titled “Index pages”Every folder must contain an index.mdx file.
The index page acts as the entry point for that section and should answer:
- What is this section about?
- Who is it for?
- When should it be used?
Rules for index.mdx files:
- An index.mdx file always exists
- The title is always: Overview
- The content should be short and guiding, not exhaustive
Sidebar ordering
Section titled “Sidebar ordering”To ensure consistent navigation:
- All index.mdx files must include a sidebar order
- Other pages may optionally define their own order
- Pages without an explicit order are sorted alphabetically
This ensures that Overview always appears first in a section.
Page naming
Section titled “Page naming”- Titles should describe the content, not repeat the section name
- Avoid generic titles like Notes or Misc
Good examples:
- Support & Requests
- Definition of Done
- Source Control
When to create a new section
Section titled “When to create a new section”Create a new section when:
- The topic has multiple related pages
- The topic has a clear and distinct purpose
- The content would otherwise overload an existing section
Avoid creating new sections for small or temporary topics.
Updating documentation
Section titled “Updating documentation”- Prefer improving existing pages over creating new ones
- Move content instead of duplicating it
- Remove outdated information when possible
If you are unsure where something belongs, place it in Reference first and adjust later.