Skip to content

Commit 2a9a5ee

Browse files
committed
add some options
1 parent f1d66d0 commit 2a9a5ee

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.vitepress/config.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,11 @@ export default defineConfig({
1313
],
1414

1515
srcDir: "src",
16-
base: "/Wiki",
16+
base: "/Wiki/",
17+
sitemap: {
18+
hostname: "https://topper-mc.github.io/Wiki/",
19+
},
20+
metaChunk: true,
1721

1822
themeConfig: {
1923
logo: "https://topper-mc.github.io/Assets/topper/logo.svg",
@@ -72,6 +76,10 @@ export default defineConfig({
7276

7377
search: {
7478
provider: "local"
79+
},
80+
81+
editLink: {
82+
pattern: 'https://github.com/Topper-MC/Wiki/edit/main/src/:path'
7583
}
7684
},
7785
markdown: {

0 commit comments

Comments
 (0)