Document Conventions
Single Source of Truth for report structure and formatting. See DEVELOPMENT.md for project-level conventions.
Directory Structure
docs/
├── features/{repository}/ # Cumulative feature docs
│ ├── {repository}-{feature}.md
│ └── index.md
└── releases/v{version}/ # Version-specific docs
├── features/{repository}/
│ └── {item-name}.md
├── index.md
└── summary.md
File Naming
| Type | Pattern | Example |
|---|---|---|
| Feature doc | {repository}/{repository}-{feature}.md |
k-nn/k-nn-explain-api.md |
| Release doc | releases/v{ver}/features/{repository}/{item}.md |
releases/v3.0.0/features/k-nn/explain-api.md |
Rules: lowercase, hyphen-separated, include repo prefix, avoid temporal suffixes (-bugfixes.md).
Directory Naming
- Use OpenSearch repository names as-is
- Remove
-pluginsuffix for dashboards plugins:alerting-dashboards-plugin/→alerting-dashboards/
Tag System
One tag per document: the repository name from file path.
---
tags:
- {repository}
---
No domain/, component/, or topic/ prefixes.
Link Rules
- No internal
.mdlinks — use plain text references instead - External links encouraged — GitHub PRs, Issues, official docs
Report Templates
See references/templates.md for Feature Report, Release Report, and Release Summary templates.
Mermaid Diagrams
- Default:
TB(top-to-bottom) LRonly for simple flows (≤3 nodes)- Always
TBwith subgraphs
| Use Case | Syntax |
|---|---|
| Architecture | graph TB |
| Data Flow | flowchart TB |
| Sequence | sequenceDiagram |
| State | stateDiagram-v2 |
Writing Guidelines
- Start with "Summary": brief overview for all readers
- Follow with "Details": technical content for engineers
- Include "Limitations" when applicable
- Include code/config examples where helpful
- Note version compatibility and migration considerations
- Clearly mark speculation or unverified information
Feature Report Update Rules
When updating existing reports:
- Preserve existing structure
- Integrate new info into appropriate sections
- Update diagrams as needed
- Sort Change History by version descending (newer at top)
- Do NOT overwrite newer specs with older version behavior
References
- Release dates: https://opensearch.org/releases/
Converted and distributed by TomeVault — claim your Tome and manage your conversions.