You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by go...@apache.org on 2022/03/14 07:17:30 UTC
[incubator-inlong-website] branch master updated: [INLONG-3120] rename development tab to community (#302)
This is an automated email from the ASF dual-hosted git repository.
gosonzhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-inlong-website.git
The following commit(s) were added to refs/heads/master by this push:
new c0dd0bc [INLONG-3120] rename development tab to community (#302)
c0dd0bc is described below
commit c0dd0bc3ac1f0e6fcf49b790ea4b62f7127d25ca
Author: dockerzhang <do...@tencent.com>
AuthorDate: Mon Mar 14 15:17:26 2022 +0800
[INLONG-3120] rename development tab to community (#302)
---
README.md | 7 -------
{development => community}/how-to-become-a-committer.md | 0
{development => community}/how-to-commit.md | 0
{development => community}/how-to-contribute.md | 0
{development => community}/how-to-release.md | 0
{development => community}/how-to-subscribe.md | 0
{development => community}/how-to-verify.md | 0
{development => community}/how-to-vote-a-committer-ppmc.md | 0
docusaurus.config.js | 12 ++++++------
.../current.json | 0
.../current/how-to-become-a-committer.md | 0
.../current/how-to-commit.md | 0
.../current/how-to-contribute.md | 0
.../current/how-to-release.md | 0
.../current/how-to-subscribe.md | 0
.../current/how-to-verify.md | 0
.../current/how-to-vote-a-committer-ppmc.md | 0
i18n/zh-CN/docusaurus-theme-classic/navbar.json | 6 +++---
package.json | 8 ++++----
19 files changed, 13 insertions(+), 20 deletions(-)
diff --git a/README.md b/README.md
index de67aff..1f52f63 100644
--- a/README.md
+++ b/README.md
@@ -36,13 +36,6 @@ Make sure you have submit issue for tracking PR: [https://github.com/apache/incu
## Guide for adding new document
-### Add a new article for development
-
-1. Add new .md file under `development` or `i18n`.
-2. Run dev server locally to verify the article can be displayed correctly.
-3. Send the pull request contains the *.md and development.js only.
-
-
### Add a new article for docs
1. Add new .md file under `docs` or `i18n`.
diff --git a/development/how-to-become-a-committer.md b/community/how-to-become-a-committer.md
similarity index 100%
rename from development/how-to-become-a-committer.md
rename to community/how-to-become-a-committer.md
diff --git a/development/how-to-commit.md b/community/how-to-commit.md
similarity index 100%
rename from development/how-to-commit.md
rename to community/how-to-commit.md
diff --git a/development/how-to-contribute.md b/community/how-to-contribute.md
similarity index 100%
rename from development/how-to-contribute.md
rename to community/how-to-contribute.md
diff --git a/development/how-to-release.md b/community/how-to-release.md
similarity index 100%
rename from development/how-to-release.md
rename to community/how-to-release.md
diff --git a/development/how-to-subscribe.md b/community/how-to-subscribe.md
similarity index 100%
rename from development/how-to-subscribe.md
rename to community/how-to-subscribe.md
diff --git a/development/how-to-verify.md b/community/how-to-verify.md
similarity index 100%
rename from development/how-to-verify.md
rename to community/how-to-verify.md
diff --git a/development/how-to-vote-a-committer-ppmc.md b/community/how-to-vote-a-committer-ppmc.md
similarity index 100%
rename from development/how-to-vote-a-committer-ppmc.md
rename to community/how-to-vote-a-committer-ppmc.md
diff --git a/docusaurus.config.js b/docusaurus.config.js
index aa4c712..2e2a65c 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -106,10 +106,10 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
activeBaseRegex: `/download/`,
},
{
- to: '/development/how-to-contribute',
- label: 'DEVELOPMENT',
+ to: '/community/how-to-contribute',
+ label: 'COMMUNITY',
position: 'right',
- activeBaseRegex: `/development/`,
+ activeBaseRegex: `/community/`,
},
{
to: '/blog',
@@ -241,9 +241,9 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
[
'@docusaurus/plugin-content-docs',
{
- id: 'development',
- path: 'development',
- routeBasePath: 'development',
+ id: 'community',
+ path: 'community',
+ routeBasePath: 'community',
editUrl: ({locale, versionDocsDirPath, docPath}) => {
if (locale !== 'en') {
return `https://github.com/apache/incubator-inlong-website/edit/master/i18n/${locale}/${docPath}`;
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs-development/current.json b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current.json
similarity index 100%
rename from i18n/zh-CN/docusaurus-plugin-content-docs-development/current.json
rename to i18n/zh-CN/docusaurus-plugin-content-docs-community/current.json
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs-development/current/how-to-become-a-committer.md b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-become-a-committer.md
similarity index 100%
rename from i18n/zh-CN/docusaurus-plugin-content-docs-development/current/how-to-become-a-committer.md
rename to i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-become-a-committer.md
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs-development/current/how-to-commit.md b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-commit.md
similarity index 100%
rename from i18n/zh-CN/docusaurus-plugin-content-docs-development/current/how-to-commit.md
rename to i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-commit.md
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs-development/current/how-to-contribute.md b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-contribute.md
similarity index 100%
rename from i18n/zh-CN/docusaurus-plugin-content-docs-development/current/how-to-contribute.md
rename to i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-contribute.md
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs-development/current/how-to-release.md b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-release.md
similarity index 100%
rename from i18n/zh-CN/docusaurus-plugin-content-docs-development/current/how-to-release.md
rename to i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-release.md
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs-development/current/how-to-subscribe.md b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-subscribe.md
similarity index 100%
rename from i18n/zh-CN/docusaurus-plugin-content-docs-development/current/how-to-subscribe.md
rename to i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-subscribe.md
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs-development/current/how-to-verify.md b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-verify.md
similarity index 100%
rename from i18n/zh-CN/docusaurus-plugin-content-docs-development/current/how-to-verify.md
rename to i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-verify.md
diff --git a/i18n/zh-CN/docusaurus-plugin-content-docs-development/current/how-to-vote-a-committer-ppmc.md b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-vote-a-committer-ppmc.md
similarity index 100%
rename from i18n/zh-CN/docusaurus-plugin-content-docs-development/current/how-to-vote-a-committer-ppmc.md
rename to i18n/zh-CN/docusaurus-plugin-content-docs-community/current/how-to-vote-a-committer-ppmc.md
diff --git a/i18n/zh-CN/docusaurus-theme-classic/navbar.json b/i18n/zh-CN/docusaurus-theme-classic/navbar.json
index 763e060..d997c9d 100644
--- a/i18n/zh-CN/docusaurus-theme-classic/navbar.json
+++ b/i18n/zh-CN/docusaurus-theme-classic/navbar.json
@@ -15,9 +15,9 @@
"message": "下载",
"description": "Navbar item with label DOWNLOAD"
},
- "item.label.DEVELOPMENT": {
- "message": "开发",
- "description": "Navbar item with label DEVELOPMENT"
+ "item.label.COMMUNITY": {
+ "message": "社区",
+ "description": "Navbar item with label COMMUNITY"
},
"item.label.BLOG": {
"message": "博客",
diff --git a/package.json b/package.json
index 300759c..cdf71d6 100644
--- a/package.json
+++ b/package.json
@@ -15,10 +15,10 @@
"write-heading-ids": "docusaurus write-heading-ids"
},
"dependencies": {
- "@docusaurus/core": "^2.0.0-beta.16",
- "@docusaurus/plugin-content-blog": "^2.0.0-beta.16",
- "@docusaurus/plugin-content-docs": "^2.0.0-beta.16",
- "@docusaurus/preset-classic": "2.0.0-beta.16",
+ "@docusaurus/core": "^2.0.0-beta.17",
+ "@docusaurus/plugin-content-blog": "^2.0.0-beta.17",
+ "@docusaurus/plugin-content-docs": "^2.0.0-beta.17",
+ "@docusaurus/preset-classic": "2.0.0-beta.17",
"@mdx-js/react": "^1.6.21",
"@svgr/webpack": "^5.5.0",
"acorn": "^8.6.0",