Files
docs/examples/python/lib/source.ts
zooqueenandHanzo Dev 8c3fed7255 refactor(api)!: rename toFumadocsSource() -> toDocsSource() (brand-neutral)
Renames the public doc-collection method across runtime, types, examples
and create-app templates so the API carries no upstream brand. The
internal helper and all call sites move together; fumadocs-core package
imports are untouched. Pairs with the .docs default outDir change.

BREAKING CHANGE: docs.toFumadocsSource() is now docs.toDocsSource().

Co-authored-by: Hanzo Dev <[email protected]>
2026-06-08 11:16:22 -07:00

10 lines
283 B
TypeScript

import { docs } from 'collections/server';
import { loader } from '@hanzo/docs-core/source';
// See https://fumadocs.dev/docs/headless/source-api for more info
export const source = loader({
// it assigns a URL to your pages
baseUrl: '/docs',
source: docs.toDocsSource(),
});