mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
- Replace all hanzo-docs.dev references with docs.hanzo.ai across 46 source files (apps, examples, packages, templates, READMEs) - Sync docs app with upstream: feedback component rename, null safety for useParams/usePathname, CSS import path fix - Add feedback wrapper for static export mode - Make output: 'export' conditional on NEXT_EXPORT env var - Regenerate docs source index
10 lines
306 B
TypeScript
10 lines
306 B
TypeScript
import { docs } from '@hanzo/docs/mdx:collections/server';
|
|
import { loader } from '@hanzo/docs/core/source';
|
|
|
|
// See https://docs.hanzo.ai/docs/headless/source-api for more info
|
|
export const source = loader({
|
|
// it assigns a URL to your pages
|
|
baseUrl: '/docs',
|
|
source: docs.toHanzo DocsSource(),
|
|
});
|