* 更新主题配置文件

🔧配置更改
1. 隐藏页面下方的“在 Github 上”编辑按钮

* 更细顶栏配置文件

🐛配置修复
1. 删除无用配置信息

* 更新 CI 部署流程

🐛配置修复
1. 修复了 @vuepress/plugin-git 无法正常获取 Git 提交信息的问题
This commit is contained in:
王浩 2024-11-09 08:43:14 +08:00 committed by GitHub
parent 7c26ab4d7b
commit 59c64693fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 9 additions and 24 deletions

View File

@ -13,23 +13,25 @@ jobs:
steps:
- name: 🚚 Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v4
name: Install pnpm
name: 🔧Install pnpm
with:
version: 9
run_install: false
- name: Install Node.js
- name: 🔧Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
- name: Install dependencies
- name: 🔧Install dependencies
run: pnpm install
- name: Build doc
- name: 🔴Build doc
run: pnpm run docs:build
- name: 📂 Sync files

View File

@ -5,23 +5,4 @@ export default navbar([
"/reference/",
"/spbook/",
"/other/"
// {
// text: "指南",
// icon: "lightbulb",
// prefix: "/guide/",
// children: [
// {
// text: "Bar",
// icon: "lightbulb",
// prefix: "bar/",
// children: ["baz", { text: "...", icon: "ellipsis", link: "" }],
// },
// {
// text: "Foo",
// icon: "lightbulb",
// prefix: "foo/",
// children: ["ray", { text: "...", icon: "ellipsis", link: "" }],
// },
// ],
// },
]);

View File

@ -87,8 +87,10 @@ export default hopeTheme({
type: "katex",
},
markdownTab: true,
git: true
},
pageInfo: [
"Author", "Date", "ReadingTime", "Word"
]
],
editLink: false,
});