Sample doc

A minimal example page showing frontmatter, Markdown, and a callout — plus how it is wired in docs.json.

This page exists so you can see the full flow: MDX fileentry in docs.jsonsidebar link.

The file is sample-doc.mdx at the repo root. In docs.json, the page id is sample-doc (no .mdx extension).

What you are looking at

  1. YAML frontmatter at the top sets title and description (used for the page heading and SEO).
  2. Body is Markdown plus Jam Desk components (here, a <Note> callout).

Markdown basics

  • Bold, italic, inline code
  • Links
// Fenced code blocks use a language tag for highlighting
const pageId = "sample-doc";

Next step

Open docs.json and find Get Startedpages. You should see "sample-doc" listed next to introduction and quickstart. Duplicate that pattern for your own pages: new file path → same path string without .mdx.