How to serve Starlight from nested public path (subpath, subdirectory) #2104
-
What version of
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
This doesn't have any effect export default defineConfig({
site: "https://example.com/some/thing",
integrations: [starlight({})],
vite: {
base: "/some/thing",
}
}); |
Beta Was this translation helpful? Give feedback.
-
This is possible using Astro’s export default defineConfig({
site: "https://example.com/",
base: "some/thing",
integrations: [starlight({})],
}); The Astro guide to deploying to GitHub Pages might also be useful. |
Beta Was this translation helpful? Give feedback.
This is possible using Astro’s
base
configuration option instead of the Vite option (which I think has no effect in Astro projects):The Astro guide to deploying to GitHub Pages might also be useful.