Merge pull request #20 from nbtca/vitepress

add edit link and last updated timestamp
This commit is contained in:
clas 2025-03-30 17:33:36 +08:00 committed by GitHub
commit d09596f09a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 759 additions and 434 deletions

View file

@ -22,10 +22,14 @@ export default defineConfig({
}, },
...getMeetingMinutesSidebar() ...getMeetingMinutesSidebar()
], ],
editLink: {
pattern: 'https://github.com/nbtca/documents/edit/main/:path',
text: 'Edit this page on GitHub'
},
socialLinks: [ socialLinks: [
{ icon: 'github', link: 'https://github.com/nbtca/documents' } { icon: 'github', link: 'https://github.com/nbtca/documents' }
] ]
}, },
ignoreDeadLinks: true ignoreDeadLinks: true,
lastUpdated: true,
}) })

View file

@ -15,10 +15,10 @@
"devDependencies": { "devDependencies": {
"@types/pinyin": "^2.10.2", "@types/pinyin": "^2.10.2",
"vitepress": "^1.6.3", "vitepress": "^1.6.3",
"vitest": "^3.0.4" "vitest": "^3.0.9"
}, },
"dependencies": { "dependencies": {
"@types/node": "^22.10.10", "@types/node": "^22.13.14",
"dayjs": "^1.11.13", "dayjs": "^1.11.13",
"pinyin": "4.0.0-alpha.2", "pinyin": "4.0.0-alpha.2",
"vue": "^3.5.13" "vue": "^3.5.13"

File diff suppressed because it is too large Load diff