diff --git a/blog/authors.yml b/blog/authors.yml
index 2102044..157d77c 100644
--- a/blog/authors.yml
+++ b/blog/authors.yml
@@ -1,5 +1,7 @@
zidonghuayu:
name: 紫冬话语
title: 清华大学自动化系本科生宣传平台
+ url: https://mp.weixin.qq.com/mp/profile_ext?action=home&__biz=MzkxMzUyMzU4OQ==
image_url: /img/zidonghuayu.png
+ email: thuasta_submit@126.com
page: true
diff --git a/docs/learning resources/repo/github.md b/docs/learning resources/repo/github.md
deleted file mode 100644
index 326a552..0000000
--- a/docs/learning resources/repo/github.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# GitHub
-
-[**GitHub**](https://github.com/) 是一个基于 [Git](../vcs/git.md) 进行软件开发和[版本控制](../vcs/index.md)的网络代码托管平台。它不仅提供了 Git 的分布式版本控制和源代码管理功能,还拥有自己的特色功能。
-
-:::tip[访问以下资源以了解更多信息]
-
-- [GitHub 文档](https://docs.github.com/zh/get-started/quickstart)
-
-:::
diff --git a/docs/learning resources/apis/index.md b/docs/learning_resources/apis/index.md
similarity index 82%
rename from docs/learning resources/apis/index.md
rename to docs/learning_resources/apis/index.md
index 4fa2b71..0d995eb 100644
--- a/docs/learning resources/apis/index.md
+++ b/docs/learning_resources/apis/index.md
@@ -2,7 +2,7 @@
API 是应用程序编程接口(Application Programming Interface)的首字母缩写词,它是一种允许两个应用程序相互通信的软件中介。
-:::tip[访问以下资源以了解更多信息]
+:::info[访问以下资源以了解更多信息]
- [什么是 API?](https://aws.amazon.com/what-is/api/)
diff --git a/docs/learning resources/apis/rest.md b/docs/learning_resources/apis/rest.md
similarity index 92%
rename from docs/learning resources/apis/rest.md
rename to docs/learning_resources/apis/rest.md
index 9527806..c36df9a 100644
--- a/docs/learning resources/apis/rest.md
+++ b/docs/learning_resources/apis/rest.md
@@ -2,7 +2,7 @@
REST,即表述性状态转移(REpresentational State Transfer),是一种用于在 Web 上提供计算机系统之间标准的软件架构风格,使得系统之间更容易相互通信。
-:::tip[访问以下资源以了解更多信息]
+:::info[访问以下资源以了解更多信息]
- [什么是 REST?](https://www.codecademy.com/article/what-is-rest)
- [什么是 REST API?](https://www.redhat.com/zh/topics/api/what-is-a-rest-api)
diff --git a/docs/learning resources/build_sys/cmake.md b/docs/learning_resources/build_sys/cmake.md
similarity index 95%
rename from docs/learning resources/build_sys/cmake.md
rename to docs/learning_resources/build_sys/cmake.md
index 9bbf747..0e0e50c 100644
--- a/docs/learning resources/build_sys/cmake.md
+++ b/docs/learning_resources/build_sys/cmake.md
@@ -31,14 +31,14 @@ set_target_properties(${PROJECT_NAME} PROPERTIES
- 为构建项目创建一个新目录。
-```sh
+```bash
mkdir build
cd build
```
- 使用 CMake 生成构建文件。
-```sh
+```bash
cmake ..
```
@@ -46,19 +46,19 @@ cmake ..
- 使用生成的构建文件构建项目。
-```sh
+```bash
make
```
或者,在带有 Visual Studio 的 Windows 上,你可以使用:
-```sh
+```bash
msbuild MyProject.sln
```
CMake 可以轻松管理大型项目,定义自定义构建配置,并适用于许多不同的编译器和操作系统。这使得它成为管理 C++ 项目构建系统的广泛选择工具。
-:::tip[访问以下资源以了解更多信息]
+:::info[访问以下资源以了解更多信息]
- [CMake 官方教程](https://cmake.org/cmake/help/latest/guide/tutorial/index.html)
- [现代 CMake 入门](https://cliutils.gitlab.io/modern-cmake/)
diff --git a/docs/learning resources/build_sys/index.md b/docs/learning_resources/build_sys/index.md
similarity index 100%
rename from docs/learning resources/build_sys/index.md
rename to docs/learning_resources/build_sys/index.md
diff --git a/docs/learning resources/ci_cd/github_actions.md b/docs/learning_resources/ci_cd/github_actions.md
similarity index 85%
rename from docs/learning resources/ci_cd/github_actions.md
rename to docs/learning_resources/ci_cd/github_actions.md
index 05d056d..d619c95 100644
--- a/docs/learning resources/ci_cd/github_actions.md
+++ b/docs/learning_resources/ci_cd/github_actions.md
@@ -2,7 +2,7 @@
GitHub Actions 是 [GitHub](../repo/github.md) 提供的工作流程自动化工具,可用于自动化应用程序开发过程中的各种任务。
-:::tip[访问以下资源以了解更多信息]
+:::info[访问以下资源以了解更多信息]
- [GitHub Actions](https://github.com/features/actions)
- [GitHub Actions 文档](https://docs.github.com/zh/actions)
diff --git a/docs/learning resources/ci_cd/index.md b/docs/learning_resources/ci_cd/index.md
similarity index 86%
rename from docs/learning resources/ci_cd/index.md
rename to docs/learning_resources/ci_cd/index.md
index 74a0d84..dd61ed1 100644
--- a/docs/learning resources/ci_cd/index.md
+++ b/docs/learning_resources/ci_cd/index.md
@@ -2,7 +2,7 @@
CI/CD,即持续集成/持续部署(Continuous Integration/Continuous Deployment),是一种自动构建、测试和部署应用程序的方法,其主要目标是尽早发现问题,并提供更快的发布到生产环境。
-:::tip[访问以下资源以了解更多信息]
+:::info[访问以下资源以了解更多信息]
- [什么是 CI/CD?](https://about.gitlab.com/topics/ci-cd/)
diff --git a/docs/learning resources/container/docker.md b/docs/learning_resources/container/docker.md
similarity index 87%
rename from docs/learning resources/container/docker.md
rename to docs/learning_resources/container/docker.md
index 84711a0..a812f83 100644
--- a/docs/learning resources/container/docker.md
+++ b/docs/learning_resources/container/docker.md
@@ -2,7 +2,7 @@
Docker 是一个用于处理容器化应用程序的平台。它的功能包括用于管理容器并与之交互的守护程序和客户端、用于存储映像的注册表,以及将所有功能打包在一起的桌面应用程序。
-:::tip[访问以下资源以了解更多信息]
+:::info[访问以下资源以了解更多信息]
- [什么是 Docker?](https://aws.amazon.com/cn/docker/)
- [Docker 文档](https://docs.docker.com/)
diff --git a/docs/learning resources/container/index.md b/docs/learning_resources/container/index.md
similarity index 84%
rename from docs/learning resources/container/index.md
rename to docs/learning_resources/container/index.md
index d1beb6f..068aae8 100644
--- a/docs/learning resources/container/index.md
+++ b/docs/learning_resources/container/index.md
@@ -2,7 +2,7 @@
容器(containers)和虚拟机(virtual machines)是为组织设置软件基础架构的两种最流行的方法。
-:::tip[访问以下资源以了解更多信息]
+:::info[访问以下资源以了解更多信息]
- [容器化与虚拟化:你需要了解的一切](https://middleware.io/blog/containerization-vs-virtualization/)
diff --git a/docs/learning resources/index.md b/docs/learning_resources/index.md
similarity index 100%
rename from docs/learning resources/index.md
rename to docs/learning_resources/index.md
diff --git a/docs/learning resources/markdown.md b/docs/learning_resources/markdown.md
similarity index 87%
rename from docs/learning resources/markdown.md
rename to docs/learning_resources/markdown.md
index 719d656..78ffe9b 100644
--- a/docs/learning resources/markdown.md
+++ b/docs/learning_resources/markdown.md
@@ -2,7 +2,7 @@
Markdown 是一种轻量级标记语言,可用于向纯文本文档添加格式元素。它通常用于在 Web 上编写,这样你不必编写繁琐的 HTML 标签。学习 Markdown 的主要目标是让你专注于内容,而不会被复杂的格式分心,并使你的内容更具可读性且更易于维护。
-:::tip[访问以下资源以了解更多信息]
+:::info[访问以下资源以了解更多信息]
- [GitHub 上写作和格式化的入门指南](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github)
@@ -10,7 +10,7 @@ Markdown 是一种轻量级标记语言,可用于向纯文本文档添加格
Mermaid 是一种类似 Markdown 的脚本语言,用于通过 JavaScript 从文本生成图表。本文档使用它来生成流程图。
-:::tip[访问以下资源以了解更多信息]
+:::info[访问以下资源以了解更多信息]
- [Mermaid](https://mermaid.js.org/intro/)
diff --git a/docs/learning resources/networking/http.md b/docs/learning_resources/networking/http.md
similarity index 90%
rename from docs/learning resources/networking/http.md
rename to docs/learning_resources/networking/http.md
index 4e979c5..605295c 100644
--- a/docs/learning resources/networking/http.md
+++ b/docs/learning_resources/networking/http.md
@@ -2,7 +2,7 @@
HTTP 是一种基于 `TCP/IP` 的应用层通信协议,它标准化了客户端和服务器之间的通信方式。它还定义了如何在互联网上请求和传输内容。
-:::tip[访问以下资源以了解更多信息]
+:::info[访问以下资源以了解更多信息]
- [你需要了解的 HTTP 的所有信息](https://cs.fyi/guide/http-in-depth)
- [什么是 HTTP?](https://www.cloudflare.com/zh-cn/learning/ddos/glossary/hypertext-transfer-protocol-http/)
diff --git a/docs/learning resources/networking/index.md b/docs/learning_resources/networking/index.md
similarity index 88%
rename from docs/learning resources/networking/index.md
rename to docs/learning_resources/networking/index.md
index 69ac856..33f1a28 100644
--- a/docs/learning resources/networking/index.md
+++ b/docs/learning_resources/networking/index.md
@@ -6,7 +6,7 @@ sidebar_label: '网络'
互联网(Internet)是一个由相互连接的计算机组成的全球网络,这些计算机通过一组标准化的协议进行通信。
-:::tip[访问以下资源以了解更多信息]
+:::info[访问以下资源以了解更多信息]
- [互联网如何工作?](https://cs.fyi/guide/how-does-internet-work)
- [互联网如何工作?](http://web.stanford.edu/class/msande91si/www-spr04/readings/week1/InternetWhitepaper.htm)
diff --git a/docs/learning resources/networking/websockets.md b/docs/learning_resources/networking/websockets.md
similarity index 89%
rename from docs/learning resources/networking/websockets.md
rename to docs/learning_resources/networking/websockets.md
index 79eda56..13e1a31 100644
--- a/docs/learning resources/networking/websockets.md
+++ b/docs/learning_resources/networking/websockets.md
@@ -2,7 +2,7 @@
WWebSockets 是服务器与客户端之间的双向通信协议,这意味着双方可以同时进行通信并交换数据。该协议从头开始定义了全双工通信。WebSockets 在将桌面级的丰富功能带入 Web 浏览器方面向前迈进了一步。
-:::tip[访问以下资源以了解更多信息]
+:::info[访问以下资源以了解更多信息]
- [WebSockets 简介](https://www.tutorialspoint.com/websockets/index.htm)
- [Socket.io 库](https://socket.io/zh-CN/)
diff --git a/docs/learning resources/os/commands.md b/docs/learning_resources/os/commands.md
similarity index 92%
rename from docs/learning resources/os/commands.md
rename to docs/learning_resources/os/commands.md
index 961d4a5..25f8a2e 100644
--- a/docs/learning resources/os/commands.md
+++ b/docs/learning_resources/os/commands.md
@@ -8,7 +8,7 @@
在对这些命令进行足够的接触和练习之后,在实践中使用它们会变得更加容易。
-:::tip[访问以下资源以了解更多信息]
+:::info[访问以下资源以了解更多信息]
- [命令行练习](https://cmdchallenge.com/)
diff --git a/docs/learning resources/os/index.md b/docs/learning_resources/os/index.md
similarity index 88%
rename from docs/learning resources/os/index.md
rename to docs/learning_resources/os/index.md
index 4c30552..5f7ed8b 100644
--- a/docs/learning resources/os/index.md
+++ b/docs/learning_resources/os/index.md
@@ -2,7 +2,7 @@
操作系统是管理计算机资源的程序,主要负责在各个程序之间合理分配资源。这些资源包括中央处理单元(CPU)、计算机内存、文件存储、输入/输出(I/O)设备以及网络连接等。
-:::tip[访问以下资源以了解更多信息]
+:::info[访问以下资源以了解更多信息]
- [什么是操作系统?](https://edu.gcfglobal.org/en/computerbasics/understanding-operating-systems/1/)
diff --git a/docs/learning resources/os/terminal.md b/docs/learning_resources/os/terminal.md
similarity index 90%
rename from docs/learning resources/os/terminal.md
rename to docs/learning_resources/os/terminal.md
index 4c32a61..beb739d 100644
--- a/docs/learning resources/os/terminal.md
+++ b/docs/learning_resources/os/terminal.md
@@ -6,7 +6,7 @@ sidebar_position: 1
终端(Terminals),也称为命令行(command lines)或控制台(consoles),允许我们在不使用图形用户界面的情况下完成和自动化计算机上的任务。
-:::tip[访问以下资源以了解更多信息]
+:::info[访问以下资源以了解更多信息]
- [命令行速成课程](https://developer.mozilla.org/zh-CN/docs/Learn/Tools_and_testing/Understanding_client-side_tools/Command_line)
- [你必须知道的 50+ Linux 命令](https://www.digitalocean.com/community/tutorials/linux-commands)
diff --git a/docs/learning resources/packages/conda.md b/docs/learning_resources/packages/conda.md
similarity index 94%
rename from docs/learning resources/packages/conda.md
rename to docs/learning_resources/packages/conda.md
index 8e7e139..048cf66 100644
--- a/docs/learning resources/packages/conda.md
+++ b/docs/learning_resources/packages/conda.md
@@ -4,7 +4,7 @@ Conda 是一个开源的包管理器和环境管理系统,支持 Windows、mac
作为包管理器,Conda 帮助你查找和安装所需的软件包。如果需要一个要求特定 Python 版本的软件包,你无需切换至其他环境管理工具,因为 Conda 本身就是一个强大的环境管理器。通过简单的命令操作,你就可以创建一个完全独立的环境来运行特定版本的 Python,同时继续在正常环境中运行你常用的 Python 版本。
-:::tip[访问以下资源以了解更多信息]
+:::info[访问以下资源以了解更多信息]
- [Conda 文档](https://docs.conda.io/en/latest/)
diff --git a/docs/learning resources/packages/index.md b/docs/learning_resources/packages/index.md
similarity index 100%
rename from docs/learning resources/packages/index.md
rename to docs/learning_resources/packages/index.md
diff --git a/docs/learning resources/packages/poetry.md b/docs/learning_resources/packages/poetry.md
similarity index 93%
rename from docs/learning resources/packages/poetry.md
rename to docs/learning_resources/packages/poetry.md
index 71351df..05fbc42 100644
--- a/docs/learning resources/packages/poetry.md
+++ b/docs/learning_resources/packages/poetry.md
@@ -2,7 +2,7 @@
Python Poetry 是一个强大且高效的 Python 项目依赖项管理工具,旨在简化项目管理和打包流程,确保不同平台上的环境一致性。Poetry 采用声明式方法来管理依赖项,这意味着你只需定义所需的依赖,Poetry会自动处理其他细节。它采用 `pyproject.toml` 文件进行配置,取代了传统的 `setup.py`、`requirements.txt` 或 `MANIFEST.in` 文件,实现了更简洁统一的配置方式。Poetry 能够解析和安装带有版本控制的依赖项、管理虚拟环境,并支持将包发布到 PyPI,使其成为 Python 项目管理的综合解决方案。
-:::tip[访问以下资源以了解更多信息]
+:::info[访问以下资源以了解更多信息]
- [Poetry 文档](https://python-poetry.org/docs/)
diff --git a/docs/learning resources/prog_lang/c_cpp.md b/docs/learning_resources/prog_lang/c_cpp.md
similarity index 94%
rename from docs/learning resources/prog_lang/c_cpp.md
rename to docs/learning_resources/prog_lang/c_cpp.md
index d964255..1aa9053 100644
--- a/docs/learning resources/prog_lang/c_cpp.md
+++ b/docs/learning_resources/prog_lang/c_cpp.md
@@ -4,7 +4,7 @@ C 是一种通用的计算机编程语言,由 Dennis Ritchie 于 1970 年代
C++ 是一种功能强大的通用编程语言,可用于开发操作系统、浏览器和游戏等。C++ 支持不同的编程方式,如过程式(procedural)、面向对象(object-oriented)和函数式(functional)等,这使得 C++ 既强大又灵活。
-:::tip[访问以下资源以了解更多信息]
+:::info[访问以下资源以了解更多信息]
- [C 教程:W3Schools](https://www.w3schools.com/c/)
- [C 教程:TutorialsPoint](https://www.tutorialspoint.com/cprogramming/index.htm)
diff --git a/docs/learning resources/prog_lang/csharp.md b/docs/learning_resources/prog_lang/csharp.md
similarity index 50%
rename from docs/learning resources/prog_lang/csharp.md
rename to docs/learning_resources/prog_lang/csharp.md
index 8a765d2..32e4d68 100644
--- a/docs/learning resources/prog_lang/csharp.md
+++ b/docs/learning_resources/prog_lang/csharp.md
@@ -4,9 +4,9 @@ sidebar_label: 'C#'
# C\#
-C#(发音为“C sharp”)是 Microsoft 开发的一种通用编程语言。它适用于多种任务,包括创建 Web 应用程序、游戏和移动应用程序等。
+C#(发音为 “C sharp”)是 Microsoft 开发的一种通用编程语言。它适用于多种任务,包括创建 Web 应用程序、游戏和移动应用程序等。
-:::tip[访问以下资源以了解更多信息]
+:::info[访问以下资源以了解更多信息]
- [C# 学习路径](https://docs.microsoft.com/zh-cn/learn/paths/csharp-first-steps/?WT.mc_id=dotnet-35129-website)
- [C# 文档](https://learn.microsoft.com/zh-cn/dotnet/csharp/)
diff --git a/docs/learning resources/prog_lang/index.md b/docs/learning_resources/prog_lang/index.md
similarity index 100%
rename from docs/learning resources/prog_lang/index.md
rename to docs/learning_resources/prog_lang/index.md
diff --git a/docs/learning resources/prog_lang/python.md b/docs/learning_resources/prog_lang/python.md
similarity index 92%
rename from docs/learning resources/prog_lang/python.md
rename to docs/learning_resources/prog_lang/python.md
index 07cb8ec..9f711f0 100644
--- a/docs/learning resources/prog_lang/python.md
+++ b/docs/learning_resources/prog_lang/python.md
@@ -2,7 +2,7 @@
Python 是一种广泛使用的编程语言,结合了强类型和动态类型的特点。作为解释型语言,Python 代码在编写后可以立即执行,无需提前编译。Python 的语法灵活,支持函数式(functional)、过程式(procedural)和面向对象(programmatic)等多种编程范式。
-:::tip[访问以下资源以了解更多信息]
+:::info[访问以下资源以了解更多信息]
- [Python Tutorial:W3Schools](https://www.w3schools.com/python/)
- [Python 教程](https://docs.python.org//zh-cn/3/tutorial/index.html)
@@ -10,7 +10,7 @@ Python 是一种广泛使用的编程语言,结合了强类型和动态类型
:::
-:::note
+:::tip
在学习了 Python 的基础知识之后,你可以开始学习[Poetry](../packages/poetry.md),一个 Python 依赖管理工具。
diff --git a/docs/learning_resources/repo/github.md b/docs/learning_resources/repo/github.md
new file mode 100644
index 0000000..8500e3e
--- /dev/null
+++ b/docs/learning_resources/repo/github.md
@@ -0,0 +1,9 @@
+# GitHub
+
+[GitHub](https://github.com/) 是一个基于 [Git](../vcs/git.md) 进行软件开发和[版本控制](../vcs/index.md)的网络代码托管平台。它不仅提供了 Git 的分布式版本控制和源代码管理功能,还拥有自己的特色功能。
+
+:::info[访问以下资源以了解更多信息]
+
+- [GitHub 文档](https://docs.github.com/zh/get-started/quickstart)
+
+:::
diff --git a/docs/learning resources/repo/index.md b/docs/learning_resources/repo/index.md
similarity index 100%
rename from docs/learning resources/repo/index.md
rename to docs/learning_resources/repo/index.md
diff --git a/docs/learning resources/testing/index.md b/docs/learning_resources/testing/index.md
similarity index 64%
rename from docs/learning resources/testing/index.md
rename to docs/learning_resources/testing/index.md
index 8f8f2cf..995f3a6 100644
--- a/docs/learning resources/testing/index.md
+++ b/docs/learning_resources/testing/index.md
@@ -1,8 +1,8 @@
# 软件测试
-软件测试是确保软件满足要求且无缺陷的关键步骤,帮助开发者确认他们正在开发的软件符合预期。当测试成为开发流程的一部分,特别是在使用[持续集成工具(continuous integration)](../ci_cd/index.md)时,它们可以增强开发者的信心并预防代码回滚问题。
+软件测试是确保软件满足要求且无缺陷的关键步骤,帮助开发者确认他们正在开发的软件符合预期。当测试成为开发流程的一部分,特别是在使用[持续集成(continuous integration)](../ci_cd/index.md)工具时,它们可以增强开发者的信心并预防代码回滚问题。
-:::tip[访问以下资源以了解更多信息]
+:::info[访问以下资源以了解更多信息]
- [什么是软件测试?](https://www.guru99.com/software-testing-introduction-importance.html)
diff --git a/docs/learning resources/testing/int_testing.md b/docs/learning_resources/testing/int_testing.md
similarity index 88%
rename from docs/learning resources/testing/int_testing.md
rename to docs/learning_resources/testing/int_testing.md
index 3eb5ebc..0507c90 100644
--- a/docs/learning resources/testing/int_testing.md
+++ b/docs/learning_resources/testing/int_testing.md
@@ -2,7 +2,7 @@
集成测试(Integration testing)是一类广泛的测试,其中多个软件模块作为一个组进行集成和测试。它旨在测试多个服务、资源或模块之间的交互,例如 [API](../apis/index.md) 与后端服务的交互,或服务与数据库的交互。
-:::tip[访问以下资源以了解更多信息]
+:::info[访问以下资源以了解更多信息]
- [什么是集成测试?](https://www.guru99.com/integration-testing.html)
diff --git a/docs/learning resources/testing/unit_testing.md b/docs/learning_resources/testing/unit_testing.md
similarity index 90%
rename from docs/learning resources/testing/unit_testing.md
rename to docs/learning_resources/testing/unit_testing.md
index 0f1fd0e..1868c78 100644
--- a/docs/learning resources/testing/unit_testing.md
+++ b/docs/learning_resources/testing/unit_testing.md
@@ -6,7 +6,7 @@ sidebar_position: 1
单元测试(Unit testing)是对软件中各个独立单元(如模块、函数或方法、例程等)进行测试,以确保它们的功能正确无误。这种底层测试能够保证较小组件的功能稳定,同时减轻上层测试的负担。通常,开发人员会在开发过程中编写这些测试,并以自动化测试的形式运行。
-:::tip[访问以下资源以了解更多信息]
+:::info[访问以下资源以了解更多信息]
- [单元测试教程](https://www.guru99.com/unit-testing-guide.html)
diff --git a/docs/learning resources/vcs/git.md b/docs/learning_resources/vcs/git.md
similarity index 87%
rename from docs/learning resources/vcs/git.md
rename to docs/learning_resources/vcs/git.md
index 0ccd121..9186b0f 100644
--- a/docs/learning resources/vcs/git.md
+++ b/docs/learning_resources/vcs/git.md
@@ -2,7 +2,7 @@
Git 是一个免费的开源分布式版本控制系统,旨在快速高效地处理从小型到超大型项目的在内的所有项目。
-:::tip[访问以下资源以了解更多信息]
+:::info[访问以下资源以了解更多信息]
- [Learn Git Branching](https://learngitbranching.js.org/?locale=zh_CN)
- [Git 教程](https://www.w3schools.com/git/)
diff --git a/docs/learning resources/vcs/index.md b/docs/learning_resources/vcs/index.md
similarity index 91%
rename from docs/learning resources/vcs/index.md
rename to docs/learning_resources/vcs/index.md
index 9360135..6588dbf 100644
--- a/docs/learning resources/vcs/index.md
+++ b/docs/learning_resources/vcs/index.md
@@ -2,7 +2,7 @@
版本控制系统(version control systems),也称源代码管理系统(source control systems),帮助开发者跟踪和控制代码随时间的变化。这些系统通常具备对代码进行原子性修改、从特定点创建分支(branch)或分叉(fork)以及以及比较不同版本代码等功能。它们对于确定代码更改的责任人、内容、时间和原因非常有帮助。
-:::tip[访问以下资源以了解更多信息]
+:::info[访问以下资源以了解更多信息]
- [什么是版本控制?](https://www.atlassian.com/git/tutorials/what-is-version-control)
diff --git a/docs/learning resources/vscode.md b/docs/learning_resources/vscode.md
similarity index 90%
rename from docs/learning resources/vscode.md
rename to docs/learning_resources/vscode.md
index 0b08932..0cbd0c0 100644
--- a/docs/learning resources/vscode.md
+++ b/docs/learning_resources/vscode.md
@@ -2,7 +2,7 @@
VS Code(Visual Studio Code)是由 Microsoft 开发的功能强大的轻量级源代码编辑器。它内置了对 JavaScript、TypeScript 和 Node.js 的支持,并具有一个丰富的扩展生态系统,支持多种编程语言和运行环境。学习使用 VS Code 的主要目的在于提升编写代码、运行调试和[版本控制](vcs/index.md)的工作效率。
-:::tip[访问以下资源以了解更多信息]
+:::info[访问以下资源以了解更多信息]
- [Visual Studio Code 文档](https://code.visualstudio.com/docs)
diff --git a/docusaurus.config.ts b/docusaurus.config.ts
index 7fd3ad1..1956acd 100644
--- a/docusaurus.config.ts
+++ b/docusaurus.config.ts
@@ -2,11 +2,9 @@ import { themes as prismThemes } from 'prism-react-renderer';
import type { Config } from '@docusaurus/types';
import type * as Preset from '@docusaurus/preset-classic';
-// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
-
const config: Config = {
title: '清华大学自动化系学生科协',
- tagline: 'Dinosaurs are cool',
+ tagline: 'ASTAers are cool',
favicon: 'img/favicon.ico',
// Set the production url of your site here
@@ -18,7 +16,7 @@ const config: Config = {
// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
organizationName: 'thuasta', // Usually your GitHub org/user name.
- projectName: 'website', // Usually your repo name.
+ projectName: 'thuata.org', // Usually your repo name.
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
@@ -33,22 +31,18 @@ const config: Config = {
'classic',
{
docs: {
- sidebarPath: './src/components/HomepageFeatures/sidebars.ts',
- // Please change this to your repo.
- // Remove this to remove the "edit this page" links.
- // editUrl:
- // 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
+ sidebarPath: './sidebars.ts',
+ editUrl: ({ locale, docPath }) =>
+ locale === 'zh' ?
+ `https://github.com/thuasta/website/tree/main/docs/${docPath}` : `https://github.com/thuasta/website/tree/main/i18n/en/docusaurus-plugin-content-docs/current/${docPath}`,
},
blog: {
+ // editUrl: 'https://github.com/thuasta/website/tree/main/',
showReadingTime: true,
feedOptions: {
type: ['rss', 'atom'],
xslt: true,
},
- // Please change this to your repo.
- // Remove this to remove the "edit this page" links.
- // editUrl:
- // 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
// Useful options to enforce blogging best practices
onInlineTags: 'warn',
onInlineAuthors: 'warn',
@@ -62,14 +56,20 @@ const config: Config = {
],
themeConfig: {
- // Replace with your project's social card
- image: 'img/docusaurus-social-card.jpg',
+ image: 'img/thuasta-social-card.jpg',
colorMode: {
defaultMode: 'light',
disableSwitch: false,
respectPrefersColorScheme: true,
},
+ docs: {
+ sidebar: {
+ hideable: true,
+ autoCollapseCategories: true,
+ },
+ },
navbar: {
+ hideOnScroll: true,
title: '自动化系学生科协',
logo: {
alt: '自动化系学生科协',
@@ -87,7 +87,7 @@ const config: Config = {
{
href: 'https://github.com/thuasta',
label: 'GitHub',
- position: 'right',
+ position: 'left',
},
{
type: 'localeDropdown',
@@ -99,14 +99,22 @@ const config: Config = {
links: [
{
html: `
-
+
+
+
+ `,
+ },
+ {
+ html: `
+
`,
},
{
html: `
-
+
+
`,
},
@@ -116,8 +124,21 @@ const config: Config = {
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
+ additionalLanguages: ['bash', 'cmake', 'powershell'],
},
} satisfies Preset.ThemeConfig,
+
+ themes: [
+ [
+ "@easyops-cn/docusaurus-search-local",
+ ({
+ hashed: true,
+ language: ["zh", "en"],
+ highlightSearchTermsOnTargetPage: true,
+ explicitSearchResultPath: true,
+ }),
+ ],
+ ],
};
export default config;
diff --git a/i18n/en/code.json b/i18n/en/code.json
new file mode 100644
index 0000000..fd5382c
--- /dev/null
+++ b/i18n/en/code.json
@@ -0,0 +1,32 @@
+{
+ "homepage.title": {
+ "message": "Home"
+ },
+ "homepage.description": {
+ "message": "Association of Science and Technology of Automation, Tsinghua University"
+ },
+ "homepage.topBanner": {
+ "message": "Call for Papers, commence!"
+ },
+ "homepage.heroBanner.title": {
+ "message": "Association of Science & Technology of Automation"
+ },
+ "homepage.features.software.title": {
+ "message": "Software Department"
+ },
+ "homepage.features.software.description": {
+ "message": "The software department is responsible for the construction and testing of the artificial intelligence challenge, the student festival game platform, the electronic design competition platform, website maintenance, etc. We pay attention to code quality and team collaboration, and welcome you to join!"
+ },
+ "homepage.features.hardware.title": {
+ "message": "Hardware Department"
+ },
+ "homepage.features.hardware.description": {
+ "message": "The hardware department focuses on hardware innovation and development, and is responsible for the development of electronic design competitions, robot dogs and other competitions. Looking forward to your joining!"
+ },
+ "homepage.features.innovation.title": {
+ "message": "Learning and Innovation Department"
+ },
+ "homepage.features.innovation.description": {
+ "message": "The Department of Learning and Innovation is responsible for docking with various scientific research and training projects of the school, such as the Spark Project, the Challenge Cup, and the enterprise laboratory, to help students complete their life development planning. Welcome you to join!"
+ }
+}
\ No newline at end of file
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/repo/github.md b/i18n/en/docusaurus-plugin-content-docs/current/learning resources/repo/github.md
deleted file mode 100644
index 6968747..0000000
--- a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/repo/github.md
+++ /dev/null
@@ -1,9 +0,0 @@
-# GitHub
-
-[**GitHub**](https://github.com/) is a provider of Internet hosting for software development and [version control](../vcs/index.md) using [Git](../vcs/git.md). It offers the distributed version control and source code management functionality of Git, plus its own features.
-
-:::tip[Visit the following resources to learn more]
-
-- [GitHub Documentation](https://docs.github.com/en/get-started/quickstart)
-
-:::
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/apis/index.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/apis/index.md
similarity index 80%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/apis/index.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/apis/index.md
index bfd9633..5556099 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/apis/index.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/apis/index.md
@@ -2,7 +2,7 @@
API is the acronym for Application Programming Interface, which is a software intermediary that allows two applications to talk to each other.
-:::tip[Visit the following resources to learn more]
+:::info[Visit the following resources to learn more]
- [What is an API?](https://aws.amazon.com/what-is/api/)
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/apis/rest.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/apis/rest.md
similarity index 91%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/apis/rest.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/apis/rest.md
index 7c5b3ab..35deddc 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/apis/rest.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/apis/rest.md
@@ -2,7 +2,7 @@
REST, or REpresentational State Transfer, is an architectural style for providing standards between computer systems on the web, making it easier for systems to communicate with each other.
-:::tip[Visit the following resources to learn more]
+:::info[Visit the following resources to learn more]
- [What is REST?](https://www.codecademy.com/article/what-is-rest)
- [What is a REST API?](https://www.redhat.com/en/topics/api/what-is-a-rest-api)
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/build_sys/cmake.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/build_sys/cmake.md
similarity index 95%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/build_sys/cmake.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/build_sys/cmake.md
index 0f8e7e0..8c73177 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/build_sys/cmake.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/build_sys/cmake.md
@@ -31,14 +31,14 @@ Here is an example of a simple build process using CMake:
- Create a new directory for the build.
-```sh
+```bash
mkdir build
cd build
```
- Generate build files using CMake.
-```sh
+```bash
cmake ..
```
@@ -46,19 +46,19 @@ In this example, `..` indicates the parent directory where `CMakeLists.txt` is l
- Build the project using the generated build files.
-```sh
+```bash
make
```
Or, on Windows with Visual Studio, you may use:
-```sh
+```bash
msbuild MyProject.sln
```
CMake makes it easy to manage large projects, define custom build configurations, and work with many different compilers and operating systems. Making it a widely chosen tool for managing build systems in C++ projects.
-:::tip[Visit the following resources to learn more]
+:::info[Visit the following resources to learn more]
- [CMake Official Tutorial](https://cmake.org/cmake/help/latest/guide/tutorial/index.html)
- [An Introduction to Modern CMake](https://cliutils.gitlab.io/modern-cmake/)
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/build_sys/index.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/build_sys/index.md
similarity index 100%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/build_sys/index.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/build_sys/index.md
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/ci_cd/github_actions.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/ci_cd/github_actions.md
similarity index 85%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/ci_cd/github_actions.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/ci_cd/github_actions.md
index 5c5ab27..c45139a 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/ci_cd/github_actions.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/ci_cd/github_actions.md
@@ -2,7 +2,7 @@
GitHub Actions is a workflow automation tool provided by [GitHub](../repo/github.md) that can be used to automate various tasks in the app development process.
-:::tip[Visit the following resources to learn more]
+:::info[Visit the following resources to learn more]
- [GitHub Actions](https://github.com/features/actions)
- [GitHub Actions Documentation](https://docs.github.com/en/actions)
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/ci_cd/index.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/ci_cd/index.md
similarity index 85%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/ci_cd/index.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/ci_cd/index.md
index f9ae051..c4047b6 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/ci_cd/index.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/ci_cd/index.md
@@ -2,7 +2,7 @@
CI/CD (Continuous Integration/Continuous Deployment) is the practice of automating building, testing, and deployment of applications with the main goal of detecting issues early, and provide quicker releases to the production environment.
-:::tip[Visit the following resources to learn more]
+:::info[Visit the following resources to learn more]
- [What is CI/CD?](https://about.gitlab.com/topics/ci-cd/)
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/container/docker.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/container/docker.md
similarity index 87%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/container/docker.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/container/docker.md
index 1f3fe4a..47e440c 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/container/docker.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/container/docker.md
@@ -2,7 +2,7 @@
Docker is a platform for working with containerized applications. Among its features are a daemon and client for managing and interacting with containers, registries for storing images, and a desktop application to package all these features together.
-:::tip[Visit the following resources to learn more]
+:::info[Visit the following resources to learn more]
- [What is Docker?](https://aws.amazon.com/docker/)
- [Docker Documentation](https://docs.docker.com/)
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/container/index.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/container/index.md
similarity index 85%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/container/index.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/container/index.md
index 0b175b8..ae48613 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/container/index.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/container/index.md
@@ -2,7 +2,7 @@
Containers and virtual machines are the two most popular approaches to setting up a software infrastructure for your organization.
-:::tip[Visit the following resources to learn more]
+:::info[Visit the following resources to learn more]
- [Containerization vs. Virtualization: Everything you need know](https://middleware.io/blog/containerization-vs-virtualization/)
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/index.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/index.md
similarity index 100%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/index.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/index.md
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/markdown.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/markdown.md
similarity index 87%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/markdown.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/markdown.md
index f4e5d1b..d1e9362 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/markdown.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/markdown.md
@@ -2,7 +2,7 @@
Markdown is a lightweight markup language that you can use to add formatting elements to plaintext text documents. It is often used for writing on the web, so you don't have to write cumbersome HTML tags. The main goal of learning Markdown is to focus on your content without being distracted by complex formatting and to make your content more readable and easier to maintain.
-:::tip[Visit the following resources to learn more]
+:::info[Visit the following resources to learn more]
- [Getting started with writing and formatting on GitHub](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github)
@@ -10,7 +10,7 @@ Markdown is a lightweight markup language that you can use to add formatting ele
Mermaid is a Markdown-like script language for generating charts from text via JavaScript. It is used in this documentation to generate the flowcharts.
-:::tip[Visit the following resources to learn more]
+:::info[Visit the following resources to learn more]
- [Mermaid](https://mermaid.js.org/intro/)
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/networking/http.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/networking/http.md
similarity index 90%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/networking/http.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/networking/http.md
index 23c76ac..ab71243 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/networking/http.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/networking/http.md
@@ -2,7 +2,7 @@
HTTP is the `TCP/IP` based application layer communication protocol which standardizes how the client and server communicate with each other. It defines how the content is requested and transmitted across the internet.
-:::tip[Visit the following resources to learn more]
+:::info[Visit the following resources to learn more]
- [Everything you need to know about HTTP](https://cs.fyi/guide/http-in-depth)
- [What is HTTP?](https://www.cloudflare.com/en-gb/learning/ddos/glossary/hypertext-transfer-protocol-http/)
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/networking/index.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/networking/index.md
similarity index 87%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/networking/index.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/networking/index.md
index 1cf5194..0fb61a0 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/networking/index.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/networking/index.md
@@ -6,7 +6,7 @@ sidebar_label: 'Networking'
The Internet is a global network of computers connected to each other which communicate through a standardized set of protocols.
-:::tip[Visit the following resources to learn more]
+:::info[Visit the following resources to learn more]
- [How does the Internet Work?](https://cs.fyi/guide/how-does-internet-work)
- [How does the Internet Work?](http://web.stanford.edu/class/msande91si/www-spr04/readings/week1/InternetWhitepaper.htm)
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/networking/websockets.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/networking/websockets.md
similarity index 89%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/networking/websockets.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/networking/websockets.md
index db4ac61..7196259 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/networking/websockets.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/networking/websockets.md
@@ -2,7 +2,7 @@
Web sockets are defined as a two-way communication between the servers and the clients, which mean both the parties, communicate and exchange data at the same time. This protocol defines a full duplex communication from the ground up. Web sockets take a step forward in bringing desktop rich functionalities to the web browsers.
-:::tip[Visit the following resources to learn more]
+:::info[Visit the following resources to learn more]
- [Introduction to WebSockets](https://www.tutorialspoint.com/websockets/index.htm)
- [Socket.io Library](https://socket.io/)
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/os/commands.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/os/commands.md
similarity index 92%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/os/commands.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/os/commands.md
index 483ce89..b7a6f8b 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/os/commands.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/os/commands.md
@@ -8,7 +8,7 @@ To understand these commands, read through the manual pages by using `man` comma
After enough exposure and practice to these commands, it will become easier to use these in practice
-:::tip[Visit the following resources to learn more]
+:::info[Visit the following resources to learn more]
- [Commandline Challenge](https://cmdchallenge.com/)
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/os/index.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/os/index.md
similarity index 88%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/os/index.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/os/index.md
index 3037363..ac83f10 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/os/index.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/os/index.md
@@ -2,7 +2,7 @@
Operating System is a program that manages a computer’s resources, especially the allocation of those resources among other programs. Typical resources include the central processing unit (CPU), computer memory, file storage, input/output (I/O) devices, and network connections.
-:::tip[Visit the following resources to learn more]
+:::info[Visit the following resources to learn more]
- [What is an operating system?](https://edu.gcfglobal.org/en/computerbasics/understanding-operating-systems/1/)
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/os/terminal.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/os/terminal.md
similarity index 89%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/os/terminal.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/os/terminal.md
index db0820c..4ef8c79 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/os/terminal.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/os/terminal.md
@@ -6,7 +6,7 @@ sidebar_position: 1
Terminals, also known as command lines or consoles, allow us to accomplish and automate tasks on a computer without the use of a graphical user interface.
-:::tip[Visit the following resources to learn more]
+:::info[Visit the following resources to learn more]
- [Command line crash course](https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Understanding_client-side_tools/Command_line)
- [50+ Linux Commands You Must Know](https://www.digitalocean.com/community/tutorials/linux-commands)
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/packages/conda.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/packages/conda.md
similarity index 94%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/packages/conda.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/packages/conda.md
index bdbe540..d9d0b80 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/packages/conda.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/packages/conda.md
@@ -4,7 +4,7 @@ Conda is an open source package management system and environment management sys
Conda as a package manager helps you find and install packages. If you need a package that requires a different version of Python, you do not need to switch to a different environment manager, because conda is also an environment manager. With just a few commands, you can set up a totally separate environment to run that different version of Python, while continuing to run your usual version of Python in your normal environment.
-:::tip[Visit the following resources to learn more]
+:::info[Visit the following resources to learn more]
- [Conda Docs](https://docs.conda.io/en/latest/)
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/packages/index.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/packages/index.md
similarity index 100%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/packages/index.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/packages/index.md
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/packages/poetry.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/packages/poetry.md
similarity index 93%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/packages/poetry.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/packages/poetry.md
index 4e3483e..76b83e8 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/packages/poetry.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/packages/poetry.md
@@ -2,7 +2,7 @@
Python Poetry is a robust and efficient tool used for Python project dependency management. It aims to simplify the process of managing and packaging Python projects, ensuring consistent environments across different platforms. Poetry uses a declarative approach to manage dependencies, meaning you define what you need, and Poetry will handle the rest. It uses `pyproject.toml` file for configuration, replacing the traditional `setup.py`, `requirements.txt`, or `MANIFEST.in` files, making it a more streamlined and unified approach. Poetry can resolve and install dependencies with versioning, manage virtual environments, and publish packages to PyPI, making it a comprehensive solution for Python project management.
-:::tip[Visit the following resources to learn more]
+:::info[Visit the following resources to learn more]
- [Poetry Docs](https://python-poetry.org/docs/)
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/prog_lang/c_cpp.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/prog_lang/c_cpp.md
similarity index 94%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/prog_lang/c_cpp.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/prog_lang/c_cpp.md
index 24b21a7..11d3ea2 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/prog_lang/c_cpp.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/prog_lang/c_cpp.md
@@ -4,7 +4,7 @@ C is a general-purpose computer programming language. It was created in the 1970
C++ is a powerful general-purpose programming language. It can be used to develop operating systems, browsers, games, and so on. C++ supports different ways of programming like procedural, object-oriented, functional, and so on. This makes C++ powerful as well as flexible.
-:::tip[Visit the following resources to learn more]
+:::info[Visit the following resources to learn more]
- [C Tutorial - W3Schools](https://www.w3schools.com/c/)
- [C Tutorial - TutorialsPoint](https://www.tutorialspoint.com/cprogramming/index.htm)
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/prog_lang/csharp.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/prog_lang/csharp.md
similarity index 88%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/prog_lang/csharp.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/prog_lang/csharp.md
index 4f76794..0c3dd7c 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/prog_lang/csharp.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/prog_lang/csharp.md
@@ -6,7 +6,7 @@ sidebar_label: 'C#'
C# (pronounced “C sharp”) is a general purpose programming language made by Microsoft. It is used to perform different tasks and can be used to create web apps, games, mobile apps, etc.
-:::tip[Visit the following resources to learn more]
+:::info[Visit the following resources to learn more]
- [C# Learning Path](https://docs.microsoft.com/en-us/learn/paths/csharp-first-steps/?WT.mc_id=dotnet-35129-website)
- [C# documentation](https://learn.microsoft.com/en-us/dotnet/csharp/)
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/prog_lang/index.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/prog_lang/index.md
similarity index 100%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/prog_lang/index.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/prog_lang/index.md
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/prog_lang/python.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/prog_lang/python.md
similarity index 92%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/prog_lang/python.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/prog_lang/python.md
index 0f3f6b2..34fa02a 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/prog_lang/python.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/prog_lang/python.md
@@ -2,7 +2,7 @@
Python is a well known programming language which is both a strongly typed and a dynamically typed language. Being an interpreted language, code is executed as soon as it is written and the Python syntax allows for writing code in functional, procedural or object-oriented programmatic ways.
-:::tip[Visit the following resources to learn more]
+:::info[Visit the following resources to learn more]
- [Python Tutorial - W3Schools](https://www.w3schools.com/python/)
- [The Python Tutorial](https://docs.python.org/3/tutorial/index.html)
@@ -10,7 +10,7 @@ Python is a well known programming language which is both a strongly typed and a
:::
-:::note
+:::tip
After learning the basics of Python, you can start learning about [Poetry](../packages/poetry.md), a Python dependency management tool.
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/repo/github.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/repo/github.md
new file mode 100644
index 0000000..a3a4bad
--- /dev/null
+++ b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/repo/github.md
@@ -0,0 +1,9 @@
+# GitHub
+
+[GitHub](https://github.com/) is a provider of Internet hosting for software development and [version control](../vcs/index.md) using [Git](../vcs/git.md). It offers the distributed version control and source code management functionality of Git, plus its own features.
+
+:::info[Visit the following resources to learn more]
+
+- [GitHub Documentation](https://docs.github.com/en/get-started/quickstart)
+
+:::
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/repo/index.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/repo/index.md
similarity index 100%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/repo/index.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/repo/index.md
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/testing/index.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/testing/index.md
similarity index 89%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/testing/index.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/testing/index.md
index 9e0f8ce..9dade85 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/testing/index.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/testing/index.md
@@ -2,7 +2,7 @@
A key to building software that meets requirements without defects is testing. Software testing helps developers know they are building the right software. When tests are run as part of the development process (often with [continuous integration](../ci_cd/index.md) tools), they build confidence and prevent regressions in the code.
-:::tip[Visit the following resources to learn more]
+:::info[Visit the following resources to learn more]
- [What is Software Testing?](https://www.guru99.com/software-testing-introduction-importance.html)
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/testing/int_testing.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/testing/int_testing.md
similarity index 88%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/testing/int_testing.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/testing/int_testing.md
index effe473..a9a45f4 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/testing/int_testing.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/testing/int_testing.md
@@ -2,7 +2,7 @@
Integration testing is a broad category of tests where multiple software modules are integrated and tested as a group. It is meant to test the interaction between multiple services, resources, or modules. For example, an [API](../apis/index.md)’s interaction with a backend service, or a service with a database.
-:::tip[Visit the following resources to learn more]
+:::info[Visit the following resources to learn more]
- [What is Integration Testing?](https://www.guru99.com/integration-testing.html)
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/testing/unit_testing.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/testing/unit_testing.md
similarity index 90%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/testing/unit_testing.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/testing/unit_testing.md
index c40e36a..c5b6b00 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/testing/unit_testing.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/testing/unit_testing.md
@@ -6,7 +6,7 @@ sidebar_position: 1
Unit testing is where individual units (modules, functions/methods, routines, etc.) of software are tested to ensure their correctness. This low-level testing ensures smaller components are functionally sound while taking the burden off of higher-level tests. Generally, a developer writes these tests during the development process and they are run as automated tests.
-:::tip[Visit the following resources to learn more]
+:::info[Visit the following resources to learn more]
- [Unit Testing Tutorial](https://www.guru99.com/unit-testing-guide.html)
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/vcs/git.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/vcs/git.md
similarity index 86%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/vcs/git.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/vcs/git.md
index 1f28f9a..db2850f 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/vcs/git.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/vcs/git.md
@@ -2,7 +2,7 @@
Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
-:::tip[Visit the following resources to learn more]
+:::info[Visit the following resources to learn more]
- [Learn Git Branching](https://learngitbranching.js.org/)
- [Git Tutorial](https://www.w3schools.com/git/)
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/vcs/index.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/vcs/index.md
similarity index 89%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/vcs/index.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/vcs/index.md
index 8101f3f..87caf58 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/vcs/index.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/vcs/index.md
@@ -2,7 +2,7 @@
Version control/source control systems allow developers to track and control changes to code over time. These services often include the ability to make atomic revisions to code, branch/fork off of specific points, and to compare versions of code. They are useful in determining the who, what, when, and why code changes were made.
-:::tip[Visit the following resources to learn more]
+:::info[Visit the following resources to learn more]
- [What is Version Control?](https://www.atlassian.com/git/tutorials/what-is-version-control)
diff --git a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/vscode.md b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/vscode.md
similarity index 89%
rename from i18n/en/docusaurus-plugin-content-docs/current/learning resources/vscode.md
rename to i18n/en/docusaurus-plugin-content-docs/current/learning_resources/vscode.md
index 57c5684..7c9a4b5 100644
--- a/i18n/en/docusaurus-plugin-content-docs/current/learning resources/vscode.md
+++ b/i18n/en/docusaurus-plugin-content-docs/current/learning_resources/vscode.md
@@ -2,7 +2,7 @@
VS Code (Visual Studio Code) is a lightweight but powerful source code editor developed by Microsoft. It comes with built-in support for JavaScript, TypeScript and Node.js, and has a rich ecosystem of extensions for other languages and runtimes. The main goal of learning VS Code is to enhance your productivity in coding, debugging, and [version control](vcs/index.md).
-:::tip[Visit the following resources to learn more]
+:::info[Visit the following resources to learn more]
- [Documentation for Visual Studio Code](https://code.visualstudio.com/docs)
diff --git a/i18n/en/docusaurus-theme-classic/navbar.json b/i18n/en/docusaurus-theme-classic/navbar.json
index f62f918..5abefbd 100644
--- a/i18n/en/docusaurus-theme-classic/navbar.json
+++ b/i18n/en/docusaurus-theme-classic/navbar.json
@@ -2,6 +2,9 @@
"title": {
"message": "ASTA"
},
+ "logo.alt": {
+ "message": "ASTA"
+ },
"item.label.文档": {
"message": "Docs"
},
diff --git a/package-lock.json b/package-lock.json
index 3d2c186..867f660 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -7,6 +7,7 @@
"dependencies": {
"@docusaurus/core": "3.7.0",
"@docusaurus/preset-classic": "3.7.0",
+ "@easyops-cn/docusaurus-search-local": "^0.48.4",
"@mdx-js/react": "^3.0.0",
"@react-spring/web": "^9.7.5",
"clsx": "^2.1.1",
@@ -3605,6 +3606,138 @@
"node": ">=18.0"
}
},
+ "node_modules/@easyops-cn/autocomplete.js": {
+ "version": "0.38.1",
+ "resolved": "https://registry.npmjs.org/@easyops-cn/autocomplete.js/-/autocomplete.js-0.38.1.tgz",
+ "integrity": "sha512-drg76jS6syilOUmVNkyo1c7ZEBPcPuK+aJA7AksM5ZIIbV57DMHCywiCr+uHyv8BE5jUTU98j/H7gVrkHrWW3Q==",
+ "license": "MIT",
+ "dependencies": {
+ "cssesc": "^3.0.0",
+ "immediate": "^3.2.3"
+ }
+ },
+ "node_modules/@easyops-cn/docusaurus-search-local": {
+ "version": "0.48.4",
+ "resolved": "https://registry.npmjs.org/@easyops-cn/docusaurus-search-local/-/docusaurus-search-local-0.48.4.tgz",
+ "integrity": "sha512-QgVHbGFOASFZHZdFz9NsnzsU6VRki+Mq+qd1RIDxMK3lQ7uz2cLE5MnvBfpzTmC5Ea5JF2YdMibgPechLr5uiw==",
+ "license": "MIT",
+ "dependencies": {
+ "@docusaurus/plugin-content-docs": "^2 || ^3",
+ "@docusaurus/theme-translations": "^2 || ^3",
+ "@docusaurus/utils": "^2 || ^3",
+ "@docusaurus/utils-common": "^2 || ^3",
+ "@docusaurus/utils-validation": "^2 || ^3",
+ "@easyops-cn/autocomplete.js": "^0.38.1",
+ "@node-rs/jieba": "^1.6.0",
+ "cheerio": "^1.0.0",
+ "clsx": "^2.1.1",
+ "comlink": "^4.4.2",
+ "debug": "^4.2.0",
+ "fs-extra": "^10.0.0",
+ "klaw-sync": "^6.0.0",
+ "lunr": "^2.3.9",
+ "lunr-languages": "^1.4.0",
+ "mark.js": "^8.11.1",
+ "tslib": "^2.4.0"
+ },
+ "engines": {
+ "node": ">=12"
+ },
+ "peerDependencies": {
+ "@docusaurus/theme-common": "^2 || ^3",
+ "react": "^16.14.0 || ^17 || ^18 || ^19",
+ "react-dom": "^16.14.0 || 17 || ^18 || ^19"
+ }
+ },
+ "node_modules/@easyops-cn/docusaurus-search-local/node_modules/cheerio": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/cheerio/-/cheerio-1.0.0.tgz",
+ "integrity": "sha512-quS9HgjQpdaXOvsZz82Oz7uxtXiy6UIsIQcpBj7HRw2M63Skasm9qlDocAM7jNuaxdhpPU7c4kJN+gA5MCu4ww==",
+ "license": "MIT",
+ "dependencies": {
+ "cheerio-select": "^2.1.0",
+ "dom-serializer": "^2.0.0",
+ "domhandler": "^5.0.3",
+ "domutils": "^3.1.0",
+ "encoding-sniffer": "^0.2.0",
+ "htmlparser2": "^9.1.0",
+ "parse5": "^7.1.2",
+ "parse5-htmlparser2-tree-adapter": "^7.0.0",
+ "parse5-parser-stream": "^7.1.2",
+ "undici": "^6.19.5",
+ "whatwg-mimetype": "^4.0.0"
+ },
+ "engines": {
+ "node": ">=18.17"
+ },
+ "funding": {
+ "url": "https://github.com/cheeriojs/cheerio?sponsor=1"
+ }
+ },
+ "node_modules/@easyops-cn/docusaurus-search-local/node_modules/fs-extra": {
+ "version": "10.1.0",
+ "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-10.1.0.tgz",
+ "integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==",
+ "license": "MIT",
+ "dependencies": {
+ "graceful-fs": "^4.2.0",
+ "jsonfile": "^6.0.1",
+ "universalify": "^2.0.0"
+ },
+ "engines": {
+ "node": ">=12"
+ }
+ },
+ "node_modules/@easyops-cn/docusaurus-search-local/node_modules/htmlparser2": {
+ "version": "9.1.0",
+ "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-9.1.0.tgz",
+ "integrity": "sha512-5zfg6mHUoaer/97TxnGpxmbR7zJtPwIYFMZ/H5ucTlPZhKvtum05yiPK3Mgai3a0DyVxv7qYqoweaEd2nrYQzQ==",
+ "funding": [
+ "https://github.com/fb55/htmlparser2?sponsor=1",
+ {
+ "type": "github",
+ "url": "https://github.com/sponsors/fb55"
+ }
+ ],
+ "license": "MIT",
+ "dependencies": {
+ "domelementtype": "^2.3.0",
+ "domhandler": "^5.0.3",
+ "domutils": "^3.1.0",
+ "entities": "^4.5.0"
+ }
+ },
+ "node_modules/@emnapi/core": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.3.1.tgz",
+ "integrity": "sha512-pVGjBIt1Y6gg3EJN8jTcfpP/+uuRksIo055oE/OBkDNcjZqVbfkWCksG1Jp4yZnj3iKWyWX8fdG/j6UDYPbFog==",
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@emnapi/wasi-threads": "1.0.1",
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@emnapi/runtime": {
+ "version": "1.3.1",
+ "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.3.1.tgz",
+ "integrity": "sha512-kEBmG8KyqtxJZv+ygbEim+KCGtIq1fC22Ms3S4ziXmYKm8uyoLX0MHONVKwp+9opg390VaKRNt4a7A9NwmpNhw==",
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.4.0"
+ }
+ },
+ "node_modules/@emnapi/wasi-threads": {
+ "version": "1.0.1",
+ "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.0.1.tgz",
+ "integrity": "sha512-iIBu7mwkq4UQGeMEM8bLwNK962nXdhodeScX4slfQnRhEMMzvYivHhutCIk8uojvmASXXPC2WNEjwxFWk72Oqw==",
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.4.0"
+ }
+ },
"node_modules/@hapi/hoek": {
"version": "9.3.0",
"resolved": "https://registry.npmjs.org/@hapi/hoek/-/hoek-9.3.0.tgz",
@@ -3753,6 +3886,271 @@
"react": ">=16"
}
},
+ "node_modules/@napi-rs/wasm-runtime": {
+ "version": "0.2.6",
+ "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-0.2.6.tgz",
+ "integrity": "sha512-z8YVS3XszxFTO73iwvFDNpQIzdMmSDTP/mB3E/ucR37V3Sx57hSExcXyMoNwaucWxnsWf4xfbZv0iZ30jr0M4Q==",
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@emnapi/core": "^1.3.1",
+ "@emnapi/runtime": "^1.3.1",
+ "@tybys/wasm-util": "^0.9.0"
+ }
+ },
+ "node_modules/@node-rs/jieba": {
+ "version": "1.10.4",
+ "resolved": "https://registry.npmjs.org/@node-rs/jieba/-/jieba-1.10.4.tgz",
+ "integrity": "sha512-GvDgi8MnBiyWd6tksojej8anIx18244NmIOc1ovEw8WKNUejcccLfyu8vj66LWSuoZuKILVtNsOy4jvg3aoxIw==",
+ "license": "MIT",
+ "engines": {
+ "node": ">= 10"
+ },
+ "funding": {
+ "type": "github",
+ "url": "https://github.com/sponsors/Brooooooklyn"
+ },
+ "optionalDependencies": {
+ "@node-rs/jieba-android-arm-eabi": "1.10.4",
+ "@node-rs/jieba-android-arm64": "1.10.4",
+ "@node-rs/jieba-darwin-arm64": "1.10.4",
+ "@node-rs/jieba-darwin-x64": "1.10.4",
+ "@node-rs/jieba-freebsd-x64": "1.10.4",
+ "@node-rs/jieba-linux-arm-gnueabihf": "1.10.4",
+ "@node-rs/jieba-linux-arm64-gnu": "1.10.4",
+ "@node-rs/jieba-linux-arm64-musl": "1.10.4",
+ "@node-rs/jieba-linux-x64-gnu": "1.10.4",
+ "@node-rs/jieba-linux-x64-musl": "1.10.4",
+ "@node-rs/jieba-wasm32-wasi": "1.10.4",
+ "@node-rs/jieba-win32-arm64-msvc": "1.10.4",
+ "@node-rs/jieba-win32-ia32-msvc": "1.10.4",
+ "@node-rs/jieba-win32-x64-msvc": "1.10.4"
+ }
+ },
+ "node_modules/@node-rs/jieba-android-arm-eabi": {
+ "version": "1.10.4",
+ "resolved": "https://registry.npmjs.org/@node-rs/jieba-android-arm-eabi/-/jieba-android-arm-eabi-1.10.4.tgz",
+ "integrity": "sha512-MhyvW5N3Fwcp385d0rxbCWH42kqDBatQTyP8XbnYbju2+0BO/eTeCCLYj7Agws4pwxn2LtdldXRSKavT7WdzNA==",
+ "cpu": [
+ "arm"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@node-rs/jieba-android-arm64": {
+ "version": "1.10.4",
+ "resolved": "https://registry.npmjs.org/@node-rs/jieba-android-arm64/-/jieba-android-arm64-1.10.4.tgz",
+ "integrity": "sha512-XyDwq5+rQ+Tk55A+FGi6PtJbzf974oqnpyCcCPzwU3QVXJCa2Rr4Lci+fx8oOpU4plT3GuD+chXMYLsXipMgJA==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "android"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@node-rs/jieba-darwin-arm64": {
+ "version": "1.10.4",
+ "resolved": "https://registry.npmjs.org/@node-rs/jieba-darwin-arm64/-/jieba-darwin-arm64-1.10.4.tgz",
+ "integrity": "sha512-G++RYEJ2jo0rxF9626KUy90wp06TRUjAsvY/BrIzEOX/ingQYV/HjwQzNPRR1P1o32a6/U8RGo7zEBhfdybL6w==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@node-rs/jieba-darwin-x64": {
+ "version": "1.10.4",
+ "resolved": "https://registry.npmjs.org/@node-rs/jieba-darwin-x64/-/jieba-darwin-x64-1.10.4.tgz",
+ "integrity": "sha512-MmDNeOb2TXIZCPyWCi2upQnZpPjAxw5ZGEj6R8kNsPXVFALHIKMa6ZZ15LCOkSTsKXVC17j2t4h+hSuyYb6qfQ==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "darwin"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@node-rs/jieba-freebsd-x64": {
+ "version": "1.10.4",
+ "resolved": "https://registry.npmjs.org/@node-rs/jieba-freebsd-x64/-/jieba-freebsd-x64-1.10.4.tgz",
+ "integrity": "sha512-/x7aVQ8nqUWhpXU92RZqd333cq639i/olNpd9Z5hdlyyV5/B65LLy+Je2B2bfs62PVVm5QXRpeBcZqaHelp/bg==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "freebsd"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@node-rs/jieba-linux-arm-gnueabihf": {
+ "version": "1.10.4",
+ "resolved": "https://registry.npmjs.org/@node-rs/jieba-linux-arm-gnueabihf/-/jieba-linux-arm-gnueabihf-1.10.4.tgz",
+ "integrity": "sha512-crd2M35oJBRLkoESs0O6QO3BBbhpv+tqXuKsqhIG94B1d02RVxtRIvSDwO33QurxqSdvN9IeSnVpHbDGkuXm3g==",
+ "cpu": [
+ "arm"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@node-rs/jieba-linux-arm64-gnu": {
+ "version": "1.10.4",
+ "resolved": "https://registry.npmjs.org/@node-rs/jieba-linux-arm64-gnu/-/jieba-linux-arm64-gnu-1.10.4.tgz",
+ "integrity": "sha512-omIzNX1psUzPcsdnUhGU6oHeOaTCuCjUgOA/v/DGkvWC1jLcnfXe4vdYbtXMh4XOCuIgS1UCcvZEc8vQLXFbXQ==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@node-rs/jieba-linux-arm64-musl": {
+ "version": "1.10.4",
+ "resolved": "https://registry.npmjs.org/@node-rs/jieba-linux-arm64-musl/-/jieba-linux-arm64-musl-1.10.4.tgz",
+ "integrity": "sha512-Y/tiJ1+HeS5nnmLbZOE+66LbsPOHZ/PUckAYVeLlQfpygLEpLYdlh0aPpS5uiaWMjAXYZYdFkpZHhxDmSLpwpw==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@node-rs/jieba-linux-x64-gnu": {
+ "version": "1.10.4",
+ "resolved": "https://registry.npmjs.org/@node-rs/jieba-linux-x64-gnu/-/jieba-linux-x64-gnu-1.10.4.tgz",
+ "integrity": "sha512-WZO8ykRJpWGE9MHuZpy1lu3nJluPoeB+fIJJn5CWZ9YTVhNDWoCF4i/7nxz1ntulINYGQ8VVuCU9LD86Mek97g==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@node-rs/jieba-linux-x64-musl": {
+ "version": "1.10.4",
+ "resolved": "https://registry.npmjs.org/@node-rs/jieba-linux-x64-musl/-/jieba-linux-x64-musl-1.10.4.tgz",
+ "integrity": "sha512-uBBD4S1rGKcgCyAk6VCKatEVQb6EDD5I40v/DxODi5CuZVCANi9m5oee/MQbAoaX7RydA2f0OSCE9/tcwXEwUg==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "linux"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@node-rs/jieba-wasm32-wasi": {
+ "version": "1.10.4",
+ "resolved": "https://registry.npmjs.org/@node-rs/jieba-wasm32-wasi/-/jieba-wasm32-wasi-1.10.4.tgz",
+ "integrity": "sha512-Y2umiKHjuIJy0uulNDz9SDYHdfq5Hmy7jY5nORO99B4pySKkcrMjpeVrmWXJLIsEKLJwcCXHxz8tjwU5/uhz0A==",
+ "cpu": [
+ "wasm32"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "@napi-rs/wasm-runtime": "^0.2.3"
+ },
+ "engines": {
+ "node": ">=14.0.0"
+ }
+ },
+ "node_modules/@node-rs/jieba-win32-arm64-msvc": {
+ "version": "1.10.4",
+ "resolved": "https://registry.npmjs.org/@node-rs/jieba-win32-arm64-msvc/-/jieba-win32-arm64-msvc-1.10.4.tgz",
+ "integrity": "sha512-nwMtViFm4hjqhz1it/juQnxpXgqlGltCuWJ02bw70YUDMDlbyTy3grCJPpQQpueeETcALUnTxda8pZuVrLRcBA==",
+ "cpu": [
+ "arm64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@node-rs/jieba-win32-ia32-msvc": {
+ "version": "1.10.4",
+ "resolved": "https://registry.npmjs.org/@node-rs/jieba-win32-ia32-msvc/-/jieba-win32-ia32-msvc-1.10.4.tgz",
+ "integrity": "sha512-DCAvLx7Z+W4z5oKS+7vUowAJr0uw9JBw8x1Y23Xs/xMA4Em+OOSiaF5/tCJqZUCJ8uC4QeImmgDFiBqGNwxlyA==",
+ "cpu": [
+ "ia32"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
+ "node_modules/@node-rs/jieba-win32-x64-msvc": {
+ "version": "1.10.4",
+ "resolved": "https://registry.npmjs.org/@node-rs/jieba-win32-x64-msvc/-/jieba-win32-x64-msvc-1.10.4.tgz",
+ "integrity": "sha512-+sqemSfS1jjb+Tt7InNbNzrRh1Ua3vProVvC4BZRPg010/leCbGFFiQHpzcPRfpxAXZrzG5Y0YBTsPzN/I4yHQ==",
+ "cpu": [
+ "x64"
+ ],
+ "license": "MIT",
+ "optional": true,
+ "os": [
+ "win32"
+ ],
+ "engines": {
+ "node": ">= 10"
+ }
+ },
"node_modules/@nodelib/fs.scandir": {
"version": "2.1.5",
"resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz",
@@ -4199,6 +4597,16 @@
"node": ">=10.13.0"
}
},
+ "node_modules/@tybys/wasm-util": {
+ "version": "0.9.0",
+ "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.9.0.tgz",
+ "integrity": "sha512-6+7nlbMVX/PVDCwaIQ8nTOPveOcFLSt8GcXdx8hD0bt39uWxYT88uXzqTd4fTvqta7oeUJqudepapKNt2DYJFw==",
+ "license": "MIT",
+ "optional": true,
+ "dependencies": {
+ "tslib": "^2.4.0"
+ }
+ },
"node_modules/@types/acorn": {
"version": "4.0.6",
"resolved": "https://registry.npmjs.org/@types/acorn/-/acorn-4.0.6.tgz",
@@ -5698,6 +6106,12 @@
"node": ">=10"
}
},
+ "node_modules/comlink": {
+ "version": "4.4.2",
+ "resolved": "https://registry.npmjs.org/comlink/-/comlink-4.4.2.tgz",
+ "integrity": "sha512-OxGdvBmJuNKSCMO4NTl1L47VRp6xn2wG4F/2hYzB6tiCb709otOxtEYCSvK80PtjODfXXZu8ds+Nw5kVCjqd2g==",
+ "license": "Apache-2.0"
+ },
"node_modules/comma-separated-tokens": {
"version": "2.0.3",
"resolved": "https://registry.npmjs.org/comma-separated-tokens/-/comma-separated-tokens-2.0.3.tgz",
@@ -6850,6 +7264,31 @@
"node": ">= 0.8"
}
},
+ "node_modules/encoding-sniffer": {
+ "version": "0.2.0",
+ "resolved": "https://registry.npmjs.org/encoding-sniffer/-/encoding-sniffer-0.2.0.tgz",
+ "integrity": "sha512-ju7Wq1kg04I3HtiYIOrUrdfdDvkyO9s5XM8QAj/bN61Yo/Vb4vgJxy5vi4Yxk01gWHbrofpPtpxM8bKger9jhg==",
+ "license": "MIT",
+ "dependencies": {
+ "iconv-lite": "^0.6.3",
+ "whatwg-encoding": "^3.1.1"
+ },
+ "funding": {
+ "url": "https://github.com/fb55/encoding-sniffer?sponsor=1"
+ }
+ },
+ "node_modules/encoding-sniffer/node_modules/iconv-lite": {
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",
+ "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",
+ "license": "MIT",
+ "dependencies": {
+ "safer-buffer": ">= 2.1.2 < 3.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
"node_modules/enhanced-resolve": {
"version": "5.17.1",
"resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-5.17.1.tgz",
@@ -8622,6 +9061,12 @@
"node": ">=16.x"
}
},
+ "node_modules/immediate": {
+ "version": "3.3.0",
+ "resolved": "https://registry.npmjs.org/immediate/-/immediate-3.3.0.tgz",
+ "integrity": "sha512-HR7EVodfFUdQCTIeySw+WDRFJlPcLOJbXfwwZ7Oom6tjsvZ3bOkCDJHehQC3nxJrv7+f9XecwazynjU8e4Vw3Q==",
+ "license": "MIT"
+ },
"node_modules/immer": {
"version": "9.0.21",
"resolved": "https://registry.npmjs.org/immer/-/immer-9.0.21.tgz",
@@ -9150,6 +9595,15 @@
"node": ">=0.10.0"
}
},
+ "node_modules/klaw-sync": {
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/klaw-sync/-/klaw-sync-6.0.0.tgz",
+ "integrity": "sha512-nIeuVSzdCCs6TDPTqI8w1Yre34sSq7AkZ4B3sfOBbI2CgVSB4Du4aLQijFU2+lhAFCwt9+42Hel6lQNIv6AntQ==",
+ "license": "MIT",
+ "dependencies": {
+ "graceful-fs": "^4.1.11"
+ }
+ },
"node_modules/kleur": {
"version": "3.0.3",
"resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz",
@@ -9307,6 +9761,24 @@
"yallist": "^3.0.2"
}
},
+ "node_modules/lunr": {
+ "version": "2.3.9",
+ "resolved": "https://registry.npmjs.org/lunr/-/lunr-2.3.9.tgz",
+ "integrity": "sha512-zTU3DaZaF3Rt9rhN3uBMGQD3dD2/vFQqnvZCDv4dl5iOzq2IZQqTxu90r4E5J+nP70J3ilqVCrbho2eWaeW8Ow==",
+ "license": "MIT"
+ },
+ "node_modules/lunr-languages": {
+ "version": "1.14.0",
+ "resolved": "https://registry.npmjs.org/lunr-languages/-/lunr-languages-1.14.0.tgz",
+ "integrity": "sha512-hWUAb2KqM3L7J5bcrngszzISY4BxrXn/Xhbb9TTCJYEGqlR1nG67/M14sp09+PTIRklobrn57IAxcdcO/ZFyNA==",
+ "license": "MPL-1.1"
+ },
+ "node_modules/mark.js": {
+ "version": "8.11.1",
+ "resolved": "https://registry.npmjs.org/mark.js/-/mark.js-8.11.1.tgz",
+ "integrity": "sha512-1I+1qpDt4idfgLQG+BNWmrqku+7/2bi5nLf4YwF8y8zXvmfiTBY3PV3ZibfrjBueCByROpuBjLLFCajqkgYoLQ==",
+ "license": "MIT"
+ },
"node_modules/markdown-extensions": {
"version": "2.0.0",
"resolved": "https://registry.npmjs.org/markdown-extensions/-/markdown-extensions-2.0.0.tgz",
@@ -12063,6 +12535,18 @@
"url": "https://github.com/inikulin/parse5?sponsor=1"
}
},
+ "node_modules/parse5-parser-stream": {
+ "version": "7.1.2",
+ "resolved": "https://registry.npmjs.org/parse5-parser-stream/-/parse5-parser-stream-7.1.2.tgz",
+ "integrity": "sha512-JyeQc9iwFLn5TbvvqACIF/VXG6abODeB3Fwmv/TGdLk2LfbWkaySGY72at4+Ty7EkPZj854u4CrICqNk2qIbow==",
+ "license": "MIT",
+ "dependencies": {
+ "parse5": "^7.0.0"
+ },
+ "funding": {
+ "url": "https://github.com/inikulin/parse5?sponsor=1"
+ }
+ },
"node_modules/parseurl": {
"version": "1.3.3",
"resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz",
@@ -15717,6 +16201,15 @@
"node": ">=14.17"
}
},
+ "node_modules/undici": {
+ "version": "6.21.1",
+ "resolved": "https://registry.npmjs.org/undici/-/undici-6.21.1.tgz",
+ "integrity": "sha512-q/1rj5D0/zayJB2FraXdaWxbhWiNKDvu8naDT2dl1yTlvJp4BLtOcp2a5BvgGNQpYYJzau7tf1WgKv3b+7mqpQ==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18.17"
+ }
+ },
"node_modules/undici-types": {
"version": "6.19.8",
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.19.8.tgz",
@@ -16579,6 +17072,39 @@
"node": ">=0.8.0"
}
},
+ "node_modules/whatwg-encoding": {
+ "version": "3.1.1",
+ "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-3.1.1.tgz",
+ "integrity": "sha512-6qN4hJdMwfYBtE3YBTTHhoeuUrDBPZmbQaxWAqSALV/MeEnR5z1xd8UKud2RAkFoPkmB+hli1TZSnyi84xz1vQ==",
+ "license": "MIT",
+ "dependencies": {
+ "iconv-lite": "0.6.3"
+ },
+ "engines": {
+ "node": ">=18"
+ }
+ },
+ "node_modules/whatwg-encoding/node_modules/iconv-lite": {
+ "version": "0.6.3",
+ "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.3.tgz",
+ "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",
+ "license": "MIT",
+ "dependencies": {
+ "safer-buffer": ">= 2.1.2 < 3.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
+ "node_modules/whatwg-mimetype": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-4.0.0.tgz",
+ "integrity": "sha512-QaKxh0eNIi2mE9p2vEdzfagOKHCcj1pJ56EEHGQOVxp8r9/iszLUUV7v89x9O1p/T+NlTM5W7jW6+cz4Fq1YVg==",
+ "license": "MIT",
+ "engines": {
+ "node": ">=18"
+ }
+ },
"node_modules/which": {
"version": "2.0.2",
"resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz",
diff --git a/package.json b/package.json
index 4e7a4a2..6a944d1 100644
--- a/package.json
+++ b/package.json
@@ -15,6 +15,7 @@
"dependencies": {
"@docusaurus/core": "3.7.0",
"@docusaurus/preset-classic": "3.7.0",
+ "@easyops-cn/docusaurus-search-local": "^0.48.4",
"@mdx-js/react": "^3.0.0",
"@react-spring/web": "^9.7.5",
"clsx": "^2.1.1",
diff --git a/src/components/HomepageFeatures/sidebars.ts b/sidebars.ts
similarity index 57%
rename from src/components/HomepageFeatures/sidebars.ts
rename to sidebars.ts
index 2897139..32e3840 100644
--- a/src/components/HomepageFeatures/sidebars.ts
+++ b/sidebars.ts
@@ -1,17 +1,7 @@
import type {SidebarsConfig} from '@docusaurus/plugin-content-docs';
-// This runs in Node.js - Don't use client-side code here (browser APIs, JSX...)
+// see: https://docusaurus.io/docs/sidebar
-/**
- * Creating a sidebar enables you to:
- - create an ordered group of docs
- - render a sidebar for each doc of that group
- - provide next/previous navigation
-
- The sidebars can be generated from the filesystem, or explicitly defined here.
-
- Create as many sidebars as you want.
- */
const sidebars: SidebarsConfig = {
// By default, Docusaurus generates a sidebar from the docs folder structure
tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
diff --git a/src/components/HomepageFeatures/index.tsx b/src/components/HomepageFeatures/index.tsx
deleted file mode 100644
index 478a38e..0000000
--- a/src/components/HomepageFeatures/index.tsx
+++ /dev/null
@@ -1,76 +0,0 @@
-import clsx from 'clsx';
-import Heading from '@theme/Heading';
-import styles from './styles.module.css';
-import SoftwareSvg from '@site/static/img/software.svg';
-import HardwareSvg from '@site/static/img/hardware.svg';
-import InnovationSvg from '@site/static/img/innovation.svg';
-
-import React, { JSX } from 'react';
-
-type FeatureItem = {
- title: string;
- Svg: string | React.ComponentType>; // 修改为支持字符串路径和组件
- description: JSX.Element;
-};
-
-const FeatureList: FeatureItem[] = [
- {
- title: '软件部',
- Svg: SoftwareSvg,
- description: (
-