Documentation Update Procedures
For guidance on WHEN to update documentation, see the "Documentation Requirements (Always-On)" section in .github/copilot-instructions.md.
This guide covers the HOW: where to make changes and what to update for each type of modification.
Documentation Locations by Component
- Service Overview:
docs/user-guide/microservices/<service>/<service>.md - Feature descriptions, API endpoints, usage examples
- Build Instructions:
docs/user-guide/microservices/<service>/get-started/build-from-source.md - Build steps, Makefile targets, Docker commands
- Service README:
<service>/README.md - Quick start and high-level overview (if exists)
- API Specifications:
docs/user-guide/microservices/<service>/**/_assets/*.yaml or api-reference.md - API specs/references for REST APIs
- Root Documentation:
docs/user-guide/ - Cross-service documentation, architecture guides
- Testing Guide:
tests/README.md and service-specific test docs (for example mapping/tests/README.md) - Test setup and execution instructions
Documentation Update Checklist
When making changes, verify and update:
- Feature descriptions in overview.md (list all options/variants)
- Build commands in
build-from-source.md (include new targets)
- API documentation (if endpoints or parameters changed)
- Example code (reflect new options/parameters)
- Configuration examples (show new variables/options)
- Prerequisites (new dependencies or system requirements)
- Testing instructions (if test setup changed)
Example Patterns
For Model Selection Features (e.g., mapping service):
- List ALL available models/options in overview
- Show build command for EACH variant
- Update API examples to mention model selection
- Update health check/status responses with new model info
For New Services:
- Create
docs/user-guide/microservices/<service>/ directory structure
- Write
<service>.md with feature descriptions and API endpoints
- Write
get-started/build-from-source.md with build instructions
- Create or update API references (
api-reference.md and/or _assets/*.yaml) if applicable
- Create tests/README.md with test execution instructions
- Update root
docs/user-guide/ with cross-service documentation
- Update main README.md if major functionality change
For Configuration Changes:
- Document all new environment variables in the service overview (
<service>.md)
- Provide example
.env snippets
- Update
build-from-source.md with configuration instructions
- List new configuration files or schema changes
- Show examples of before/after configurations if behavior changed
For API Changes:
- Update OpenAPI/Swagger spec (
_assets/*.yaml) or api-reference.md
- Update service overview (
<service>.md) with new endpoints/parameters
- Update example code in
build-from-source.md
- Document deprecations or breaking changes
- Provide migration guides if backward compatibility broken
Service-Specific Documentation Examples
Controller Service
- Overview (
docs/user-guide/microservices/controller/controller.md): Scene management, object tracking, REST API
- Build (
docs/user-guide/microservices/controller/get-started/build-from-source.md): Makefile targets, Docker commands
- API Spec (
docs/user-guide/microservices/controller/api-reference.md and _assets/scene-controller-api.yaml): gRPC/REST endpoint definitions
- Data formats (
docs/user-guide/microservices/controller/data_formats.md): Canonical MQTT contracts, including External Source Input Message Format
- External-source adapter how-to (
docs/user-guide/how-to-guides/publish-external-source-adapter.md): Procedure for converter scripts (links to data formats; does not duplicate field tables)
- External-source adapter skill (
.github/skills/external-source-adapter/SKILL.md): Agent checklist; points at the how-to and data formats
- Tests (
controller/tests/README.md): Unit, functional, integration test execution
When changing the external_source / external_pose / external_detection
contract: update the schema and data_formats.md first, then verify links and
checklists in the how-to and .github/skills/external-source-adapter/SKILL.md
still resolve. Do not restate field tables in the how-to or skill.
Manager Service
- Overview (
docs/user-guide/using-intel-scenescape/ and related guides): Web UI features, REST API, database schema
- Build (
docs/user-guide/get-started/installation.md and root build guides): Django setup, migrations, static files
- API Spec (
docs/user-guide/api-reference.md): REST endpoint definitions
- Tests (
manager/tests/README.md): UI tests, functional tests, API tests
Autocalibration Service
- Overview (
docs/user-guide/microservices/auto-calibration/auto-calibration.md): Calibration algorithms, input/output formats
- Build (
docs/user-guide/microservices/auto-calibration/get-started/build-from-source.md): Build commands, dependencies
- API Spec (
docs/user-guide/microservices/auto-calibration/api-reference.md): REST API for calibration requests
Cross-Service Documentation
Root-level documentation in docs/user-guide/:
- Architecture overview - System design and component interactions
- Getting Started - Initial setup and quick start guide
- Build Instructions - Root Makefile targets, build system overview
- Deployment - Docker Compose, Kubernetes setup
- Development Guide - Local development workflow
- Testing - Test execution across all services
- API Reference - Complete API documentation index
Update root documentation when:
- Making changes that affect multiple services
- Updating build system or deployment procedures
- Adding new testing procedures
- Changing development workflow
1---2name: documentation-how3description: Procedures for updating Scenescape documentation — where to make changes and what to update for each type of modification.4---56# Documentation Update Procedures78For guidance on WHEN to update documentation, see the "Documentation Requirements (Always-On)" section in `.github/copilot-instructions.md`.910This guide covers the HOW: where to make changes and what to update for each type of modification.1112## Documentation Locations by Component1314- **Service Overview**: `docs/user-guide/microservices/<service>/<service>.md` - Feature descriptions, API endpoints, usage examples15- **Build Instructions**: `docs/user-guide/microservices/<service>/get-started/build-from-source.md` - Build steps, Makefile targets, Docker commands16- **Service README**: `<service>/README.md` - Quick start and high-level overview (if exists)17- **API Specifications**: `docs/user-guide/microservices/<service>/**/_assets/*.yaml` or `api-reference.md` - API specs/references for REST APIs18- **Root Documentation**: `docs/user-guide/` - Cross-service documentation, architecture guides19- **Testing Guide**: `tests/README.md` and service-specific test docs (for example `mapping/tests/README.md`) - Test setup and execution instructions2021## Documentation Update Checklist2223When making changes, verify and update:24251. **Feature descriptions** in overview.md (list all options/variants)262. **Build commands** in `build-from-source.md` (include new targets)273. **API documentation** (if endpoints or parameters changed)284. **Example code** (reflect new options/parameters)295. **Configuration examples** (show new variables/options)306. **Prerequisites** (new dependencies or system requirements)317. **Testing instructions** (if test setup changed)3233## Example Patterns3435### For Model Selection Features (e.g., mapping service):3637- List ALL available models/options in overview38- Show build command for EACH variant39- Update API examples to mention model selection40- Update health check/status responses with new model info4142### For New Services:43441. Create `docs/user-guide/microservices/<service>/` directory structure452. Write `<service>.md` with feature descriptions and API endpoints463. Write `get-started/build-from-source.md` with build instructions474. Create or update API references (`api-reference.md` and/or `_assets/*.yaml`) if applicable485. Create tests/README.md with test execution instructions496. Update root `docs/user-guide/` with cross-service documentation507. Update main README.md if major functionality change5152### For Configuration Changes:53541. Document all new environment variables in the service overview (`<service>.md`)552. Provide example `.env` snippets563. Update `build-from-source.md` with configuration instructions574. List new configuration files or schema changes585. Show examples of before/after configurations if behavior changed5960### For API Changes:61621. Update OpenAPI/Swagger spec (`_assets/*.yaml`) or `api-reference.md`632. Update service overview (`<service>.md`) with new endpoints/parameters643. Update example code in `build-from-source.md`654. Document deprecations or breaking changes665. Provide migration guides if backward compatibility broken6768## Service-Specific Documentation Examples6970### Controller Service7172- **Overview** (`docs/user-guide/microservices/controller/controller.md`): Scene management, object tracking, REST API73- **Build** (`docs/user-guide/microservices/controller/get-started/build-from-source.md`): Makefile targets, Docker commands74- **API Spec** (`docs/user-guide/microservices/controller/api-reference.md` and `_assets/scene-controller-api.yaml`): gRPC/REST endpoint definitions75- **Data formats** (`docs/user-guide/microservices/controller/data_formats.md`): Canonical MQTT contracts, including External Source Input Message Format76- **External-source adapter how-to** (`docs/user-guide/how-to-guides/publish-external-source-adapter.md`): Procedure for converter scripts (links to data formats; does not duplicate field tables)77- **External-source adapter skill** (`.github/skills/external-source-adapter/SKILL.md`): Agent checklist; points at the how-to and data formats78- **Tests** (`controller/tests/README.md`): Unit, functional, integration test execution7980When changing the `external_source` / `external_pose` / `external_detection`81contract: update the schema and `data_formats.md` first, then verify links and82checklists in the how-to and `.github/skills/external-source-adapter/SKILL.md`83still resolve. Do not restate field tables in the how-to or skill.8485### Manager Service8687- **Overview** (`docs/user-guide/using-intel-scenescape/` and related guides): Web UI features, REST API, database schema88- **Build** (`docs/user-guide/get-started/installation.md` and root build guides): Django setup, migrations, static files89- **API Spec** (`docs/user-guide/api-reference.md`): REST endpoint definitions90- **Tests** (`manager/tests/README.md`): UI tests, functional tests, API tests9192### Autocalibration Service9394- **Overview** (`docs/user-guide/microservices/auto-calibration/auto-calibration.md`): Calibration algorithms, input/output formats95- **Build** (`docs/user-guide/microservices/auto-calibration/get-started/build-from-source.md`): Build commands, dependencies96- **API Spec** (`docs/user-guide/microservices/auto-calibration/api-reference.md`): REST API for calibration requests9798## Cross-Service Documentation99100Root-level documentation in `docs/user-guide/`:101102- **Architecture overview** - System design and component interactions103- **Getting Started** - Initial setup and quick start guide104- **Build Instructions** - Root Makefile targets, build system overview105- **Deployment** - Docker Compose, Kubernetes setup106- **Development Guide** - Local development workflow107- **Testing** - Test execution across all services108- **API Reference** - Complete API documentation index109110Update root documentation when:111112- Making changes that affect multiple services113- Updating build system or deployment procedures114- Adding new testing procedures115- Changing development workflow