Introduction
What this site is, how a page is built, and where each piece lives.
This is the Hexel Studio documentation site. It is a Next.js app that turns MDX files into pages, styled with the same tokens as hexelstudio.com and Orbit. The pages in this starter document the site itself; replace them with product docs as you go.
QuickstartComponents
Run the site locally and publish your first page.
Callouts, cards, steps, tabs and accordions.
How a page is built
- You write
content/docs/<section>/<page>.mdx, with atitlein its frontmatter. - You list the page in
docs.config.ts, which decides its tab, its group and its place in the order. - At build time each page is compiled once to HTML. Shiki highlights the code, headings get anchors, and the table of contents is collected.
- The same build writes the search index,
llms.txt, and a Markdown copy of every page.
The result is static: no page renders on request, so the site is fast and cheap to serve.
What is on a page
| Part | Where it comes from |
|---|---|
| Tabs in the header | navigation.tabs in docs.config.ts |
| Sidebar groups | The groups of the current tab |
| Breadcrumb, title and description | The tab and group, plus the page frontmatter |
| Copy page | The page's Markdown, served at the same URL plus .md |
| On this page | The page's ## and ### headings |
| Previous and next | The page order inside the tab |
Where things live
app/ Routes: landing page, doc pages, search.json, llms.txt, .md copies
components/brand/ Wordmark, product marks and buttons, copied from the homepage
components/docs/ Header, sidebar, search, table of contents, page actions
components/mdx/ Components that pages can use without importing them
content/docs/ The pages
docs.config.ts Navigation, search suggestions and the landing page
lib/ Content loading, the MDX pipeline, navigation and search