From 51fdd630e6a5808d020ea9ba3ed684dc0eb27637 Mon Sep 17 00:00:00 2001 From: linhieng <790728740@qq.com> Date: Sun, 14 Apr 2024 16:24:31 +0800 Subject: [PATCH] =?UTF-8?q?cd:=20fix=20=E5=BF=98=E8=AE=B0=E6=88=91?= =?UTF-8?q?=E5=B7=B2=E7=BB=8F=E5=8F=96=E6=B6=88=E6=8E=89=E5=90=8E=E7=BC=80?= =?UTF-8?q?=E5=90=8D=E4=BA=86=EF=BC=8C=E6=89=80=E4=BB=A5=E8=BF=87=E6=BB=A4?= =?UTF-8?q?=E6=97=B6=E6=B2=A1=E8=BF=87=E6=BB=A4=20README?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 2 +- .vitepress/config.mjs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 9d91da4..0d04b09 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -36,7 +36,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: 20 - # cache: npm 难道开启缓存,需要 lock 文件? + # cache: npm 难道开启缓存,需要 lock 文件?没错! - name: Setup Pages uses: actions/configure-pages@v4 - name: Install dependencies diff --git a/.vitepress/config.mjs b/.vitepress/config.mjs index 0a7320e..24bbcf5 100644 --- a/.vitepress/config.mjs +++ b/.vitepress/config.mjs @@ -48,7 +48,7 @@ function getOneSidebar(pathPrefix) { const sidebar = dfsReadme(pathPrefix) return sidebar - .filter(v => !(v.text === 'README.md')) + .filter(v => !(v.text === 'README.md' || v.text === 'README')) .map(v => ({ ...v, collapsed: true })) } function getSideBar() {