From 5b87c5eb2d502ec3dd62c24f95fe5b2d1055cc8e Mon Sep 17 00:00:00 2001 From: NIANIANKNIA Date: Mon, 17 Jun 2024 13:14:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-docs.yml | 2 -- src/.vuepress/navbar/en.ts | 4 ++-- src/.vuepress/sidebar/en.ts | 4 ++-- src/README.md | 4 ++-- src/en-US/dev/{README.md => index.md} | 0 src/en-US/server/{README.md => index.md} | 0 6 files changed, 6 insertions(+), 8 deletions(-) rename src/en-US/dev/{README.md => index.md} (100%) rename src/en-US/server/{README.md => index.md} (100%) diff --git a/.github/workflows/deploy-docs.yml b/.github/workflows/deploy-docs.yml index 246f185c..43751a0a 100644 --- a/.github/workflows/deploy-docs.yml +++ b/.github/workflows/deploy-docs.yml @@ -20,8 +20,6 @@ jobs: # 如果你文档需要 Git 子模块,取消注释下一行 # submodules: true - - - name: 设置 Node.js uses: actions/setup-node@v3 with: diff --git a/src/.vuepress/navbar/en.ts b/src/.vuepress/navbar/en.ts index bf17ac3f..d27aa0de 100644 --- a/src/.vuepress/navbar/en.ts +++ b/src/.vuepress/navbar/en.ts @@ -7,13 +7,13 @@ export const enNavbar = navbar([ text: "Server", icon: "server", prefix: "/en-US/server/", - children: ['README','developers','specialThanks'] + children: ['index','developers','specialThanks'] }, { text: "Developer documentation", icon: "code", prefix: "/en-US/dev/", - children: ['README','Http-Bot','Ntrade','KillItem'], + children: ['index','Http-Bot','Ntrade','KillItem'], }, { text: "Links", diff --git a/src/.vuepress/sidebar/en.ts b/src/.vuepress/sidebar/en.ts index 6588ce4d..13237601 100644 --- a/src/.vuepress/sidebar/en.ts +++ b/src/.vuepress/sidebar/en.ts @@ -1,6 +1,6 @@ import { sidebar } from "vuepress-theme-hope"; export const enSidebar = sidebar({ - "/en-US/server/": ['README','developers','specialThanks'], - "/en-US/dev/": ['README','Http-Bot','Ntrade','KillItem'] + "/en-US/server/": ['index','developers','specialThanks'], + "/en-US/dev/": ['index','Http-Bot','Ntrade','KillItem'] }); diff --git a/src/README.md b/src/README.md index 6046a17c..76fa32d6 100644 --- a/src/README.md +++ b/src/README.md @@ -6,10 +6,10 @@ heroImage: /logo.png heroImageDark: /logoDark.png actions: - text: 关于我们 - link: /server + link: /server/ type: primary - text: 部署服务器 - link: /dev + link: /dev/ type: secondary highlights: diff --git a/src/en-US/dev/README.md b/src/en-US/dev/index.md similarity index 100% rename from src/en-US/dev/README.md rename to src/en-US/dev/index.md diff --git a/src/en-US/server/README.md b/src/en-US/server/index.md similarity index 100% rename from src/en-US/server/README.md rename to src/en-US/server/index.md