feat(docs): add github stars widget and remove social links

Add a GitHub stars widget component to display repository stars count with caching
Remove social links from config as they're now handled by the new widget
Improve font size and line height clamping with null checks
This commit is contained in:
sanbuphy
2026-01-13 20:32:41 +08:00
parent 27d14a4bcc
commit 7e26e9533d
3 changed files with 107 additions and 3 deletions
+3 -3
View File
@@ -15,9 +15,9 @@ const commonThemeConfig = {
search: {
provider: 'local'
},
socialLinks: [
{ icon: 'github', link: 'https://github.com/datawhalechina/easy-vibe' }
],
// socialLinks: [
// { icon: 'github', link: 'https://github.com/datawhalechina/easy-vibe' }
// ],
outline: {
level: [1, 6]
}