Contributing Guide — DjangoPlay Documentation
Project: DjangoPlay Labs Documentation Document Type: Governance Last Updated: 2026-03-28 Version: 1.0
On this page ▾
1. Overview
This document describes how to contribute to the DjangoPlay Labs documentation repository.
Documentation contributions include:
- Architecture documentation
- API documentation
- Deployment documentation
- Runbooks
- User guides
- Governance documents
- Glossary updates
- Diagrams
- Documentation portal updates
2. Contribution Principles
Documentation should be:
- Clear
- Accurate
- Consistent
- Secure (no sensitive information)
- Maintainable
- Version controlled
- Structured
- Professional
3. Documentation Structure
All documentation must follow repository structure:
plaintext
docs/
common/
governance/
templates/
projects/
project-name/
architecture/
api/
deployment/
runbooks/
user-guide/
4. Writing New Documentation
When adding a new document:
- Run
npm run new:doc: it writes the doc from the template for its type, with a complete header (title, description, type, since). See DOCS_STANDARD.md - Fill in the sections and delete the
<!-- template: … -->comment - Use clear headings (no
# Titleline: the header'stitleis the page title) - Avoid sensitive information
- Use placeholders for credentials or domains
- Follow the style guide
- Run
npm run docs:check -- --project <slug>before you commit - Submit changes via merge request
5. Updating Documentation
When updating documentation:
- Update version number
- Update last updated date
- Update CHANGELOG
- Ensure links still work
- Ensure formatting consistency
6. Commit Message Guidelines
Documentation commits should use clear messages:
Examples:
plaintext
docs: add deployment documentation
docs: update runbook for celery
docs: fix API documentation formatting
docs: add glossary entries
docs: update architecture diagram
7. Security Rules for Documentation
Never include:
- Passwords
- API keys
- Secret keys
- Private IP addresses
- Internal domains
- Email credentials
- Database credentials
- Personal information
- SSH keys
- Access tokens
Use placeholders like:
plaintext
<database_url>
<secret_key> <domain> <email>
8. Documentation Review Checklist
Before submitting documentation:
| Check | Status |
|---|---|
| No sensitive information | |
| Correct structure | |
| Uses template | |
| Table of contents present | |
| Version updated | |
| Links working | |
| Formatting consistent | |
| Grammar checked |
Something wrong or missing on this page?Report a docs issue