From 3b050d2843749957d29b042f22496ebcd36d1904 Mon Sep 17 00:00:00 2001 From: wehub-resource-sync Date: Mon, 13 Jul 2026 10:12:18 +0000 Subject: [PATCH] docs: make Chinese README the default --- README.md | 42 ++++++++++++++++++++++++------------------ 1 file changed, 24 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index cf257ab..1824406 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,18 @@ + +> [!NOTE] +> 本文档由 WeHub 基于上游 README 翻译整理,属于社区翻译,非官方中文文档。 +> [English](./README.en.md) · [原始项目](https://github.com/apache/answer) · [上游 README](https://github.com/apache/answer/blob/HEAD/README.md) +> 原作者、版权与许可证归属以原始项目及本仓库 LICENSE 文件为准。 + logo -# Apache Answer - Build Q&A platform +# Apache Answer - 构建问答(Q&A)平台 -A Q&A platform software for teams at any scales. Whether it’s a community forum, help center, or knowledge management platform, you can always count on Answer. +面向各种规模团队的问答(Q&A)平台软件。无论是社区论坛、帮助中心还是知识管理平台,Answer 都值得信赖。 -To learn more about the project, visit [answer.apache.org](https://answer.apache.org). +了解更多项目信息,请访问 [answer.apache.org](https://answer.apache.org). [![LICENSE](https://img.shields.io/github/license/apache/answer)](https://github.com/apache/answer/blob/main/LICENSE) [![Language](https://img.shields.io/badge/language-go-blue.svg)](https://golang.org/) @@ -14,31 +20,31 @@ To learn more about the project, visit [answer.apache.org](https://answer.apache [![Go Report Card](https://goreportcard.com/badge/github.com/apache/answer)](https://goreportcard.com/report/github.com/apache/answer) [![Discord](https://img.shields.io/badge/discord-chat-5865f2?logo=discord&logoColor=f5f5f5)](https://discord.gg/Jm7Y4cbUej) -## Screenshots +## 截图 ![screenshot](docs/img/screenshot.png) -## Quick start +## 快速开始 -### Running with docker +### 使用 Docker 运行 ```bash docker run -d -p 9080:80 -v answer-data:/data --name answer apache/answer:2.0.2 ``` -For more information, see [Installation](https://answer.apache.org/docs/installation). +更多信息请参阅 [安装](https://answer.apache.org/docs/installation). -### Plugins +### 插件 -Answer provides a plugin system for developers to create custom plugins and expand Answer’s features. You can find the [plugin documentation here](https://answer.apache.org/community/plugins). +Answer 为开发者提供插件系统,用于创建自定义插件并扩展 Answer 的功能。你可以在[此处查看插件文档](https://answer.apache.org/community/plugins). -We value your feedback and suggestions to improve our documentation. If you have any comments or questions, please feel free to contact us. We’re excited to see what you can create using our plugin system! +我们重视你的反馈和建议,以不断改进文档。如有任何意见或问题,欢迎随时联系我们。我们期待看到你利用插件系统创造出什么! -You can also check out the [plugins here](https://answer.apache.org/plugins). +你也可以在[此处浏览插件](https://answer.apache.org/plugins). -## Building from Source +## 从源码构建 -### Prerequisites +### 前置条件 - Golang >= 1.23 - Node.js >= 20 @@ -46,7 +52,7 @@ You can also check out the [plugins here](https://answer.apache.org/plugins). - [mockgen](https://github.com/uber-go/mock?tab=readme-ov-file#installation) >= 0.6.0 - [wire](https://github.com/google/wire/) >= 0.5.0 -### Build +### 构建 ```bash # Install wire and mockgen for building. You can run `make check` to check if they are installed. @@ -57,12 +63,12 @@ $ make ui $ make build ``` -## Contributing +## 贡献 -Contributions are always welcome! +欢迎贡献! -See [CONTRIBUTING](https://answer.apache.org/community/contributing) for ways to get started. +请参阅 [CONTRIBUTING](https://answer.apache.org/community/contributing) 了解如何开始参与。 -## License +## 许可证 [Apache License 2.0](https://github.com/apache/answer/blob/main/LICENSE)