From 91fceb514493cd06181650c005396bd08a6c4cd2 Mon Sep 17 00:00:00 2001 From: Steven John Date: Tue, 23 Jan 2024 11:25:53 +0530 Subject: [PATCH] docs: update path --- src/.vitepress/config.ts | 8 ++++---- src/guide/2.baked.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) 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 @@ - +