From 3b7524f007bd9483435337ac93af13e6cdf1b133 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=A2=E6=99=93=E9=94=8B?= Date: Wed, 12 Jun 2024 11:36:40 +0800 Subject: [PATCH] =?UTF-8?q?docs=F0=9F=93=9D:=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .vitepress/config.mts | 2 +- link-list/index.md | 1 + ...36\345\255\220\345\272\217\345\210\227.md" | 2 +- .../HTTP\350\257\267\346\261\202.md" | 52 +++++++++++++++++-- 4 files changed, 52 insertions(+), 5 deletions(-) rename "pages/6-\345\211\215\347\253\257\347\237\245\350\257\206\347\202\271/\347\275\221\347\273\234\347\237\245\350\257\206.md" => "pages/6-\345\211\215\347\253\257\347\237\245\350\257\206\347\202\271/HTTP\350\257\267\346\261\202.md" (55%) diff --git a/.vitepress/config.mts b/.vitepress/config.mts index b8af7a0..ab6c860 100644 --- a/.vitepress/config.mts +++ b/.vitepress/config.mts @@ -85,7 +85,7 @@ function initSideBar() { .map((dir) => { return readDir(dir, resolve(root, dir), `pages`); }) - .map((item, index) => { + .map((item) => { item.text = item.text.replace( /^(\d+)-/, (_, p1) => `${numberToChinese(p1)}、` diff --git a/link-list/index.md b/link-list/index.md index f5e46f3..f4f203b 100644 --- a/link-list/index.md +++ b/link-list/index.md @@ -1,5 +1,6 @@ +