Skip to main content

Reference

Use reference pages when you need exact facts, supported options, and stable technical contracts.

System contracts

CLI commands, navigation schema, route model, automation scripts, and configuration entry points.

Reference pages​

Current route model​

/ marketing-first root surface

/docs first-party technical product docs (Diataxis)

/tfl demo TfL product docs

/petstore demo Petstore product docs

/platzi demo Platzi Fake Store docs

/tfl/api-playground, /petstore/api-playground, and /platzi/api-playground interactive demo routes

Configuration entry points​

  • Site config: docusaurus.config.ts
  • Sidebars: sidebarsDevdocify.ts, sidebarsTfl.ts, sidebarsPetstore.ts, sidebarsPlatzi.ts
  • Navigation contract loader: navigation-contract.ts
  • Navigation definitions: docs/*/navigation.json
  • SAML config example: saml.config.example.json
  • Workflows: .github/workflows/ci.yml, .github/workflows/preview.yml, .github/workflows/link-check.yml, .github/workflows/docs-draft-update.yml

Automation scripts​

ScriptPurpose
scripts/build-route-manifest.tsBuilds the route manifest for all docsets.
scripts/build-search-index.tsBuilds the local docs and API operation search index.
scripts/push-search-index.tsPushes the built search index to Algolia.
scripts/generate-llms-txt.tsGenerates llms.txt with canonical docs and API route URLs.
scripts/validate-saml-config.tsValidates SAML configuration.
scripts/generate-nginx-auth-config.tsGenerates nginx auth_request configuration from SAML settings.
scripts/check-csp.tsFails the build when the Content-Security-Policy doesn't allow an inline script, or nginx.conf and vercel.json disagree.
scripts/check-built-urls.tsFails the build when a route manifest, search index, or llms.txt URL has no built page.
scripts/benchmark-build.tsBenchmarks full Docusaurus builds at synthetic fixture scale.