dev (#10)
* 更新主题配置文件 🔧配置更改 1. 隐藏页面下方的“在 Github 上”编辑按钮 * 更细顶栏配置文件 🐛配置修复 1. 删除无用配置信息 * 更新 CI 部署流程 🐛配置修复 1. 修复了 @vuepress/plugin-git 无法正常获取 Git 提交信息的问题
This commit is contained in:
parent
6b6f6a41d7
commit
2c256dd21a
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -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
|
||||
|
@ -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: "" }],
|
||||
// },
|
||||
// ],
|
||||
// },
|
||||
]);
|
||||
|
@ -87,8 +87,10 @@ export default hopeTheme({
|
||||
type: "katex",
|
||||
},
|
||||
markdownTab: true,
|
||||
git: true
|
||||
},
|
||||
pageInfo: [
|
||||
"Author", "Date", "ReadingTime", "Word"
|
||||
]
|
||||
],
|
||||
editLink: false,
|
||||
});
|
Loading…
x
Reference in New Issue
Block a user