Skip to content

Commit

Permalink
docs: update path
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenJPx2 committed Jan 23, 2024
1 parent 7dd4a4b commit 91fceb5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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: {
Expand Down
2 changes: 1 addition & 1 deletion src/guide/2.baked.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!--@include: ../utils/baked/README.md-->
<!--@include: ../runtime/utils/baked/README.md-->

0 comments on commit 91fceb5

Please sign in to comment.