Docusaurus v3 documentation site for the Miden ecosystem. Deployed at docs.miden.xyz.
docs/— current docs (core-concepts, builder/)docs/builder/— developer-facing: tools, develop, get-started, smart-contracts, migrationdocs/core-concepts/— protocol design docsversioned_docs/— pinned version snapshotssrc/— custom React components, pages, CSSstatic/— images, assets.release/release-manifest.yml— version info (read by docusaurus.config.ts)
npm run build # Full production build — ALWAYS run before PRing
npm run start # Dev server with hot reload
npm run typecheck # TypeScript check
npm run clear # Clear Docusaurus cache (if builds are stale)- Always
npm run buildbefore creating PRs — catches broken links and build errors - Always verify URLs —
curl -sL -o /dev/null -w "%{http_code}" <url>before adding/changing links - Broken links:
onBrokenLinks: "warn"in config — treat warnings as errors for PRs - Math: uses remark-math + rehype-katex for LaTeX
- Algolia search is configured
- Conventional commits:
docs:,fix:,feat: - Batch related small fixes into single PRs
- PR titles should be descriptive, not just "update docs"
- Keep markdown clean: no trailing whitespace, consistent heading levels
- Internal links: use relative paths, not absolute URLs
- Images go in
static/img/with descriptive names
versioned_docs/andversioned_sidebars/are auto-generated — don't edit manually unless you need to update the versioned_docs release contentssidebars.tscontrols navigation — update when adding/removing pages- Release manifest YAML drives version display — don't edit unless releasing
- Some custom components in
src/— check before adding new ones