Documentation Maintainer Runbook
This document is a practical handover guide for maintainers of the Trento documentation repository. It is intentionally task-oriented. Use it together with the more detailed system documents:
Start Here
If a new maintainer needs a fast onboarding path, read these documents in order:
-
README.adoc -
Documentation Build Pipeline Overview -
CI and Publishing Overview -
Documentation Maintainer Runbook -
Edit URL Extension Workflow -
Component Documentation Navigation Guide
Ownership and Escalation
For repository ownership, branch responsibilities, review expectations, and external dependency boundaries, see:
Quick Impact Guide
Use this section to decide what a change affects and what to verify.
-
trento/- user-facing documentation source Verify: docs hub preview, SUSE HTML preview, and SUSE PDF preview when formatting matters. -
content/- project documentation source Verify: docs hub preview, links, and images. -
upstream component repositories - source of truth for documentation published under
ComponentsVerify: docs hub preview, component navigation, images, andEdit this pagelinks. -
trento-docs-site/- Antora assembly logic, scripts, and extensions Verify: docs hub preview, generated artifacts undertrento-docs-site/build/, andnpm testwhen extension logic changes. -
trento-docs-site-ui/- custom UI bundle Verify:npx gulp preview, rebuild the bundle withnpx gulp bundle, and commit the updatedbuild/ui-bundle.zip. -
.github/workflows/- validation and publication behavior Verify: workflow intent againstCI and Publishing Overview, and update the docs when workflow behavior changes.
Routine Maintenance
Update project documentation
Edit content/, preview the docs hub, and confirm that links and images resolve correctly.
Update user-facing documentation
Edit trento/, preview the docs hub and the SUSE output, and make sure the change works in both output styles.
If several reviewed user-facing documentation changes already exist on main and should move together to the current release without a version bump, follow the partial release update workflow in Git Workflow for Trento Documentation.
Update component documentation
Edit the source repository, not this repository. Then confirm that the fetched component documentation appears correctly in the docs hub.
Update UI behavior
Edit trento-docs-site-ui/, preview with npx gulp preview, rebuild the bundle with npx gulp bundle, and commit the regenerated build/ui-bundle.zip.
Update site assembly logic
Edit trento-docs-site/, preview the docs hub, inspect the generated files under trento-docs-site/build/, and update the related maintainer documentation when the build behavior changes.
Update publication or validation workflows
Edit .github/workflows/, verify the intended behavior against CI and Publishing Overview, and update the related documentation in the same change.
Quick Routing
Use this quick guide when you know what kind of change you are making:
-
content-only docs hub change: preview with
docker compose up trento-docs -
user-facing documentation change: preview both the docs hub and the SUSE output
-
UI-only change: use
npx gulp preview, then rebuildbuild/ui-bundle.zipwithnpx gulp bundle -
Antora assembly logic change: preview the docs hub and inspect generated files under
trento-docs-site/build/ -
workflow/config change: compare the workflow behavior with
CI and Publishing Overview
Troubleshooting
A component page is missing from the docs hub
Check:
-
whether the upstream repository is still listed in
trento-docs-site/antora.yml -
whether the upstream repository still contains the expected
README.adoc,docs/, orguides/structure -
whether
trento-docs-site/build/tmp_components/<component>/was populated during the build -
whether
trento-docs-site/build/gen_navigation/nav_components.adoccontains the expected entry
Then review the Component Documentation Navigation Guide.
The component page exists, but the navigation entry is wrong
Check:
-
the page title in the source AsciiDoc file
-
directory naming in the upstream repository
-
whether the file is located under
docs/orguides/ -
whether the content was placed in an ignored directory such as
images/orexamples/
The Edit this page link is wrong or missing
Check:
-
whether the page comes from
content/,trento/, or a fetched component repository -
whether the page source path matches the rules documented in
Edit URL Extension Workflow -
whether the repository and relative path are what the extension expects
-
whether the change requires an update to
trento-docs-site/extensions/edit-url.cjsand its tests
A UI change is not visible in the built docs hub
Check:
-
whether
npx gulp bundlewas run -
whether
trento-docs-site-ui/build/ui-bundle.zipwas committed -
whether the site build is using the updated bundle
Keep the Documentation in Sync
When the documentation system changes, update the documents that describe it:
-
update
README.adocwhen the repository structure, editing model, preview commands, or published outputs change -
update
content/trento-docs-site/README.adocwhen the Antora site assembly workflow changes -
update
content/trento-docs-site-ui/README.adocwhen the UI bundle workflow changes -
update
CI and Publishing Overviewwhen workflow behavior changes -
update
Documentation Build Pipeline Overviewwhen collector, script, or assembly behavior changes -
update
Edit URL Extension Workflowwhen the edit URL rules change -
update
Component Documentation Navigation Guidewhen component navigation generation rules change