Skip to content

Source of Truth

xrmghost-docs is the canonical source of truth for all public XrmGhost documentation.

  • All public-facing product documentation is authored exclusively in this repository.
  • No other repository generates or owns the narrative content that end-users read.
  • Changes to documentation content flow through this repo’s review and merge process.

The xrmghost-user-portal consumes this repository in one of two supported ways:

Option A — Git Submodule (current default)

Section titled “Option A — Git Submodule (current default)”

The portal mounts this repo as a git submodule at content/docs/. The portal’s build pipeline reads all .mdx files recursively from that mount point.

xrmghost-user-portal/
content/
docs/ ← git submodule pointing to xrmghost-docs

To update the content in the portal, advance the submodule pointer to the desired commit in xrmghost-docs and push the portal repo.

A sync script can be used to copy the contents of xrmghost-docs into the portal’s content directory at build time. This is useful in CI/CD pipelines where submodule management is undesirable.

TODO: Document the exact sync script invocation once it is implemented in the portal’s pipeline.

Content TypeLives in xrmghost-docs?
Getting Started guideYes
CLI command reference (narrative)Yes
CLI reference (auto-generated from --help)Future — see Generated vs Manual
Attribute system referenceYes
Architecture documentationYes
Contributing guidelinesYes
Changelog / release notesNo — owned by the individual product repos
API referenceNo — generated from OpenAPI specs in respective repos

Changes to the canonical content must be reviewed and merged into the dev branch of this repo before they are considered authoritative. The portal’s deployment is decoupled from this repo — content merges here do not automatically trigger a portal redeploy; that is the portal team’s responsibility.