我添加了wyg

This commit is contained in:
2025-11-16 19:52:42 +08:00
parent 05bb98a2c2
commit 28cc6eb0f0
2 changed files with 16 additions and 12 deletions

View File

@@ -1,4 +1,4 @@
import { defineConfig } from 'vitepress' import { defineConfig } from "vitepress";
// https://vitepress.dev/reference/site-config // https://vitepress.dev/reference/site-config
export default defineConfig({ export default defineConfig({
@@ -7,22 +7,23 @@ export default defineConfig({
themeConfig: { themeConfig: {
// https://vitepress.dev/reference/default-theme-config // https://vitepress.dev/reference/default-theme-config
nav: [ nav: [
{ text: 'Home', link: '/' }, { text: "Home", link: "/" },
{ text: 'Examples', link: '/markdown-examples' } { text: "Examples", link: "/markdown-examples" },
], ],
sidebar: [ sidebar: [
{ {
text: 'Examples', text: "Examples",
items: [ items: [
{ text: 'Markdown Examples', link: '/markdown-examples' }, { text: "Markdown Examples", link: "/markdown-examples" },
{ text: 'Runtime API Examples', link: '/api-examples' } { text: "Runtime API Examples", link: "/api-examples" },
] { text: "吴禹谷", link: "/wyg" },
} ],
},
], ],
socialLinks: [ socialLinks: [
{ icon: 'github', link: 'https://github.com/vuejs/vitepress' } { icon: "github", link: "https://github.com/vuejs/vitepress" },
] ],
} },
}) });

3
docs/wyg.md Normal file
View File

@@ -0,0 +1,3 @@
# wyg
content