Skip to main content

Documentation Index

Fetch the complete documentation index at: https://na-36-merge-docs-v2-dev-draft-into-docs-v2-clean-20260525.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

The lpd CLI is the single entry point for contributing to these docs. One Bash script (tools/lpd) wraps setup, environment checks, scoped Mintlify preview, staged tests, governed file moves, repair flows, and access to the 341 scripts under operations/scripts/. You do not need to install Mintlify or Node packages by hand.
This page is the public quickstart. For the full reference – every subcommand, every flag, JSON envelopes, and the script catalogue – see the canonical reference at docs-guide/tooling/lpd-cli.

Five-minute quickstart

1

Install and verify

bash lpd setup --yes      # installs hooks, deps, optionally adds lpd to your $PATH
lpd doctor                # confirms Node, Mintlify, Puppeteer, hooks, PATH
2

Boot a scoped Mintlify preview

lpd dev --scoped --scope-tab Developers
A filtered dev server against the 1,128-page nav boots in ~2 seconds instead of ~10 minutes for a cold full build. Tab names fuzzy-match (Orch, Resource, Gate).
3

Run the same checks CI runs

lpd test --staged     # only your changes
lpd ci --skip-browser # full PR CI suite, skip Puppeteer (faster)
4

Move pages without breaking links

lpd move-page v2/from/path.mdx v2/to/path.mdx
Rewrites every incoming reference, updates docs.json, regenerates affected catalogue.
5

Repair drift

lpd repair --surface <id> --staged
Runs the deterministic remediator for a governed surface against staged files. Surfaces are listed in operations/governance/config/ownerless-governance-surfaces.json.

Subcommand summary

lpd ships 13 subcommands plus 5 group shorthands.
CommandWhat it does
lpd helpPrint the full subcommand list with one-line descriptions
lpd infoResolve repo root, branch, environment summary
lpd versionPrint the CLI version
lpd setupInstall hooks, deps, optional PATH install
lpd doctorVerify environment – Node, Mintlify, Puppeteer, hooks, PATH
lpd dev (alias: lpd mint)Boot Mintlify dev server, scoped or full
lpd testRun validators (staged, full, or specific scopes)
lpd ciFull PR CI suite, locally
lpd repairRun a remediator for a governed surface
lpd move-pageGoverned file move with reference rewrites
lpd ai-sitemapRegenerate sitemap-ai.xml
lpd hooksManage git hooks (install, status, verify)
lpd scriptsDiscover and run any of 341 governed scripts
Group shorthands route into operations/scripts/ subtrees: lpd tools, lpd tests, lpd v2, lpd workspace, lpd hooks.

Common workflows

bash lpd setup --yes
lpd dev --scoped --scope-tab <your-tab>
# edit MDX
lpd test --staged
git commit -m "docs: <change>"
The pre-commit hook runs MDX render checks, allowlist guards, redirect integrity, and no-deletion enforcement in under 60 seconds.

Scoped preview – why it matters

Mintlify cold-starts the full 1,128-page docs-v2 in roughly ten minutes. lpd dev --scoped --scope-tab <Tab> boots a filtered profile in ~2 seconds.
# scope by tab name
lpd dev --scoped --scope-tab Gateways

# scope by route prefix
lpd dev --scoped --scope-prefix /v2/resources/

# discover available scopes
lpd dev --scope-list

# interactive picker
lpd dev --scope-interactive
Alternate config loaders (docs-orch-work.json, docs-gate-work.json) drive themed scoped builds for cross-tab pipeline work.

Repair flows

lpd repair --surface component-governance --write --staged
lpd repair --surface em-dashes --write
lpd repair --surface us-spelling --write --language en-gb
Available surfaces live in operations/governance/config/ownerless-governance-surfaces.json. Each declares its validator, remediator, repair command, and gate layer.

Canonical CLI reference

Every subcommand, every flag, JSON envelopes, error codes, and the full script catalogue.

Contribute to the docs

End-to-end contributor flow from fork to merged PR.

MDX preview extension

lpd-mdx-preview VS Code extension – render the full component library without running Mintlify.

Docs Guide overview

The complete docs-as-infrastructure overview with the IA tree, all features, and governance contracts.
Last modified on May 26, 2026