Skip to content

Commit 3ec9c14

Browse files
committed
fix basepath
1 parent 6787e62 commit 3ec9c14

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

docs_headless/astro.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ export default defineConfig({
123123
[
124124
rehypeAstroRelativeMarkdownLinks,
125125
{
126-
// Do not apply a base segment to the transformed URL path
126+
base: '/ra-core/',
127127
collectionBase: false,
128128
},
129129
],
@@ -132,4 +132,5 @@ export default defineConfig({
132132
vite: {
133133
plugins: [tailwindcss()],
134134
},
135+
base: '/ra-core/',
135136
});

docs_headless/src/content/docs/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ hero:
88
file: ../../assets/houston.webp
99
actions:
1010
- text: Headless
11-
link: /headless/guides/architecture/
11+
link: /ra-core/headless/guides/architecture/
1212
icon: right-arrow
1313
- text: Shadcn UI
14-
link: /shadcn/guides/architecture/
14+
link: /ra-core/shadcn/guides/architecture/
1515
icon: right-arrow
1616
---
1717

0 commit comments

Comments
 (0)