docs: preserve active documentation guidance
This commit is contained in:
@@ -187,8 +187,18 @@ Load the one that matches the task. Don't read all four.
|
||||
| Touch `docusaurus.config.ts` | [references/config-reference.md](references/config-reference.md) — the options that matter, sensible defaults, config anti-patterns |
|
||||
| Build or maintain a local YAML database that feeds React components and MDX | [references/local-yaml-data-database.md](references/local-yaml-data-database.md) — dedicated entity folders, `.yml` schemas, indexes, relationships, build-time loading, typed hooks, and validation |
|
||||
| Onboard or render an editable `.drawio` source | [references/drawio-source-diagrams.md](references/drawio-source-diagrams.md) — pnpm install, plugin registration, MDX raw-source import, viewer options, and verification |
|
||||
| Repair a docs section that builds but violates a required hierarchy or content contract | [references/architecture-ia-remediation.md](references/architecture-ia-remediation.md) — RED-first structure validation, approval-safe scaffolding, link pitfalls, browser checks, and remote PR/CI readback |
|
||||
| Ship the site, or debug a failing build | [references/deployment.md](references/deployment.md) — Vercel, Netlify, GitHub Pages, Cloudflare, and common failures |
|
||||
|
||||
## Package-manager validation pitfall
|
||||
|
||||
If `pnpm` is available only through `corepack`, `corepack pnpm validate` can still fail when the `validate` script invokes nested `pnpm` commands, because child scripts resolve `pnpm` from `PATH`. Before treating this as a repository failure, either:
|
||||
|
||||
- add a trusted `pnpm` shim that executes `corepack pnpm "$@"` to `PATH`; or
|
||||
- run each validation script directly through `corepack pnpm`.
|
||||
|
||||
Re-run the complete validator and production build after fixing command resolution. Do not report a successful build from the outer command alone.
|
||||
|
||||
## Getting Started
|
||||
|
||||
Tell me:
|
||||
|
||||
Reference in New Issue
Block a user