Files
zeekay ccb49690d1 feat(create-app): add org docs and hub templates for multi-org documentation
New templates:
- +next+hanzo-docs-mdx+org: Project docs with org-aware layout, project
  switcher dropdown, and auto-configured branding from org presets
- +next+hanzo-docs-mdx+hub: Org landing page with card grid linking to
  all project docs, no sidebar/docs layout

New plugin:
- org-docs: Generates docs.config.ts with org preset and project slug

Updates constants and orama-cloud plugin to support new template types.
2026-02-09 11:36:36 -08:00

1.6 KiB

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: