Skip to content

Commit e67da2b

Browse files
committed
[docs] Added edit this page link
1 parent b252e1e commit e67da2b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

packages/docs/.vitepress/config.mts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,14 @@ export default defineConfig({
2020
vite: {
2121
plugins: [groupIconVitePlugin()],
2222
},
23+
lastUpdated: true,
2324
// https://vitepress.dev/reference/default-theme-config
2425
head: [["link", { rel: "icon", href: "/thy-weaver/favicon.svg" }]],
2526
themeConfig: {
27+
editLink: {
28+
pattern:
29+
"https://github.com/greatsquare0/thy-weaver/edit/main/packages/docs/src/:path",
30+
},
2631
search: {
2732
provider: "local",
2833
},

0 commit comments

Comments
 (0)