Skip to content

Commit fb02d46

Browse files
committed
sitemap
1 parent 7b2b84b commit fb02d46

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

astro.config.mjs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import react from "@astrojs/react";
33
import starlight from "@astrojs/starlight";
44
import starlightTypeDoc, { typeDocSidebarGroup } from 'starlight-typedoc';
55

6+
import sitemap from '@astrojs/sitemap';
7+
68
// https://astro.build/config
79
export default defineConfig({
810
redirects: {
@@ -59,5 +61,5 @@ export default defineConfig({
5961
},
6062
}),
6163
],
62-
}), react()],
64+
}), react(), sitemap()],
6365
});

package-lock.json

Lines changed: 5 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"@astrojs/check": "^0.9.4",
1414
"@astrojs/mdx": "^4.3.0",
1515
"@astrojs/react": "^4.3.0",
16+
"@astrojs/sitemap": "^3.4.1",
1617
"@astrojs/starlight": "^0.34.4",
1718
"@codemirror/lang-javascript": "^6.2.2",
1819
"@codemirror/state": "^6.4.1",

0 commit comments

Comments
 (0)