16 lines
466 B
TypeScript
16 lines
466 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-reference', 'routes/api-reference.tsx'),
|
|
route('api/search', 'routes/search.ts'),
|
|
|
|
// 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;
|