dev (#10)
* 更新主题配置文件 🔧配置更改 1. 隐藏页面下方的“在 Github 上”编辑按钮 * 更细顶栏配置文件 🐛配置修复 1. 删除无用配置信息 * 更新 CI 部署流程 🐛配置修复 1. 修复了 @vuepress/plugin-git 无法正常获取 Git 提交信息的问题
This commit is contained in:
parent
7c26ab4d7b
commit
59c64693fd
10
.github/workflows/build.yml
vendored
10
.github/workflows/build.yml
vendored
@ -13,23 +13,25 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: 🚚 Checkout
|
- name: 🚚 Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- uses: pnpm/action-setup@v4
|
- uses: pnpm/action-setup@v4
|
||||||
name: Install pnpm
|
name: 🔧Install pnpm
|
||||||
with:
|
with:
|
||||||
version: 9
|
version: 9
|
||||||
run_install: false
|
run_install: false
|
||||||
|
|
||||||
- name: Install Node.js
|
- name: 🔧Install Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
cache: 'pnpm'
|
cache: 'pnpm'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: 🔧Install dependencies
|
||||||
run: pnpm install
|
run: pnpm install
|
||||||
|
|
||||||
- name: Build doc
|
- name: 🔴Build doc
|
||||||
run: pnpm run docs:build
|
run: pnpm run docs:build
|
||||||
|
|
||||||
- name: 📂 Sync files
|
- name: 📂 Sync files
|
||||||
|
@ -5,23 +5,4 @@ export default navbar([
|
|||||||
"/reference/",
|
"/reference/",
|
||||||
"/spbook/",
|
"/spbook/",
|
||||||
"/other/"
|
"/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",
|
type: "katex",
|
||||||
},
|
},
|
||||||
markdownTab: true,
|
markdownTab: true,
|
||||||
|
git: true
|
||||||
},
|
},
|
||||||
pageInfo: [
|
pageInfo: [
|
||||||
"Author", "Date", "ReadingTime", "Word"
|
"Author", "Date", "ReadingTime", "Word"
|
||||||
]
|
],
|
||||||
|
editLink: false,
|
||||||
});
|
});
|
Loading…
x
Reference in New Issue
Block a user