This is an automated email from the ASF dual-hosted git repository.
shuai pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-answer-website.git
The following commit(s) were added to refs/heads/main by this push:
new 463f5337 fix: tem.json move to static/data folders
463f5337 is described below
commit 463f5337e08ef2e5d7c79506ada184cdc4113a09
Author: shuai <[email protected]>
AuthorDate: Wed Jul 3 14:24:15 2024 +0800
fix: tem.json move to static/data folders
---
community/team.mdx | 2 +-
i18n/zh-CN/docusaurus-plugin-content-docs-community/current/team.mdx | 2 +-
scripts/contributor.js | 4 ++--
scripts/translator.js | 2 +-
{community => static/data}/team.json | 0
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/community/team.mdx b/community/team.mdx
index 7be1a7bf..df8b9182 100644
--- a/community/team.mdx
+++ b/community/team.mdx
@@ -7,7 +7,7 @@ slug: /team
The Apache Answer team works on the core functionality, plugins, as well as
the documentation website. Current members of the team are listed in
alphabetical order below.
-import UserData from './team.json';
+import UserData from '/data/team.json';
## Podling PMC
diff --git
a/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/team.mdx
b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/team.mdx
index 11500252..d8eae871 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/team.mdx
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/team.mdx
@@ -7,7 +7,7 @@ slug: /team
Apache Answer 团队致力于核心功能、插件以及文档网站。团队的现任成员按字母顺序排列如下。
-import UserData from './team.json';
+import UserData from '/data/team.json';
## Podling 项目管理委员会
diff --git a/scripts/contributor.js b/scripts/contributor.js
index 6252cc0e..0ca14725 100644
--- a/scripts/contributor.js
+++ b/scripts/contributor.js
@@ -2,9 +2,9 @@
var fs = require('fs');
var path = require('path');
-var TeamJson = require('../community/team.json');
+var TeamJson = require('../static/data/team.json');
-var outputFile = path.resolve(__dirname, '../community/team.json');
+var outputFile = path.resolve(__dirname, '../static/data/team.json');
// ignore PPMC and committers members
var ignoreList = [];
diff --git a/scripts/translator.js b/scripts/translator.js
index ed174347..6b1473b7 100644
--- a/scripts/translator.js
+++ b/scripts/translator.js
@@ -2,7 +2,7 @@
var fs = require('fs');
var path = require('path');
-var outputFile = path.resolve(__dirname, '../community/team.json');
+var outputFile = path.resolve(__dirname, '../static/data/team.json');
// crowdin token
var TOKEN = '';
diff --git a/community/team.json b/static/data/team.json
similarity index 100%
rename from community/team.json
rename to static/data/team.json