governance / Contributing Guide — DjangoPlay Documentation
DocsGovernanceContributing Guide — DjangoPlay Documentation

Contributing Guide — DjangoPlay Documentation

Project: DjangoPlay Labs Documentation Document Type: Governance Last Updated: 2026-03-28 Version: 1.0

2 min readGovernance
On this page ▾
  1. 1. Overview
  2. 2. Contribution Principles
  3. 3. Documentation Structure
  4. 4. Writing New Documentation
  5. 5. Updating Documentation
  6. 6. Commit Message Guidelines
  7. 7. Security Rules for Documentation
  8. 8. Documentation Review Checklist

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:

  1. 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
  2. Fill in the sections and delete the <!-- template: … --> comment
  3. Use clear headings (no # Title line: the header's title is the page title)
  4. Avoid sensitive information
  5. Use placeholders for credentials or domains
  6. Follow the style guide
  7. Run npm run docs:check -- --project <slug> before you commit
  8. Submit changes via merge request

5. Updating Documentation

When updating documentation:

  1. Update version number
  2. Update last updated date
  3. Update CHANGELOG
  4. Ensure links still work
  5. 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