From b483d0b8c3e1f309e1b45a97cea3c7782237cac7 Mon Sep 17 00:00:00 2001 From: fen Date: Fri, 27 Oct 2023 12:30:38 +0800 Subject: [PATCH 1/2] remove shield badges --- README.md | 2 +- docs/README.md | 7 ------- docusaurus.config.js | 6 +++--- .../zh-CN/docusaurus-plugin-content-docs/current/README.md | 7 ------- src/pages/index.tsx | 2 +- 5 files changed, 5 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index df0a08cd15..79b1a86cb1 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Website -Answer.dev is built using [Docusaurus 2](https://docusaurus.io/), and we use [pnpm](https://pnpm.io/) to manage dependencies. +Answer official website is built using [Docusaurus 2](https://docusaurus.io/), and we use [pnpm](https://pnpm.io/) to manage dependencies. ### Installation diff --git a/docs/README.md b/docs/README.md index 653081544a..80846e0d2f 100644 --- a/docs/README.md +++ b/docs/README.md @@ -7,13 +7,6 @@ slug: / Answer helps you to build a community between your users and your team. It's a place where you can share your knowledge and help your users to solve their problems. -[![LICENSE](https://img.shields.io/github/license/answerdev/answer)](https://github.com/apache/incubator-answer/blob/main/LICENSE) -[![Language](https://img.shields.io/badge/language-go-blue.svg)](https://golang.org/) -[![Language](https://img.shields.io/badge/language-react-blue.svg)](https://reactjs.org/) -[![GitHub release](https://img.shields.io/github/v/release/answerdev/answer?include_prereleases)](https://github.com/apache/incubator-answer/releases) -[![Go Report Card](https://goreportcard.com/badge/github.com/answerdev/answer)](https://goreportcard.com/report/github.com/answerdev/answer) -[![Discord](https://img.shields.io/badge/discord-chat-5865f2?logo=discord&logoColor=f5f5f5)](https://discord.gg/Jm7Y4cbUej) - Main features: - **Questions and Answers** - Ask questions and get answers from your users and your team. diff --git a/docusaurus.config.js b/docusaurus.config.js index a7f540e4e2..245d1731c4 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -16,7 +16,7 @@ const asfLinks = [ /** @type {import('@docusaurus/types').Config} */ const config = { - title: 'Answer', + title: 'Apache Answer', tagline: 'Build Q&A Community with Answer', url: 'https://answer.apache.org', baseUrl: '/', @@ -26,8 +26,8 @@ const config = { // GitHub pages deployment config. // If you aren't using GitHub pages, you don't need these. - organizationName: 'answerdev', // Usually your GitHub org/user name. - projectName: 'Answer', // Usually your repo name. + organizationName: 'apache', // Usually your GitHub org/user name. + projectName: 'incubator-answer', // Usually your repo name. // Even if you don't use internalization, you can use this field to set useful // metadata like html lang. For example, if your site is Chinese, you may want diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs/current/README.md b/i18n/zh-CN/docusaurus-plugin-content-docs/current/README.md index ccb82661fa..91b8fad233 100644 --- a/i18n/zh-CN/docusaurus-plugin-content-docs/current/README.md +++ b/i18n/zh-CN/docusaurus-plugin-content-docs/current/README.md @@ -6,13 +6,6 @@ slug: / Answer 可帮助你在用户或团队之间建立问答社区。你可以在这里分享知识并帮助用户解决问题。 -[![LICENSE](https://img.shields.io/github/license/answerdev/answer)](https://github.com/apache/incubator-answer/blob/main/LICENSE) -[![Language](https://img.shields.io/badge/language-go-blue.svg)](https://golang.org/) -[![Language](https://img.shields.io/badge/language-react-blue.svg)](https://reactjs.org/) -[![GitHub release](https://img.shields.io/github/v/release/answerdev/answer?include_prereleases)](https://github.com/apache/incubator-answer/releases) -[![Go Report Card](https://goreportcard.com/badge/github.com/answerdev/answer)](https://goreportcard.com/report/github.com/answerdev/answer) -[![Discord](https://img.shields.io/badge/discord-chat-5865f2?logo=discord&logoColor=f5f5f5)](https://discord.gg/Jm7Y4cbUej) - 主要功能: - **提问和回答** - 提出问题并从你的用户和团队那里获得答案。 diff --git a/src/pages/index.tsx b/src/pages/index.tsx index cd125f3ca2..ffc2b67562 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -10,7 +10,7 @@ export default function Home(): JSX.Element { - Answer | Free Open-source Q&A Platform + Apache Answer | Free Open-source Q&A Platform
From b866dab1a8aefe6c1d13bfe8a7be0e53a1390a73 Mon Sep 17 00:00:00 2001 From: fen Date: Fri, 27 Oct 2023 13:55:46 +0800 Subject: [PATCH 2/2] fix thanks url --- docusaurus.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 245d1731c4..59f5c20c50 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -10,7 +10,7 @@ const asfLinks = [ {to: 'https://www.apache.org/foundation/sponsorship.html', label: 'Sponsorship'}, {to: 'https://privacy.apache.org/policies/privacy-policy-public.html', label: 'Privacy'}, {to: 'https://www.apache.org/security/', label: 'Security'}, - {to: 'https://www.apache.org/foundation/sponsors', label: 'Thanks'}, + {to: 'https://www.apache.org/foundation/thanks.html', label: 'Thanks'}, {to: 'https://www.apache.org/foundation/policies/conduct.html', label: 'Code of Conduct'}, ];