mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-27 09:19:53 +00:00
- Bump @hanzo/docs-mdx 14.2.11 -> 14.3.1 (surpass orphaned 14.3.0 on npm) - Bump @hanzo/docs-docgen 3.0.8 -> 3.1.1 (surpass orphaned 3.1.0 on npm) - Set changeset access to public for scoped @hanzo/* packages - Update create-app templates to use getPageMarkdownUrl() helper
16 lines
456 B
TypeScript
16 lines
456 B
TypeScript
import { index, route, type RouteConfig } from '@react-router/dev/routes';
|
|
|
|
export default [
|
|
index('routes/home.tsx'),
|
|
route('docs/*', 'routes/docs.tsx'),
|
|
route('api/search', 'routes/search.ts'),
|
|
route('og/docs/*', 'routes/og.docs.tsx'),
|
|
|
|
// LLM integration:
|
|
route('llms.txt', 'llms/index.ts'),
|
|
route('llms-full.txt', 'llms/full.ts'),
|
|
route('llms.mdx/docs/*', 'llms/mdx.ts'),
|
|
|
|
route('*', 'routes/not-found.tsx'),
|
|
] satisfies RouteConfig;
|