Files
zooqueen 0e9ea7f848 Scaffolded apps are born on Zen too
packages/create-app/.gitignore lists `template`, so every scanner that honours
ignore files walks straight past nine templates that are tracked in git and
shipped by @hanzo/create-docs. Four Next templates declared a face in the root
layout and two react-router ones linked a hosted font CDN from `links()`, which
means a freshly scaffolded docs site started life on someone else's typeface
and a third-party request on every route.

Same shape as the apps: `@import '@hanzo/font/css'` at the top of the template's
own sheet, one :root block binding --font-zen-sans / --font-zen-mono to
--font-sans / --font-mono, and @hanzo/font in the template's dependencies. The
waku template named no family at all and fell through to the browser default, so
it gets the same mount rather than being left the one scaffold without a face.
2026-08-24 13:22:57 -07:00
..
2026-08-24 13:22:57 -07:00
…

This is a Next.js application generated with Create Hanzo Docs.

It is a Next.js app with Static Export configured.

Run development server:

npm run dev
# or
pnpm dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

Explore

In the project, you can see:

  • lib/source.ts: Code for content source adapter, loader() provides the interface to access your content.
  • lib/layout.shared.tsx: Shared options for layouts, optional but preferred to keep.
Route Description
app/(home) The route group for your landing page and other pages.
app/docs The documentation layout and pages.
app/api/search/route.ts The Route Handler for search.

Hanzo Docs MDX

A source.config.ts config file has been included, you can customise different options like frontmatter schema.

Read the Introduction for further details.

Learn More

To learn more about Next.js and Hanzo Docs, take a look at the following resources: