Documentation Owners
This guide explains who owns each documentation area and how to update ownership rules safely.
File Locationβ
The repository CODEOWNERS file is at:
.github/CODEOWNERS
GitHub uses this file to automatically request reviews when a pull request changes matching files.
How Matching Worksβ
CODEOWNERS follows simple but strict matching behavior:
- The last matching rule wins
- Put general rules first and specific overrides after
- Use
/at the start to anchor to repository root - Use trailing
/for directories
Examples:
/docs/03-developers/matches all developer docs/docs/03-developers/2-Migration/overrides ownership for that sub-area when listed later
Ownership Referenceβ
Use this table as the quick ownership map for documentation and related platform paths.
| Path | Area | Team |
|---|---|---|
* (default) | Entire repository fallback | All teams |
/.github/workflows/ | CI/CD workflows | Platform / Infra team |
/CODEOWNERS | Ownership config | Platform / Infra team |
/src/ /config/ /scripts/ /plugins/ /docusaurus.config.js | App source & build config | Platform / Infra team |
/openapi/ | API specifications | Business team Β· QA team Β· Back-end team |
/docs/03-developers/ | Developer docs (general) | Back-end team |
/docs/03-developers/2-Migration/ | Migration guides | Back-end team |
/docs/03-developers/4-convenient-checkout-ui/ | UI integration docs | UI team |
/docs/03-developers/4-convenient-checkout-api/ | API integration docs | Back-end team |
/docs/03-developers/5-convenient-checkout-api/4-error-codes/ | API error codes | Business team Β· QA team |
/docs/03-developers/14-Security/ | Security docs (encryption, key management) | Back-end team |
/docs/01-business/ | Business docs | Business team |
/docs/05-engineering-guide/ | Engineering guide | Back-end team |
/docs/06-high-level-designs/ | High-level designs | Architect |
/docs/07-contributing-guide/ | Contributing guide | All teams |
/docs/09-Testing/ | Testing docs | QA / Testing team |
/docs/10-announcements/ | Announcements | Platform / Infra team |
Safe Update Processβ
When editing CODEOWNERS:
- Confirm the target path exists in the repo (folder names must match exactly).
- Add or update rules using anchored paths (for example,
/docs/07-contributing-guide/). - Preserve parent-before-child ordering so specific rules can override correctly.
- Keep comments updated so section intent is clear.
- Open a pull request and verify requested reviewers match expectations.
Common Mistakes To Avoidβ
- Wrong folder names (for example,
9-Testinginstead of09-Testing) - Placing a broad rule below a specific one, which accidentally overrides it
- Omitting trailing
/on directory rules when directory intent is expected - Duplicating owner handles unnecessarily
- Changing ownership behavior without documenting the reason in comments or PR notes