This document defines the processes that keep TradeMasterAPI's documentation accurate, consistent, and useful for contributors and end-users alike.
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.
| 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 |
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 file reflects the upcoming release number.README.md version string matches VERSION.docs/release_notes/ and follows the template.README.md points to the correct GitHub organisation/repo.README.md work from a fresh clone.README.md lists every script in scripts/.README.md match actual test locations (tests/selenium/, tests/ui_tests/, backend_v2/tests/).docs/API_DOCUMENTATION.md.CONTRIBUTING.md is up to date with current branch strategy and commit conventions.prompt.ai/development_log.md contains an entry for every significant change in this sprint.prompt.ai/vX.Y.Z_release_summary.md) is created for releases.Every pull request should include documentation updates when the change:
Reviewers should verify that documentation is updated before approving.
VERSION file is the single source of truth for the current version.VERSION, the README header, and create a release-notes file.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.