This is an automated email from the ASF dual-hosted git repository.
kirs pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/incubator-seatunnel-website.git
The following commit(s) were added to refs/heads/main by this push:
new a3c53ba static resources are divided into corresponding language
directories (#28)
a3c53ba is described below
commit a3c53baafd5344011371354400d4e36cbea0eda9
Author: benjobs <[email protected]>
AuthorDate: Thu Dec 30 09:53:14 2021 +0800
static resources are divided into corresponding language directories (#28)
---
README.md | 7 +++++--
README_ZH.md | 11 +++++++----
docs/introduction.md | 18 +++++++++---------
docs/usecase/1.md | 2 +-
docs/usecase/2.md | 2 +-
docs/usecase/3.md | 2 +-
docusaurus.config.js | 16 ++++++++++------
src/css/custom.css | 2 +-
src/pages/home/index.jsx | 6 +++++-
src/pages/home/index.less | 7 +++----
{src/pages/team => static/doc/image}/.keep | 0
{src/pages/team => static/doc/image_en}/.keep | 0
static/doc/{ => image_zh}/bytedance-logo.jpeg | Bin
static/doc/{ => image_zh}/fendan-keji-logo.jpeg | Bin
static/doc/{ => image_zh}/flink/flink-console.png | Bin
static/doc/{ => image_zh}/flink/standalone.jpg | Bin
static/doc/{ => image_zh}/flink/yarn.jpg | Bin
static/doc/{ => image_zh}/hdfs2ch.jpg | Bin
static/doc/{ => image_zh}/hive-logo.png | Bin
static/doc/{ => image_zh}/qutoutiao-logo.jpg | Bin
static/doc/{ => image_zh}/shuidichou-logo.jpg | Bin
static/doc/{ => image_zh}/sina-logo.png | Bin
static/doc/{ => image_zh}/sougou-logo.png | Bin
static/doc/{ => image_zh}/wd-struct.png | Bin
static/doc/{ => image_zh}/wd-workflow.png | Bin
.../{ => image_zh}/wechat-qrcode/garyelephant.jpeg | Bin
.../doc/{ => image_zh}/wechat-qrcode/kid-xiong.jpeg | Bin
static/doc/{ => image_zh}/wechat-qrcode/rickyhuo.jpeg | Bin
static/doc/{ => image_zh}/yonghuiyunchuang-logo.png | Bin
.../zhejiang_lekong_xinxi_keji-logo.jpg | Bin
static/home/{processes.svg => processes_en.svg} | 0
static/home/{processes.svg => processes_zh.svg} | 0
static/{img => image}/apache.ico | Bin
static/{img => image}/asf_logo.svg | 0
static/{img => image}/favicon.ico | Bin
static/{img => image}/incubator-logo.svg | 0
static/{img => image}/logo.png | Bin
37 files changed, 43 insertions(+), 30 deletions(-)
diff --git a/README.md b/README.md
index cc0e583..0db9dee 100644
--- a/README.md
+++ b/README.md
@@ -56,9 +56,12 @@ This website is compiled using node, using Docusaurus
framework components
| |-- styles
|-- static // Picture static resource
| |-- doc // document picture
+| |-- image //document common picture
+| |-- image_en //English document picture
+| |-- image_zh //Chinese document picture
| |-- user // users picture
| |-- home // homepage picture
-| |-- img // common picture
+| |-- image // common picture
|-- docusaurus.config.js
```
@@ -73,7 +76,7 @@ Positive example: `scripts / styles / components / images /
utils / layouts / de
Counter example: `script / style / demoStyles / imgs / docs`
-### 3.2 Vue and the naming convention of static resource files
+### 3.2 javascript and the naming convention of static resource files
All lowercase, separated by a dash
diff --git a/README_ZH.md b/README_ZH.md
index cfa384d..2b75fda 100644
--- a/README_ZH.md
+++ b/README_ZH.md
@@ -53,11 +53,14 @@ asf-staging 官网测试环境 通过https://seatunnel.staged.apache.org 访问
| | |-- team
| | |-- user
| |-- styles
-|-- static //图片静态资源
-| |-- doc //文档的图片
+|-- static //静态资源
+| |-- doc //文档的静态资源
+| |-- image //文档通用图片
+| |-- image_en //英文文档图片
+| |-- image_zh //中文文档图片
| |-- user //用户的图片
| |-- home //首页的图片
-| |-- img //公用图片
+| |-- image //模块公用图片
|-- docusaurus.config.js
```
@@ -72,7 +75,7 @@ asf-staging 官网测试环境 通过https://seatunnel.staged.apache.org 访问
反例: `script / style / demoStyles / imgs / docs`
-### 3.2 vue以及静态资源文件命名规范
+### 3.2 javascript 以及静态资源文件命名规范
全部采用小写方式, 以中划线分隔
diff --git a/docs/introduction.md b/docs/introduction.md
index de25248..9802ab7 100644
--- a/docs/introduction.md
+++ b/docs/introduction.md
@@ -60,7 +60,7 @@ Databricks 开源的 Apache Spark 对于分布式数据处理来说是一个伟
Input/Source[数据源输入] -> Filter/Transform[数据处理] -> Output/Sink[结果输出]
```
-
+
多个Filter构建了数据处理的Pipeline,满足各种各样的数据处理需求,如果您熟悉SQL,也可以直接通过SQL构建数据处理的Pipeline,简单高效。目前seatunnel支持的[Filter列表](https://interestinglab.github.io/seatunnel-docs/#/zh-cn/v1/configuration/filter-plugin),
仍然在不断扩充中。您也可以开发自己的数据处理插件,整个系统是易于扩展的。
@@ -106,25 +106,25 @@ Elasticsearch, File, Hdfs, Jdbc, Kafka, Mysql, S3,
Stdout, 自行开发的Output
* [新浪](http://www.sina.com.cn/), 大数据运维分析平台
-
+
新浪运维数据分析平台使用seatunnel为新浪新闻,CDN等服务做运维大数据的实时和离线分析,并写入Clickhouse。
* [字节跳动](https://bytedance.com/zh),广告数据平台
-
+
字节跳动使用seatunnel实现了多源数据的关联分析(如Hive和ES的数据源关联查询分析),大大简化了不同数据源之间的分析对比工作,并且节省了大量的Spark程序的学习和开发时间。
* [搜狗](http://agent.e.sogou.com/),搜狗奇点系统
-
+
搜狗奇点系统使用 seatunnel 作为 etl 工具, 帮助建立实时数仓体系
* [趣头条](https://www.qutoutiao.net/),趣头条数据中心
-
+
趣头条数据中心,使用seatunnel支撑mysql to hive的离线etl任务、实时hive to
clickhouse的backfill技术支撑,很好的cover离线、实时大部分任务场景。
@@ -134,25 +134,25 @@ Elasticsearch, File, Hdfs, Jdbc, Kafka, Mysql, S3,
Stdout, 自行开发的Output
* 永辉超市子公司-永辉云创,会员电商数据分析平台
-
+
seatunnel 为永辉云创旗下新零售品牌永辉生活提供电商用户行为数据实时流式与离线SQL计算。
* 水滴筹, 数据平台
-
+
水滴筹在Yarn上使用seatunnel做实时流式以及定时的离线批处理,每天处理3~4T的数据量,最终将数据写入Clickhouse。
* 浙江乐控信息科技有限公司
-
+
Watedrop 为浙江乐控信息科技有限公司旗下乐控智能提供物联网交互数据实时流sql分析(Structured Streaming
引擎)和离线数据分析。每天处理的数据量8千万到一亿条数据 最终数据落地到kafka和mysql数据库。
* [上海分蛋信息科技](https://91fd.com),大数据数据分析平台
-
+
分蛋科技使用seatunnel做数据仓库实时同步,近百个Pipeline同步处理;数据流实时统计,数据平台指标离线计算。
diff --git a/docs/usecase/1.md b/docs/usecase/1.md
index 6fed95a..a65427d 100644
--- a/docs/usecase/1.md
+++ b/docs/usecase/1.md
@@ -3,7 +3,7 @@ title: HDFS导出数据到Clickhouse
sidebar_position: 1
---
-
+
ClickHouse是面向OLAP的分布式列式DBMS。我们部门目前已经把所有数据分析相关的日志数据存储至ClickHouse这个优秀的数据仓库之中,当前日数据量达到了300亿。
diff --git a/docs/usecase/2.md b/docs/usecase/2.md
index c522fe5..45eba6d 100644
--- a/docs/usecase/2.md
+++ b/docs/usecase/2.md
@@ -7,7 +7,7 @@ ClickHouse是面向OLAP的分布式列式DBMS。我们部门目前已经把所
在之前的文章[如何快速地把HDFS中的数据导入ClickHouse](http://www.clickhouse.com.cn/topic/5be26d48b24c202171d54fd6)中我们提到过使用seatunnel——[https://github.com/InterestingLab/seatunnel](https://github.com/InterestingLab/seatunnel)对HDFS中的数据经过很简单的操作就可以将数据写入ClickHouse。HDFS中的数据一般是非结构化的数据,那么针对存储在Hive中的结构化数据,我们应该怎么操作呢?
-
+
## Hive to ClickHouse
diff --git a/docs/usecase/3.md b/docs/usecase/3.md
index 5b2aa13..d268bcf 100644
--- a/docs/usecase/3.md
+++ b/docs/usecase/3.md
@@ -16,7 +16,7 @@ sidebar_position: 3
今天给大家推荐一款能够实现数据快速写入的黑科技——[seatunnel](https://github.com/InterestingLab/seatunnel),一个非常易用,高性能,能够应对海量数据的实时数据处理产品,它构建在Spark之上,简单易用,灵活配置,无需开发。
-
+
## Kafka to Elasticsearch
diff --git a/docusaurus.config.js b/docusaurus.config.js
index 5ef5d77..7d4fced 100644
--- a/docusaurus.config.js
+++ b/docusaurus.config.js
@@ -11,7 +11,7 @@ const config = {
baseUrl: '/',
onBrokenLinks: 'ignore',
onBrokenMarkdownLinks: 'warn',
- favicon: 'img/favicon.ico',
+ favicon: 'image/favicon.ico',
organizationName: 'Apache SeaTunnel',
projectName: 'Apache SeaTunnel',
i18n: {
@@ -61,7 +61,7 @@ const config = {
title: 'Apache SeaTunnel',
logo: {
alt: 'Apache SeaTunnel Logo',
- src: 'img/logo.png',
+ src: 'image/logo.png',
},
items: [
{
@@ -75,10 +75,14 @@ const config = {
label: 'Document',
items: [
{
- "label": "1.x(Not apache release)",
- "to":
"https://interestinglab.github.io/seatunnel-docs"
+ label: "Next-2.x (WIP)",
+ to: "/docs/introduction",
+ },
+ {
+ label: "1.x(Not apache release)",
+ to:
"https://interestinglab.github.io/seatunnel-docs"
}
- ],
+ ]
},
{
to: 'https://github.com/InterestingLab/seatunnel/releases',
@@ -171,7 +175,7 @@ const config = {
],
}
],
- copyright: `<div><img style="height:50px" alt="Apache Software
Foundation" src="/img/incubator-logo.svg" /><p style="color: #999999; padding:
0 20px 30px;font-weight:400;text-align:left">Apache SeaTunnel is an effort
undergoing incubation at The Apache Software Foundation (ASF), sponsored by the
Apache Incubator. Incubation is required of all newly accepted projects until a
further review indicates that the infrastructure, communications, and decision
making process have sta [...]
+ copyright: `<div><img style="height:50px" alt="Apache Software
Foundation" src="/image/incubator-logo.svg" /><p style="color: #999999;
padding: 0 20px 30px;font-weight:400;text-align:left">Apache SeaTunnel is an
effort undergoing incubation at The Apache Software Foundation (ASF), sponsored
by the Apache Incubator. Incubation is required of all newly accepted projects
until a further review indicates that the infrastructure, communications, and
decision making process have s [...]
<p style="padding: 0 20px 30px;color: #999999;font-weight: 400;">
Copyright © ${new Date().getFullYear()} The Apache Software Foundation.
Licensed under the Apache License, Version 2.0. Apache SeaTunnel, Apache
Incubator, Apache, the Apache feather logo, the Apache SeaTunnel Logo and the
Apache Incubator project logo are trademarks of The Apache Software
Foundation.</p>
<div>`,
},
diff --git a/src/css/custom.css b/src/css/custom.css
index 16008a6..0f93a88 100644
--- a/src/css/custom.css
+++ b/src/css/custom.css
@@ -47,7 +47,7 @@ html {
font-size: 15px;
font-family: PingFangSC-Regular, -apple-system, BlinkMacSystemFont, "Segoe
UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
font-weight: 500;
- padding: 15px;
+ padding: 10px;
}
.navbar__logo {
diff --git a/src/pages/home/index.jsx b/src/pages/home/index.jsx
index 4a8b291..4b9037e 100644
--- a/src/pages/home/index.jsx
+++ b/src/pages/home/index.jsx
@@ -60,7 +60,11 @@ export default function () {
<p
className="paragraph">{dataSource.home.architecture.desc}</p>
<div className="bold_dot" style={{top: '64px', left:
'416px'}}></div>
<div className="bold_dot" style={{top: '700px', left:
'240px'}}></div>
- <img src={useBaseUrl('/home/processes.svg')}
alt="Architecture" className="architecture-image"/>
+
+ <div className="architecture-image">
+ <img className="button_icon github1"
src={useBaseUrl('/home/processes_' + (language === 'en' ? 'en' : 'zh') +
'.svg')} alt="System Architecture"/>
+ </div>
+
<svg width="860" height="860" viewBox="0 0 100 100">
<circle cx="50" cy="50" r="49.8"
className="dotted"/>
</svg>
diff --git a/src/pages/home/index.less b/src/pages/home/index.less
index ca8da8d..742a70b 100644
--- a/src/pages/home/index.less
+++ b/src/pages/home/index.less
@@ -66,7 +66,6 @@
.paragraph {
padding-left: 50px;
- width: 750px;
font-size: 18px;
color: #4A4A4A;
line-height: 26px;
@@ -272,13 +271,13 @@
}
.banner {
- padding: 60px 0 70px;
+ padding: 80px 0 60px;
.main_title {
font-size: 0;
line-height: 40px;
position: relative;
- margin-bottom: 15px;
+ margin-bottom: 20px;
.apache {
font-size: 5rem;
@@ -318,7 +317,7 @@
}
.main_slogan {
- margin-bottom: 40px;
+ margin-bottom: 50px;
font-size: 24px;
color: #0f1223;
text-align: center;
diff --git a/src/pages/team/.keep b/static/doc/image/.keep
similarity index 100%
copy from src/pages/team/.keep
copy to static/doc/image/.keep
diff --git a/src/pages/team/.keep b/static/doc/image_en/.keep
similarity index 100%
rename from src/pages/team/.keep
rename to static/doc/image_en/.keep
diff --git a/static/doc/bytedance-logo.jpeg
b/static/doc/image_zh/bytedance-logo.jpeg
similarity index 100%
rename from static/doc/bytedance-logo.jpeg
rename to static/doc/image_zh/bytedance-logo.jpeg
diff --git a/static/doc/fendan-keji-logo.jpeg
b/static/doc/image_zh/fendan-keji-logo.jpeg
similarity index 100%
rename from static/doc/fendan-keji-logo.jpeg
rename to static/doc/image_zh/fendan-keji-logo.jpeg
diff --git a/static/doc/flink/flink-console.png
b/static/doc/image_zh/flink/flink-console.png
similarity index 100%
rename from static/doc/flink/flink-console.png
rename to static/doc/image_zh/flink/flink-console.png
diff --git a/static/doc/flink/standalone.jpg
b/static/doc/image_zh/flink/standalone.jpg
similarity index 100%
rename from static/doc/flink/standalone.jpg
rename to static/doc/image_zh/flink/standalone.jpg
diff --git a/static/doc/flink/yarn.jpg b/static/doc/image_zh/flink/yarn.jpg
similarity index 100%
rename from static/doc/flink/yarn.jpg
rename to static/doc/image_zh/flink/yarn.jpg
diff --git a/static/doc/hdfs2ch.jpg b/static/doc/image_zh/hdfs2ch.jpg
similarity index 100%
rename from static/doc/hdfs2ch.jpg
rename to static/doc/image_zh/hdfs2ch.jpg
diff --git a/static/doc/hive-logo.png b/static/doc/image_zh/hive-logo.png
similarity index 100%
rename from static/doc/hive-logo.png
rename to static/doc/image_zh/hive-logo.png
diff --git a/static/doc/qutoutiao-logo.jpg
b/static/doc/image_zh/qutoutiao-logo.jpg
similarity index 100%
rename from static/doc/qutoutiao-logo.jpg
rename to static/doc/image_zh/qutoutiao-logo.jpg
diff --git a/static/doc/shuidichou-logo.jpg
b/static/doc/image_zh/shuidichou-logo.jpg
similarity index 100%
rename from static/doc/shuidichou-logo.jpg
rename to static/doc/image_zh/shuidichou-logo.jpg
diff --git a/static/doc/sina-logo.png b/static/doc/image_zh/sina-logo.png
similarity index 100%
rename from static/doc/sina-logo.png
rename to static/doc/image_zh/sina-logo.png
diff --git a/static/doc/sougou-logo.png b/static/doc/image_zh/sougou-logo.png
similarity index 100%
rename from static/doc/sougou-logo.png
rename to static/doc/image_zh/sougou-logo.png
diff --git a/static/doc/wd-struct.png b/static/doc/image_zh/wd-struct.png
similarity index 100%
rename from static/doc/wd-struct.png
rename to static/doc/image_zh/wd-struct.png
diff --git a/static/doc/wd-workflow.png b/static/doc/image_zh/wd-workflow.png
similarity index 100%
rename from static/doc/wd-workflow.png
rename to static/doc/image_zh/wd-workflow.png
diff --git a/static/doc/wechat-qrcode/garyelephant.jpeg
b/static/doc/image_zh/wechat-qrcode/garyelephant.jpeg
similarity index 100%
rename from static/doc/wechat-qrcode/garyelephant.jpeg
rename to static/doc/image_zh/wechat-qrcode/garyelephant.jpeg
diff --git a/static/doc/wechat-qrcode/kid-xiong.jpeg
b/static/doc/image_zh/wechat-qrcode/kid-xiong.jpeg
similarity index 100%
rename from static/doc/wechat-qrcode/kid-xiong.jpeg
rename to static/doc/image_zh/wechat-qrcode/kid-xiong.jpeg
diff --git a/static/doc/wechat-qrcode/rickyhuo.jpeg
b/static/doc/image_zh/wechat-qrcode/rickyhuo.jpeg
similarity index 100%
rename from static/doc/wechat-qrcode/rickyhuo.jpeg
rename to static/doc/image_zh/wechat-qrcode/rickyhuo.jpeg
diff --git a/static/doc/yonghuiyunchuang-logo.png
b/static/doc/image_zh/yonghuiyunchuang-logo.png
similarity index 100%
rename from static/doc/yonghuiyunchuang-logo.png
rename to static/doc/image_zh/yonghuiyunchuang-logo.png
diff --git a/static/doc/zhejiang_lekong_xinxi_keji-logo.jpg
b/static/doc/image_zh/zhejiang_lekong_xinxi_keji-logo.jpg
similarity index 100%
rename from static/doc/zhejiang_lekong_xinxi_keji-logo.jpg
rename to static/doc/image_zh/zhejiang_lekong_xinxi_keji-logo.jpg
diff --git a/static/home/processes.svg b/static/home/processes_en.svg
similarity index 100%
copy from static/home/processes.svg
copy to static/home/processes_en.svg
diff --git a/static/home/processes.svg b/static/home/processes_zh.svg
similarity index 100%
rename from static/home/processes.svg
rename to static/home/processes_zh.svg
diff --git a/static/img/apache.ico b/static/image/apache.ico
similarity index 100%
rename from static/img/apache.ico
rename to static/image/apache.ico
diff --git a/static/img/asf_logo.svg b/static/image/asf_logo.svg
similarity index 100%
rename from static/img/asf_logo.svg
rename to static/image/asf_logo.svg
diff --git a/static/img/favicon.ico b/static/image/favicon.ico
similarity index 100%
rename from static/img/favicon.ico
rename to static/image/favicon.ico
diff --git a/static/img/incubator-logo.svg b/static/image/incubator-logo.svg
similarity index 100%
rename from static/img/incubator-logo.svg
rename to static/image/incubator-logo.svg
diff --git a/static/img/logo.png b/static/image/logo.png
similarity index 100%
rename from static/img/logo.png
rename to static/image/logo.png