The source for Ordinal's documentation, built with Blume.
npm install
npm run dev
View your local preview at http://localhost:4321.
Before opening a PR, run a production build and the link checker:
npm run build
npm run validate
- Pages are
.mdxfiles underdocs/, in topic folders (docs/getting-started/,docs/social-profiles/,docs/api/, …). A page's URL is its path insidedocs/, unless its frontmatter setsslug. (Content lives indocs/so Vercel doesn't treat a top-levelapi/folder as serverless functions.) - Folders wrapped in parentheses, like
(calendar-and-posts)/, group pages in the sidebar without adding a URL segment. - Each folder's
meta.tssets its sidebar title, icon, and page order. - Header tabs, the API references, and redirects live in
blume.config.ts. - The API and Agency API endpoint pages are generated from
docs/api/openapi.jsonanddocs/agency-api/openapi.json. Edit the spec, not the pages. - Static assets live in
public/and are served from the site root (public/images/foo.jpg→/images/foo.jpg).