Publish Backstage TechDocs via the MkDocs integration and an external storage bucket

domain: backstage.io · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Add a techdocs annotation to the component's catalog-info.yaml: backstage.io/techdocs-ref: dir:. to tell TechDocs where to find the docs source.
  2. Create an mkdocs.yml at the repo root with site_name and a plugins list containing techdocs-core; install the mkdocs-techdocs-core Python package to get the full plugin bundle.
  3. Configure TechDocs in app-config.yaml to use techdocs.builder: external and set techdocs.publisher.type to one of googleGcs, awsS3, or azureBlobStorage, providing the bucket name and credentials.
  4. In CI, run npx @techdocs/cli generate --source-dir . --output-dir ./site and npx @techdocs/cli publish --publisher-type <type> --storage-name <bucket> --entity <namespace/kind/name> to build and publish docs.
  5. Backstage reads published docs from the storage bucket at runtime; ensure the storage bucket is accessible from the Backstage backend and that CORS is configured if using a browser-side reader.
  6. Verify docs appear in the TechDocs tab in Backstage by navigating to the component's entity page and confirming content renders from the external bucket.

Known gotchas

Related routes

Configure Backstage TechDocs to use an external cloud storage bucket as the publisher and build docs in CI rather than on-the-fly
backstage.io · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans