Raxx · internal docs

internal · gated ↑ index

Documentation Governance

This document defines the processes that keep TradeMasterAPI's documentation accurate, consistent, and useful for contributors and end-users alike.

Purpose

Documentation drift—where docs describe a different version, path, or behaviour than what the code actually provides—erodes trust and slows onboarding. The practices below prevent that drift from occurring.

Single Sources of Truth

Artefact Canonical Location Updated By
Current version VERSION (root) Release script / release author
Version in README README.md header Must match VERSION at every release
API reference docs/API_DOCUMENTATION.md Any PR that adds/changes endpoints
Release notes docs/release_notes/vX.Y.Z.md Release author, using docs/release_notes_template.md
Development log prompt.ai/development_log.md Every merged PR
Git workflow prompt.ai/git_workflow.md Process changes only

Per-Sprint Documentation Checklist

At the end of every sprint (or before any release), the team must verify each item below. A sprint is not considered complete until all boxes are checked.

Version Alignment

Path and Run-Instruction Accuracy

API Documentation

Contributor-Facing Docs

Development Log

Pull-Request Documentation Gate

Every pull request should include documentation updates when the change:

  1. Adds, removes, or modifies an API endpoint.
  2. Changes installation steps or prerequisites.
  3. Introduces new environment variables or configuration.
  4. Alters the project directory structure.
  5. Bumps the project version.

Reviewers should verify that documentation is updated before approving.

Versioning Rules

Ownership

The author of the release PR is responsible for completing the per-sprint checklist. All contributors share responsibility for keeping docs accurate within their own PRs.