Docs: revert search provider to agolia (#1564)

* docs: revert search mode to agolia and fix formats

* update repo link

* update style reference page link
This commit is contained in:
Calvin W. 2025-07-17 15:22:30 +08:00 committed by GitHub
parent 8eb2d86f56
commit a71b536a80
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 13 additions and 11 deletions

View file

@ -113,7 +113,7 @@ This section lists the main directories in the Olares repository:
* **[`apps`](./apps)**: Contains the code for system applications, primarily for `larepass`.
* **[`cli`](./cli)**: Contains the code for `olares-cli`, the command-line interface tool for Olares.
* **[`daemon`](./daemon)**: Contains the code for `olaresd`, the system daemon process.
* **[`docs`**](./docs): Contains documentation for the project.
* **[`docs`](./docs)**: Contains documentation for the project.
* **[`framework`](./framework)**: Contains the Olares system services.
* **[`infrastructure`](./infrastructure)**: Contains code related to infrastructure components such as computing, storage, networking, and GPUs.
* **[`platform`](./platform)**: Contains code for cloud-native components like databases and message queues.

View file

@ -115,7 +115,7 @@ Olares 代码库中的主要目录如下:
* **[`apps`](./apps)**: 用于存放系统应用,主要是 `larepass` 的代码。
* **[`cli`](./cli)**: 用于存放 `olares-cli`Olares 的命令行界面工具)的代码。
* **[`daemon`](./daemon)**: 用于存放 `olaresd`(系统守护进程)的代码。
* **[`docs`**](./docs): 用于存放 Olares 项目的文档。
* **[`docs`**](./docs)**: 用于存放 Olares 项目的文档。
* **[`framework`](./framework)**: 用来存放 Olares 系统服务代码。
* **[`infrastructure`](./infrastructure)**: 用于存放计算存储网络GPU 等基础设施的代码。
* **[`platform`](./platform)**: 用于存放数据库、消息队列等云原生组件的代码。

View file

@ -57,9 +57,14 @@ export default defineVersionedConfig2(withMermaid({
},
themeConfig: {
search: {
provider: "local",
provider: "algolia",
options: {
enhancedSearch: true,
appId: "DZ6H2FVQGO",
apiKey: "e5257d88b605dc0e5b82b12854aea9a5",
indexName: "olares",
searchParameters: {
queryLanguages: ["zh", "en"],
},
locales: {
zh: {
placeholder: "搜索文档",

View file

@ -6,9 +6,9 @@ This directory includes the source files for the Olares documentation website, i
## Quick links
* **Published documentation site**: `https://docs.olares.com`
* **Olares official website**: `https://www.olares.com`
* **Olares project on GitHub**: `https://github.com/olares/olares`
* **Published documentation site**: https://docs.olares.com
* **Olares official website**: https://www.olares.com
* **Olares project on GitHub**: https://github.com/beclab/Olares
## Getting started with Olares documentation
@ -56,7 +56,4 @@ Creating a PR to a corresponding branch will automatically trigger the documenta
## Style guide
To ensure clarity, accuracy, and a consistent tone, please read our **[Content and Style Guide](https://github.com/beclab/docs/wiki/Markdown-reference)** before contributing.
```
```
To ensure clarity, accuracy, and a consistent tone, please read our **[Content and style guide](https://github.com/beclab/Olares/wiki/General-style-reference)** before contributing.