This is an automated email from the ASF dual-hosted git repository. shuai pushed a commit to branch podling in repository https://gitbox.apache.org/repos/asf/incubator-answer.git
commit d54898c4ddeba0366812c22d4290e9ee3fb900e9 Author: shuai <[email protected]> AuthorDate: Wed Nov 1 12:24:15 2023 +0800 fix: rename links under the ui folder to apache --- README.md | 7 +++---- README_CN.md | 4 ++-- ui/public/index.html | 2 +- ui/src/components/Footer/index.tsx | 2 +- ui/src/components/PageTags/index.tsx | 2 +- ui/src/pages/Admin/Dashboard/components/AnswerLinks/index.tsx | 5 ++++- ui/src/pages/Admin/Dashboard/components/HealthStatus/index.tsx | 6 +++--- ui/src/pages/Admin/Plugins/Installed/index.tsx | 2 +- ui/src/plugins/builtin/ThirdPartyConnector/info.yaml | 2 +- ui/template/footer.html | 2 +- ui/template/header.html | 2 +- 11 files changed, 19 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 1edf06cb..c868a1c5 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ A Q&A platform software for teams at any scales. Whether it’s a community foru To learn more about the project, visit [answer.apache.org](https://answer.apache.org). -[](https://github.com/answerdev/answer/blob/main/LICENSE) +[](https://github.com/apache/incubator-answer/blob/main/LICENSE) [](https://golang.org/) [](https://reactjs.org/) [](https://goreportcard.com/report/github.com/answerdev/answer) @@ -34,8 +34,7 @@ Answer provides a plugin system for developers to create custom plugins and expa 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://github.com/answerdev/plugins). - +You can also check out the [plugins here](https://github.com/apache/incubator-answer/plugins). ## Contributing @@ -45,4 +44,4 @@ See [CONTRIBUTING](https://answer.apache.org/docs/development/contributing/) for ## License -[Apache License 2.0](https://github.com/answerdev/answer/blob/main/LICENSE) +[Apache License 2.0](https://github.com/apache/incubator-answer/blob/main/LICENSE) diff --git a/README_CN.md b/README_CN.md index 015d34b1..f311d3dc 100644 --- a/README_CN.md +++ b/README_CN.md @@ -8,7 +8,7 @@ 了解更多关于该项目的内容,请访问 [answer.apache.org](https://answer.apache.org). -[](https://github.com/answerdev/answer/blob/main/LICENSE) +[](https://github.com/apache/incubator-answer/blob/main/LICENSE) [](https://golang.org/) [](https://reactjs.org/) [](https://goreportcard.com/report/github.com/answerdev/answer) @@ -36,4 +36,4 @@ docker run -d -p 9080:80 -v answer-data:/data --name answer answerdev/answer:lat ## License -[Apache License 2.0](https://github.com/answerdev/answer/blob/main/LICENSE) +[Apache License 2.0](https://github.com/apache/incubator-answer/blob/main/LICENSE) diff --git a/ui/public/index.html b/ui/public/index.html index 9de05972..eeb5fb11 100644 --- a/ui/public/index.html +++ b/ui/public/index.html @@ -24,7 +24,7 @@ <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" /> <meta name="theme-color" /> - <meta name="generator" content="Answer - https://github.com/answerdev/answer"> + <meta name="generator" content="Answer - https://github.com/apache/incubator-answer"> <link rel="manifest" href="%PUBLIC_URL%/manifest.json" /> </head> <body> diff --git a/ui/src/components/Footer/index.tsx b/ui/src/components/Footer/index.tsx index 850fab86..6b832ba8 100644 --- a/ui/src/components/Footer/index.tsx +++ b/ui/src/components/Footer/index.tsx @@ -36,7 +36,7 @@ const Index = () => { <Trans i18nKey="footer.build_on" values={{ cc }}> Built on {/* eslint-disable-next-line react/jsx-no-target-blank */} - <a href="https://answer.dev/" target="_blank"> + <a href="https://answer.apache.org" target="_blank"> Answer </a> - the open-source software that powers Q&A communities. diff --git a/ui/src/components/PageTags/index.tsx b/ui/src/components/PageTags/index.tsx index 9e09a00b..6bed2125 100644 --- a/ui/src/components/PageTags/index.tsx +++ b/ui/src/components/PageTags/index.tsx @@ -40,7 +40,7 @@ const Index: FC = () => { if (generatorMetaNode) { generatorMetaNode.setAttribute( 'content', - `Answer ${appVersion} - https://github.com/answerdev/answer version ${hashVersion}`, + `Answer ${appVersion} - https://github.com/apache/incubator-answer version ${hashVersion}`, ); } }; diff --git a/ui/src/pages/Admin/Dashboard/components/AnswerLinks/index.tsx b/ui/src/pages/Admin/Dashboard/components/AnswerLinks/index.tsx index 3eb17e9f..19a70fca 100644 --- a/ui/src/pages/Admin/Dashboard/components/AnswerLinks/index.tsx +++ b/ui/src/pages/Admin/Dashboard/components/AnswerLinks/index.tsx @@ -29,7 +29,10 @@ const AnswerLinks = () => { <h6 className="mb-3">{t('answer_links')}</h6> <Row> <Col xs={6}> - <a href="https://answer.dev/docs" target="_blank" rel="noreferrer"> + <a + href="https://answer.apache.org/docs" + target="_blank" + rel="noreferrer"> {t('documents')} </a> </Col> diff --git a/ui/src/pages/Admin/Dashboard/components/HealthStatus/index.tsx b/ui/src/pages/Admin/Dashboard/components/HealthStatus/index.tsx index 2353766a..129248ba 100644 --- a/ui/src/pages/Admin/Dashboard/components/HealthStatus/index.tsx +++ b/ui/src/pages/Admin/Dashboard/components/HealthStatus/index.tsx @@ -51,7 +51,7 @@ const HealthStatus: FC<IProps> = ({ data }) => { <a className="ms-1 badge rounded-pill text-bg-success" target="_blank" - href="https://github.com/answerdev/answer/releases" + href="https://github.com/apache/incubator-answer/releases" rel="noreferrer"> {t('latest')} </a> @@ -60,7 +60,7 @@ const HealthStatus: FC<IProps> = ({ data }) => { <a className="ms-1 badge rounded-pill text-bg-warning" target="_blank" - href="https://github.com/answerdev/answer/releases" + href="https://github.com/apache/incubator-answer/releases" rel="noreferrer"> {t('update_to')} {remote_version} </a> @@ -69,7 +69,7 @@ const HealthStatus: FC<IProps> = ({ data }) => { <a className="ms-1 badge rounded-pill text-bg-danger" target="_blank" - href="https://github.com/answerdev/answer/releases" + href="https://github.com/apache/incubator-answer/releases" rel="noreferrer"> {t('check_failed')} </a> diff --git a/ui/src/pages/Admin/Plugins/Installed/index.tsx b/ui/src/pages/Admin/Plugins/Installed/index.tsx index 43188a63..6df6d716 100644 --- a/ui/src/pages/Admin/Plugins/Installed/index.tsx +++ b/ui/src/pages/Admin/Plugins/Installed/index.tsx @@ -85,7 +85,7 @@ const Users: FC = () => { Plugins extend and expand the functionality of Answer. You may find plugins in the <a - href="https://github.com/answerdev/plugins" + href="https://github.com/apache/incubator-answer-plugins" target="_blank" rel="noreferrer"> Answer Plugin Repository diff --git a/ui/src/plugins/builtin/ThirdPartyConnector/info.yaml b/ui/src/plugins/builtin/ThirdPartyConnector/info.yaml index f137c5a9..1f9dfe0f 100644 --- a/ui/src/plugins/builtin/ThirdPartyConnector/info.yaml +++ b/ui/src/plugins/builtin/ThirdPartyConnector/info.yaml @@ -18,6 +18,6 @@ slug_name: third_party_connector type: connector version: 0.0.1 -link: https://github.com/answerdev/plugins/tree/main/connector/ +link: https://github.com/apache/incubator-answer-plugins/tree/main/connector/ author: Answer.dev diff --git a/ui/template/footer.html b/ui/template/footer.html index 7507de65..0e0e40f1 100644 --- a/ui/template/footer.html +++ b/ui/template/footer.html @@ -25,7 +25,7 @@ <p class="text-center mb-0 small text-secondary"> {{$cc := (join " " .siteinfo.Year .siteinfo.General.Name) -}} {{- $ft := translator $.language "ui.footer.build_on" "cc" $cc -}} - {{templateHTML (replaceHTMLTag $ft "<a href=\"https://answer.dev/\" target=\"_blank\"> Answer </a>")}} + {{templateHTML (replaceHTMLTag $ft "<a href=\"https://answer.apache.org/\" target=\"_blank\"> Answer </a>")}} </p> </div> </footer> diff --git a/ui/template/header.html b/ui/template/header.html index affa128f..47372ab6 100644 --- a/ui/template/header.html +++ b/ui/template/header.html @@ -27,7 +27,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" /> <meta name="theme-color" /> <meta name="description" content="{{.description}}" data-rh="true" /> - <meta name="generator" content="Answer {{.Version}} - https://github.com/answerdev/answer version {{.Revision}}"> + <meta name="generator" content="Answer {{.Version}} - https://github.com/apache/incubator-answer version {{.Revision}}"> {{if .keywords }}<meta name="keywords" content="{{.keywords}}" data-rh="true" />{{end}} <link rel="canonical" href="{{.siteinfo.Canonical}}" />
