- 从 collections、导航移除 LeetCode,删除 docs/notes/programming/leetcode 下页面 - devDependencies 显式加入 @vuepress/helper@rc.123,配合 overrides 降低 Vite 预构建白屏风险 - 新增 npm run docs:verify 与 scripts/verify-site.mjs(构建后检查首页 hero) - .cursor/rules/agent-workflow-verify-and-git.mdc:每次修改须验证;用户未明确说不要提交时默认 commit Made-with: Cursor
77 lines
1.2 KiB
TypeScript
77 lines
1.2 KiB
TypeScript
import { defineNavbarConfig } from 'vuepress-theme-plume'
|
|
|
|
export default defineNavbarConfig([
|
|
{
|
|
text: '首页',
|
|
link: '/',
|
|
},
|
|
{
|
|
text: '博客',
|
|
link: '/blog/',
|
|
},
|
|
{
|
|
text: '学科知识',
|
|
items: [
|
|
{
|
|
text: '英语学习笔记',
|
|
link: '/subject/english/',
|
|
},
|
|
{
|
|
text: '系统分析师',
|
|
link: '/subject/certification/',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
text: '编程笔记',
|
|
items: [
|
|
{
|
|
text: 'Solidity',
|
|
link: '/programming/solidity/',
|
|
},
|
|
{
|
|
text: 'Web 开发',
|
|
link: '/programming/web/',
|
|
}
|
|
],
|
|
},
|
|
{
|
|
text:"技术理论",
|
|
items:[
|
|
{
|
|
text: '密码学基础',
|
|
link: '/theory/cryptography/',
|
|
},
|
|
]
|
|
},
|
|
{
|
|
text: '运维',
|
|
items: [
|
|
{
|
|
text: '区块链运维',
|
|
link: '/ops/blockchain/',
|
|
},
|
|
{
|
|
text: 'Linux 运维',
|
|
link: '/ops/linux/',
|
|
},
|
|
{
|
|
text: 'Docker 运维',
|
|
link: '/ops/docker/',
|
|
},
|
|
],
|
|
},
|
|
{
|
|
text: '工具',
|
|
link: '/tools/',
|
|
},
|
|
{
|
|
text: '关于',
|
|
link: '/about/',
|
|
},
|
|
{
|
|
text: '友情链接',
|
|
link: '/friends/',
|
|
},
|
|
])
|