From 52b20fbfe282407296b0bf679e7e24b3ee6aa30c Mon Sep 17 00:00:00 2001 From: Wenjun Xu <906626481@qq.com> Date: Tue, 29 Oct 2024 21:52:55 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E9=85=8D=E7=BD=AE=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/rspress-site/docs/hello.md | 5 ----- packages/rspress-site/rspress.config.ts | 8 ++++++++ 2 files changed, 8 insertions(+), 5 deletions(-) delete mode 100644 packages/rspress-site/docs/hello.md diff --git a/packages/rspress-site/docs/hello.md b/packages/rspress-site/docs/hello.md deleted file mode 100644 index d087715..0000000 --- a/packages/rspress-site/docs/hello.md +++ /dev/null @@ -1,5 +0,0 @@ -# Hello World! - -## Start - -Write something to build your own docs! 🎁 diff --git a/packages/rspress-site/rspress.config.ts b/packages/rspress-site/rspress.config.ts index 07e15ca..c9f8265 100644 --- a/packages/rspress-site/rspress.config.ts +++ b/packages/rspress-site/rspress.config.ts @@ -41,9 +41,17 @@ export default defineConfig({ { text: "什么是 JSX ?", link: "/guide/what-is-jsx" }, ], }, + enableAppearanceAnimation: true, + enableScrollToTop: true, lastUpdated: true, lastUpdatedText: "最后更新时间", outlineTitle: "大纲", + prevPageText: "上一页", + nextPageText: "下一页", + searchPlaceholderText: "搜索文档", + searchNoResultsText: "未搜索到相关结果", + searchSuggestedQueryText: "可更换不同的关键字后重试", + sourceCodeText: "源码", }, markdown: {