From dd4bf15ff9a45b98c26f68d0bf2b7d57a5b99385 Mon Sep 17 00:00:00 2001 From: zihluwang Date: Wed, 20 May 2026 19:41:29 +0800 Subject: [PATCH 1/3] fix: fix index page picture not found --- docs/en-gb/index.md | 2 +- docs/zh-hans/index.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en-gb/index.md b/docs/en-gb/index.md index 6a3932c..b23e088 100644 --- a/docs/en-gb/index.md +++ b/docs/en-gb/index.md @@ -12,7 +12,7 @@ hero: text: GitHub link: https://github.com/web-infra-dev/rspress image: - src: /rspress-icon.png + src: /onixbyte-icon.svg alt: Logo features: - title: Blazing fast build speed diff --git a/docs/zh-hans/index.md b/docs/zh-hans/index.md index 6a3932c..b23e088 100644 --- a/docs/zh-hans/index.md +++ b/docs/zh-hans/index.md @@ -12,7 +12,7 @@ hero: text: GitHub link: https://github.com/web-infra-dev/rspress image: - src: /rspress-icon.png + src: /onixbyte-icon.svg alt: Logo features: - title: Blazing fast build speed From e592b94a14967cfea5e3b5a8e0a984ad6f411461 Mon Sep 17 00:00:00 2001 From: zihluwang Date: Thu, 21 May 2026 00:48:15 +0800 Subject: [PATCH 2/3] feat: redesign homepage for OnixByte open-source collective Replace Rspress documentation template with an organization homepage featuring OnixByte's key projects: Toolbox, Dev Lab, Helix, and Delta Force Guide. Bilingual content for en-gb and zh-hans. --- docs/en-gb/index.md | 52 ++++++++++++++++++------------------------- docs/zh-hans/index.md | 52 ++++++++++++++++++------------------------- 2 files changed, 44 insertions(+), 60 deletions(-) diff --git a/docs/en-gb/index.md b/docs/en-gb/index.md index b23e088..73353d7 100644 --- a/docs/en-gb/index.md +++ b/docs/en-gb/index.md @@ -2,41 +2,33 @@ pageType: home hero: - name: OnixByte Official - tagline: OnixByte Homepage + name: OnixByte + tagline: A small open-source collective, crafting tools for developers. actions: - theme: brand - text: Quick Start - link: /guide/start/introduction + text: Explore Projects + link: https://github.com/onixbyte - theme: alt - text: GitHub - link: https://github.com/web-infra-dev/rspress + text: Try Dev Lab + link: https://dev-lab.onixbyte.dev image: src: /onixbyte-icon.svg alt: Logo features: - - title: Blazing fast build speed - details: The core compilation module is based on the Rust front-end toolchain, providing a more ultimate development experience. - icon: 🏃🏻‍♀️ - link: /guide/start/introduction - - title: Support for MDX content writing - details: MDX is a powerful way to write content, allowing you to use React components in Markdown. - icon: 📦 - link: /guide/use-mdx/components - - title: Built-in full-text search - details: Automatically generates a full-text search index for you during construction, providing out-of-the-box full-text search capabilities. - icon: 🎨 - link: https://rspress.rs/guide/advanced/custom-search - - title: AI-friendly - details: Generate llms.txt and Markdown files compliant with the llms.txt specification through SSG-MD, making it easier for large language models to understand and use your documentation. - icon: 🤖 - link: https://rspress.rs/guide/basic/ssg-md - - title: Static site generation - details: In production, it automatically builds into static HTML files, which can be easily deployed anywhere. - icon: 🌈 - link: https://rspress.rs/guide/basic/ssg - - title: Providing multiple custom capabilities - details: Through its extension mechanism, you can easily extend theme UI and build process. - icon: 🔥 - link: https://rspress.rs/guide/basic/custom-theme + - title: OnixByte Toolbox + details: A versatile Java library providing common utilities for modern development with seamless Spring integration. Published on Maven Central. + icon: ☕ + link: https://github.com/onixbyte/onixbyte-toolbox + - title: Dev Lab + details: A collection of practical web tools built with Vite and React. Features a JSON Path viewer, BMI calculator, and JSON-to-table converter. + icon: 🛠️ + link: https://dev-lab.onixbyte.dev + - title: Helix + details: An evolving full-stack template combining Spring Boot with React, designed to help you ship applications faster. + icon: 🌀 + link: https://github.com/onixbyte + - title: Delta Force Guide + details: A community-oriented guide for Delta Force, delivering game news, tips, and strategic insights for fellow operators. + icon: 🎯 + link: https://github.com/onixbyte/delta-force-guide-web --- diff --git a/docs/zh-hans/index.md b/docs/zh-hans/index.md index b23e088..ff5b70d 100644 --- a/docs/zh-hans/index.md +++ b/docs/zh-hans/index.md @@ -2,41 +2,33 @@ pageType: home hero: - name: OnixByte Official - tagline: OnixByte Homepage + name: OnixByte + tagline: 一个小型开源开发者组织,为开发者打造实用工具。 actions: - theme: brand - text: Quick Start - link: /guide/start/introduction + text: 探索项目 + link: https://github.com/onixbyte - theme: alt - text: GitHub - link: https://github.com/web-infra-dev/rspress + text: 体验 Dev Lab + link: https://dev-lab.onixbyte.dev image: src: /onixbyte-icon.svg alt: Logo features: - - title: Blazing fast build speed - details: The core compilation module is based on the Rust front-end toolchain, providing a more ultimate development experience. - icon: 🏃🏻‍♀️ - link: /guide/start/introduction - - title: Support for MDX content writing - details: MDX is a powerful way to write content, allowing you to use React components in Markdown. - icon: 📦 - link: /guide/use-mdx/components - - title: Built-in full-text search - details: Automatically generates a full-text search index for you during construction, providing out-of-the-box full-text search capabilities. - icon: 🎨 - link: https://rspress.rs/guide/advanced/custom-search - - title: AI-friendly - details: Generate llms.txt and Markdown files compliant with the llms.txt specification through SSG-MD, making it easier for large language models to understand and use your documentation. - icon: 🤖 - link: https://rspress.rs/guide/basic/ssg-md - - title: Static site generation - details: In production, it automatically builds into static HTML files, which can be easily deployed anywhere. - icon: 🌈 - link: https://rspress.rs/guide/basic/ssg - - title: Providing multiple custom capabilities - details: Through its extension mechanism, you can easily extend theme UI and build process. - icon: 🔥 - link: https://rspress.rs/guide/basic/custom-theme + - title: OnixByte Toolbox + details: 一个多功能 Java 类库,为现代 Java 开发提供通用工具,无缝集成 Spring 生态。已上架 Maven Central。 + icon: ☕ + link: https://github.com/onixbyte/onixbyte-toolbox + - title: Dev Lab + details: 基于 Vite 和 React 构建的实用在线工具集。包含 JSON Path 查看器、BMI 计算器以及 JSON 转表格工具。 + icon: 🛠️ + link: https://dev-lab.onixbyte.dev + - title: Helix + details: 一个不断演进的前后端模版项目,结合 Spring Boot 与 React,助你快速构建应用。 + icon: 🌀 + link: https://github.com/onixbyte + - title: Delta Force Guide + details: 社区向的《三角洲行动》游戏指南,提供最新游戏资讯、实用技巧和战术策略。 + icon: 🎯 + link: https://github.com/onixbyte/delta-force-guide-web --- From dbdf8f7a963e8176bc53a7628baab02e3ba69c6c Mon Sep 17 00:00:00 2001 From: zihluwang Date: Thu, 21 May 2026 00:50:25 +0800 Subject: [PATCH 3/3] fix: add missing i18n translation keys for theme UI strings Add comprehensive bilingual translations for theme UI elements including search, navigation, code blocks, prompts, and blog/notifications labels. --- i18n.json | 116 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 116 insertions(+) diff --git a/i18n.json b/i18n.json index cdd9da3..c9b1457 100644 --- a/i18n.json +++ b/i18n.json @@ -2,5 +2,121 @@ "outlineTitle": { "en-gb": "ON THIS PAGE", "zh-hans": "目录" + }, + "languagesText": { + "en-gb": "Languages", + "zh-hans": "语言" + }, + "themeText": { + "en-gb": "Theme", + "zh-hans": "主题" + }, + "versionsText": { + "en-gb": "Versions", + "zh-hans": "版本" + }, + "menuTitle": { + "en-gb": "Menu", + "zh-hans": "菜单" + }, + "scrollToTopText": { + "en-gb": "Back to top", + "zh-hans": "回到顶部" + }, + "lastUpdatedText": { + "en-gb": "Last Updated", + "zh-hans": "最后更新于" + }, + "prevPageText": { + "en-gb": "Previous page", + "zh-hans": "上一页" + }, + "nextPageText": { + "en-gb": "Next page", + "zh-hans": "下一页" + }, + "sourceCodeText": { + "en-gb": "Source Code", + "zh-hans": "源码" + }, + "searchPlaceholderText": { + "en-gb": "Search", + "zh-hans": "搜索" + }, + "searchPanelCancelText": { + "en-gb": "Cancel", + "zh-hans": "取消" + }, + "searchNoResultsText": { + "en-gb": "No matching results", + "zh-hans": "未找到与之匹配的结果" + }, + "searchSuggestedQueryText": { + "en-gb": "Try searching for different keywords", + "zh-hans": "试试搜索不同关键词" + }, + "overview.filterNameText": { + "en-gb": "Filter", + "zh-hans": "筛选" + }, + "overview.filterPlaceholderText": { + "en-gb": "Search API", + "zh-hans": "搜索 API" + }, + "overview.filterNoResultText": { + "en-gb": "No matching API found", + "zh-hans": "未找到匹配的 API" + }, + "openInText": { + "en-gb": "Open in {{name}}", + "zh-hans": "在 {{name}} 中打开" + }, + "copyMarkdownText": { + "en-gb": "Copy Markdown", + "zh-hans": "复制 Markdown" + }, + "copyMarkdownLinkText": { + "en-gb": "Copy Markdown link", + "zh-hans": "复制 Markdown 链接" + }, + "editLinkText": { + "en-gb": "Edit this page", + "zh-hans": "编辑此页面" + }, + "codeButtonGroupCopyButtonText": { + "en-gb": "Copy code", + "zh-hans": "复制代码" + }, + "notFoundText": { + "en-gb": "PAGE NOT FOUND", + "zh-hans": "页面未找到" + }, + "takeMeHomeText": { + "en-gb": "Take me home", + "zh-hans": "返回首页" + }, + "promptCopyText": { + "en-gb": "Copy Prompt", + "zh-hans": "复制 Prompt" + }, + "promptCopiedText": { + "en-gb": "Copied", + "zh-hans": "已复制" + }, + "promptExpandText": { + "en-gb": "Expand", + "zh-hans": "展开" + }, + "promptCollapseText": { + "en-gb": "Collapse", + "zh-hans": "折叠" + }, + "blog": { + "en-gb": "Blog", + "zh-hans": "博客" + }, + "notifications": { + "en-gb": "Notifications", + "zh-hans": "通知" } }