diff --git a/src/.vitepress/config.ts b/src/.vitepress/config.ts index 2b5d089..9aad339 100644 --- a/src/.vitepress/config.ts +++ b/src/.vitepress/config.ts @@ -6,14 +6,14 @@ import { titleCase, camelCase, pascalCase } from "string-ts"; const refPaths = [ ...generateSidebar({ - rootPath: "src", + rootPath: "src/runtime", contentPath: "functions", leadingPath: "/ref", leafFile: "README", transformName: camelCase, }), ...generateSidebar({ - rootPath: "src", + rootPath: "src/runtime", contentPath: "components", leadingPath: "/ref", leafFile: "README", @@ -62,9 +62,9 @@ export default defineConfig({ ], rewrites: { - ":root(functions|components)/:type*/README.md": + "runtime/:root(functions|components)/:type*/README.md": "ref/:root(functions|components)/:type*/index.md", - ":root(functions|components)/:type+.md": + "runtime/:root(functions|components)/:type+.md": "ref/:root(functions|components)/:type+.md", }, sitemap: { diff --git a/src/guide/2.baked.md b/src/guide/2.baked.md index 4f23e27..3ae0044 100644 --- a/src/guide/2.baked.md +++ b/src/guide/2.baked.md @@ -1 +1 @@ - +