diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 51eb11a..ae4f289 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/src/.vuepress/navbar.ts b/src/.vuepress/navbar.ts index bb1dcbd..77ba656 100644 --- a/src/.vuepress/navbar.ts +++ b/src/.vuepress/navbar.ts @@ -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: "" }], - // }, - // ], - // }, ]); diff --git a/src/.vuepress/theme.ts b/src/.vuepress/theme.ts index 94b701b..275966a 100644 --- a/src/.vuepress/theme.ts +++ b/src/.vuepress/theme.ts @@ -87,8 +87,10 @@ export default hopeTheme({ type: "katex", }, markdownTab: true, + git: true }, pageInfo: [ "Author", "Date", "ReadingTime", "Word" - ] + ], + editLink: false, }); \ No newline at end of file