mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-27 09:19:53 +00:00
16 lines
455 B
TypeScript
16 lines
455 B
TypeScript
import { index, route, type RouteConfig } from '@react-router/dev/routes';
|
|
|
|
export default [
|
|
index('routes/home.tsx'),
|
|
route('docs/*', 'routes/docs.tsx'),
|
|
route('v1/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;
|