Files
stemengine_old/docs/DOCUMENTATION_PLAN.md
T
2026-03-18 17:55:21 +09:00

116 lines
3.1 KiB
Markdown

# StemEngine Documentation Plan
## Purpose
Create and maintain complete, audience-specific documentation for:
1. **Users** (how to operate StemEngine successfully)
2. **Developers** (how to build, maintain, and extend StemEngine)
This plan defines scope, phases, owners, and acceptance criteria.
---
## Goals
- Reduce onboarding time for both users and contributors.
- Make major workflows discoverable and repeatable.
- Keep documentation synchronized with actual behavior.
- Introduce a lightweight maintenance process so docs do not drift.
---
## Audience and scope
### User documentation scope
- Installation and first run
- Common task workflows (separation, transcription, lyric sync)
- File outputs and where to find them
- Basic troubleshooting and known limits
### Developer documentation scope
- Architecture overview and component boundaries
- API/route map and service responsibilities
- Development setup and test workflow
- Contribution and documentation update rules
---
## Delivery phases
## Phase 1 — Baseline docs (completed)
Deliverables:
- `docs/README.md` (docs index)
- `docs/USER_GUIDE.md` (user baseline)
- `docs/DEVELOPER_GUIDE.md` (developer baseline)
- `docs/DOCUMENTATION_PLAN.md` (this plan)
Acceptance criteria:
- Both audiences have a dedicated entry point.
- Core workflows and architecture are documented at a high level.
- Documentation ownership expectations are defined.
## Phase 2 — Expand depth (completed)
Deliverables:
- API reference doc with endpoint groups and payload examples.
- Troubleshooting matrix by subsystem (GPU, model download, sidecars, alignment).
- Configuration reference expanded from env-var tables to usage guidance.
Acceptance criteria:
- New contributors can run tests and add a feature without tribal knowledge.
- Users can self-serve common failures from docs.
## Phase 3 — Quality and governance (completed)
Deliverables:
- PR checklist item: docs impact reviewed.
- Doc freshness review cadence (for example monthly or per release).
- Standard template for feature docs and migration notes.
Acceptance criteria:
- Documentation updates become part of normal development flow.
- Drift between implementation and docs is reduced.
---
## Work breakdown and owners
- **Product/maintainers**: approve user workflow priority and terminology.
- **Backend contributors**: maintain API/service/ops sections.
- **Frontend contributors**: maintain UI flow and screenshots (if added).
- **Release owner**: verify doc updates before release tagging.
---
## Tracking checklist
- [x] Create docs index
- [x] Create user guide baseline
- [x] Create developer guide baseline
- [x] Document multi-phase plan
- [x] Add API reference with examples
- [x] Add troubleshooting matrix
- [x] Add configuration reference with usage guidance
- [x] Add PR/release doc update checklist
- [x] Define review cadence and owner rotation
---
## Definition of done
Documentation initiative is considered operational when:
- Baseline docs exist for both audiences (done).
- Expansion docs are published and linked from docs index.
- Team workflow requires doc updates for meaningful behavior changes.