Documentation Governance¶
Standards and processes for maintaining high-quality, consistent documentation across the Odoo 15 ERP system.
Document Ownership¶
Each documentation section has designated owners responsible for accuracy and currency:
| Section | Owner | Review Cycle | Scope |
|---|---|---|---|
| Getting Started | DevOps | Quarterly | Installation, configuration, quickstart |
| Modules | Development | Per Release | Module documentation and configuration |
| Field PWA | Development | Per Release | PWA features and setup |
| Landing Page | Development | Per Release | Landing page configuration |
| API Reference | Development | Per Release | API endpoints and authentication |
| Operations | DevOps | Monthly | Deployment, backup, security |
| Development | Tech Lead | Quarterly | Standards, guides, contributing |
Document Standards¶
File Organization¶
docs/content/
├── index.md # Main landing page
├── getting-started/
│ ├── index.md # Section overview (required)
│ ├── installation.md
│ ├── configuration.md
│ └── quickstart.md
├── modules/
│ ├── index.md # Section overview (required)
│ └── [module-name].md # One file per module
└── ...
File Naming¶
| Rule | Example |
|---|---|
| Lowercase with hyphens | module-name.md |
| Match navigation structure | getting-started/installation.md |
| No spaces or special characters | backup-recovery.md not backup & recovery.md |
| Descriptive names | xero-integration.md not xero.md |
Document Structure¶
Every document should follow this structure:
# Page Title
Brief introduction (1-2 sentences).
---
## Section 1
Content...
---
## Section 2
Content...
Required elements:
- Title (H1) - Clear, descriptive title
- Overview - Brief description of purpose
- Prerequisites (if applicable) - What's needed before following the guide
- Main Content - Organized with H2/H3 headers
- Examples - Code samples where relevant
- Related Links - Cross-references to related documentation
Writing Standards¶
Tone and Voice¶
- Use active voice and direct language
- Write for the reader's perspective (use "you" not "the user")
- Be concise - every sentence should add value
- Use consistent terminology (refer to Glossary)
Code Blocks¶
Always specify language for syntax highlighting:
Tables¶
Use tables for structured data with clear headers:
| Column 1 | Column 2 | Column 3 |
|---|---|---|
| Data | Data | Data |
Admonitions¶
Use MkDocs Material admonitions for callouts:
!!! tip "Pro Tip"
Helpful suggestions and best practices.
!!! warning "Warning"
Important cautions and gotchas.
!!! note "Note"
Additional context or information.
!!! info "Info"
Informational content.
Review Process¶
New Documentation¶
- Create document following standards above
- Submit PR with
docs:prefix in commit message - Reviewer checks:
- Accuracy of technical content
- Adherence to formatting standards
- Working code examples
- Valid cross-references
- Merge after approval
Updates to Existing Documentation¶
- Create branch for changes
- Update document content
- Submit PR with description of changes
- Review and merge
Review Checklist¶
- Title is clear and descriptive
- Overview explains purpose
- All code examples are tested and working
- All internal links are valid
- No sensitive data exposed (API keys, passwords)
- Formatting is consistent with standards
- Spelling and grammar checked
- Cross-references to related docs included
Version Control¶
Git Workflow¶
- All documentation is tracked in Git repository
- Changes are tracked via commits
- Use conventional commit messages:
git commit -m "docs: add SSL certificate setup guide"
git commit -m "docs: update deployment commands"
git commit -m "docs: fix broken links in API reference"
Branching¶
| Branch | Purpose |
|---|---|
main |
Production documentation |
develop |
Integration branch |
docs/* |
Documentation changes |
Quality Assurance¶
Pre-Publish Checklist¶
Before publishing documentation:
- Build docs locally:
cd docs && mkdocs serve - Verify no build warnings/errors
- Check all links work
- Test code examples
- Review on mobile viewport
- Spell check content
Link Validation¶
Local Preview¶
Archival Policy¶
Deprecating Documentation¶
When documentation becomes obsolete:
- Add deprecation notice at top of document:
!!! warning "Deprecated"
This documentation is deprecated as of [date].
See [New Guide](link) for current information.
- Keep deprecated docs for minimum 6 months
- Move to
/archive/directory after deprecation period - Update navigation to remove archived docs
Version History¶
Major documentation updates should be noted in commits:
Continuous Improvement¶
Metrics to Track¶
| Metric | Purpose | Tool |
|---|---|---|
| Page views | Understand popular content | Analytics |
| Search queries | Identify gaps in documentation | Search logs |
| Support tickets | Find unclear documentation | Helpdesk |
| Time since update | Identify stale content | Git history |
Feedback Collection¶
- Monitor support tickets for documentation-related issues
- Review search queries for common topics
- Conduct periodic user surveys
- Track documentation-related GitHub issues
Annual Review¶
Each year, conduct comprehensive documentation audit:
- Review all documentation for accuracy
- Remove or update outdated content
- Refresh screenshots and examples
- Verify all links are functional
- Update code samples for current versions
- Review and update glossary
- Assess documentation structure and navigation
Tools and Resources¶
Documentation Stack¶
| Tool | Purpose |
|---|---|
| MkDocs | Static site generator |
| Material theme | Documentation theme |
| Mermaid | Diagrams and flowcharts |
| Markdown | Content authoring |