Docs-portal integration
A2C workflow documentation is docs-as-code in this repository. The docs-portal is the publication and discovery layer.
Model
| Layer | Role |
|---|---|
| This repo | Authoritative workflow docs, rules, templates, prompts |
| docs-portal | Mirrored publication, site navigation, cross-workflow discovery |
Workflow artifacts remain editable in Git here. The portal syncs on develop when docs/** changes.
What gets published
- Narrative docs under
docs/(perworkflow-manifest.yamlsidebar_order) - Companion assets:
templates/,rules/,prompts/,profiles/→a2c-assets/ - Doc images under
docs/assets/(e.g. TUI screenshots) →docs-a2c/assets/
Excluded from sync (metadata only):
portal-integration.mdnavigation-meta.mdworkflow-manifest.yaml
Onboarding checklist (maintainers)
- Register
a2cindocs-portal/workflows/registry.yamlwithactive: true - Add
docs-a2c/intro.mdlanding page in docs-portal - Add Docusaurus plugin config (
sidebarsA2c.ts, routea2c) - Verify downstream trigger from this repo's
.gitlab-ci.yml - Confirm companion static assets appear under
a2c-assets/
Until onboarding completes, CI still validates the manifest contract and triggers downstream — the portal may ignore unknown workflow ids until registered.
Project-local linkage
A2C-based application projects keep their own docs/ and ADRs. The portal can link project docs to the A2C reference section once both are published.
Use pathname:///a2c-assets/templates/docs-portal/integration-note.md when documenting portal integration in a consumer project.
Related
docs/portal-integration.mdina2c-workflow— automation metadata (not mirrored)- pathname:///a2c-assets/prompts/maintenance/docs-portal-integration.md