Documentation Charter
Public Summary
This charter defines how Student Obrok documentation is written so it stays consistent, useful, and maintainable.
Internal Details
Documentation Principles
- Prefer source-backed claims. Every technical statement should be traceable to implementation.
- Keep architecture current. Any change to flow, module boundaries, or deployment shape must include doc updates.
- Separate summary from depth. Pages start with a short public summary and then move into internal details.
- Explain trade-offs, not only design intent.
Page Template
Each technical page should include these sections in order:
- Public Summary
- Internal Details
- Source Anchors
- Risks and Trade-offs
- Next Extension Points (optional)
Diagram Standard
- Use Mermaid in v1 for architecture, lifecycle, and flow diagrams.
- Prefer simple node names over abbreviations.
- Keep one primary diagram per page to avoid visual noise.
Code Reference Standard
- Reference implementation files by path.
- Favor stable entry files (for example app/container/entrypoint) over volatile internals unless needed.
- When documenting behavior, include at least one concrete route, hook, or service function path.
Documentation Ownership
- Backend pages: backend maintainers.
- Frontend pages: frontend maintainers.
- Deployment pages: ops/release maintainers.
- Pattern and ADR pages: architecture owners.