mirror of
https://github.com/Kaelio/ktx.git
synced 2026-06-25 08:48:08 +02:00
feat(docs-site): add agent-readable docs routes
This commit is contained in:
parent
b440c75092
commit
dfa4651ebc
6 changed files with 211 additions and 1 deletions
|
|
@ -3,6 +3,15 @@ import { createMDX } from "fumadocs-mdx/next";
|
|||
const withMDX = createMDX();
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
const config = {};
|
||||
const config = {
|
||||
async rewrites() {
|
||||
return [
|
||||
{
|
||||
source: "/docs/:path*.md",
|
||||
destination: "/llms.mdx/docs/:path*",
|
||||
},
|
||||
];
|
||||
},
|
||||
};
|
||||
|
||||
export default withMDX(config);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue