Support md and jsx page in community and refactor community (#234)
authorShiwen Cheng <chengshiwen0103@gmail.com>
Tue, 29 Dec 2020 02:11:47 +0000 (10:11 +0800)
committerGitHub <noreply@github.com>
Tue, 29 Dec 2020 02:11:47 +0000 (10:11 +0800)
commit586d9783f8e7f3f875e2eb7a6e2210e0d06c286e
tree2a29bcc41fea731a2c8a354be4b93494d6d8f5e1
parent9a91e870dd2ab52ab8fb6afc3e03759ff562d5fb
Support md and jsx page in community and refactor community (#234)

* support md and jsx page in community

* add baidu tongji code in ejs template

* refactor community docs

* add component md2html to resolve duplicated code of index.md.jsx

* adjust html style for redirect.ejs
24 files changed:
.gitignore
community/en-us/example.md [moved from docs/en-us/community/example.md with 100% similarity]
community/en-us/release.md [moved from docs/en-us/community/release.md with 100% similarity]
community/en-us/security.md [moved from docs/en-us/community/security.md with 100% similarity]
community/en-us/team.md [moved from docs/en-us/community/team.md with 100% similarity]
community/zh-cn/example.md [moved from docs/zh-cn/community/example.md with 100% similarity]
index.html [deleted file]
md_json/blog.json [deleted file]
md_json/docs.json [deleted file]
package.json
redirect.ejs
site_config/community.js [deleted file]
site_config/community.jsx
site_config/site.js
src/components/md2html/index.jsx [moved from src/pages/blogDetail/index.jsx with 69% similarity, mode: 0644]
src/components/md2html/index.scss [moved from src/pages/documentation/index.scss with 96% similarity, mode: 0644]
src/pages/blogDetail/index.md.jsx [new file with mode: 0755]
src/pages/blogDetail/index.md.scss [moved from src/pages/blogDetail/index.scss with 100% similarity]
src/pages/community/index.jsx
src/pages/community/index.md.jsx [new file with mode: 0755]
src/pages/documentation/index.jsx [deleted file]
src/pages/documentation/index.md.jsx [new file with mode: 0755]
template.ejs
webpack.config.js