Skip to content

Commit 680b5da

Browse files
committed
Set site and base in Astro config
Add site and base fields to docs/astro.config.mjs to configure deployment target and base path for GitHub Pages. Sets site to https://gdcc.github.io and base to /pyDataverse so generated URLs resolve correctly when hosted under that path.
1 parent 7b56cdc commit 680b5da

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

docs/astro.config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import mermaid from 'astro-mermaid';
88

99
// https://astro.build/config
1010
export default defineConfig({
11+
site: 'https://gdcc.github.io',
12+
base: '/pyDataverse',
1113
redirects: {
1214
'/': '/getting-started',
1315
},

0 commit comments

Comments
 (0)