英語| 中文
これは、 https://seatunnel.apache.orgのすべてのソースコードを含むリポジトリです。このガイドでは、SeatunnelのWebサイトに貢献する方法を紹介します。
メインはデフォルトのブランチです。すべての変更については、最初にフォークしてから、メインブランチを進めてください。
main #default branch
asf-site #The official environment of asf-site official website is accessed through https://seatunnel.apache.org
asf-staging #The asf-staging official website test environment is accessed through https://seatunnel.staged.apache.org
このウェブサイトは、Docusaurusフレームワークコンポーネントを使用してノードを使用してコンパイルされています
git clone [email protected]:apache/incubator-seatunnel-website.git./tools/build-docs.shを実行してドキュメントを取得して準備します。npm installを実行して、必要な従属ライブラリをインストールします。npm run start in the Root Directory、http:// localhost:3000にアクセスして、サイトの英語モードプレビューを表示できますnpm run start-zhルートディレクトリで実行すると、http:// localhost:3000にアクセスして、サイトの中国モードプレビューを表示できますnpm run build実行します。ビルドの静的リソースはビルドディレクトリにあります。 ├── LICENSE
├── Logo.png
├── README.md
├── README_ZH.md
├── babel.config.js
├── blog
├── user_cases
├── community // Community
├── docusaurus.config.js
|-- download // Download
├── faq // Q&A
├── i18n
│ └── zh-CN // Internationalized Chinese
│ ├── docusaurus-plugin-content-blog
│ ├── docusaurus-plugin-content-docs
│ ├── docusaurus-plugin-content-docs-community
│ ├── docusaurus-plugin-content-docs-download
│ ├── docusaurus-plugin-content-docs-faq
│ └── docusaurus-theme-classic
├── package.json
├── sidebars.js
├── sidebarsCommunity.js
├── src
│ ├── components
│ ├── css
│ ├── js
│ ├── pages
│ │ ├── home
│ │ ├── index.tsx
│ │ ├── team
│ │ ├── user
│ │ └── versions
│ └── styles
├── static // static resources
│ ├── doc // Static resources for documentation
│ │ ├── image // Document common image
│ │ ├── image_en // English document picture
│ │ └── image_zh // Chinese document picture
│ ├── home // Homepage pictures
│ ├── image // Module common pictures
│ └── user // user picture
├── tools
│└── build-docs.sh // Document sync script
├── tsconfig.json
├── versioned_docs // Version documentation
│ ├── version-2.0.5
├── versioned_sidebars // Version sidebars
│ ├── version-2.0.5-sidebars.json
├── versions.json // Version
アンダースコアで区切られたすべての小文字を使用します。複数構造がある場合は、複数の命名法を使用し、複数の略語を使用しないでください
ポジティブな例: scripts / styles / components / images / utils / layouts / demo_styles / demo-scripts / img / doc
カウンターの例: script / style / demoStyles / imgs / docs
すべて小文字、ダッシュで区切られています
肯定的な例: render-dom.js / signup.css / index.html / company-logo.png
カウンターの例: renderDom.js / UserManagement.html
画像リソースはstatic/{module name}の下で統合されます
CSSおよびその他のスタイルファイルはsrc/cssディレクトリに配置されています
ホームページ、チーム、ユーザー、ドキュメント>すべてのバージョンモジュールページを除き、他のすべてのページは、下部の「Editこのページ」ボタンを介して対応するGitHubリソース変更ページに直接ジャンプできます。
ページhttps://seatunnel.apache.orgにアクセスしてください
src/pages/homeにあります
├── home
├── index.jsx
├── index.less
└── languages.json
ページhttps://seatunnel.apache.org/teamにアクセスしてください
src/pages/teamにあります
├── team
├── index.js
├── index.less
└── languages.json
ページhttps://seatunnel.apache.org/userにアクセスしてください
src/pages/userにあります
├── user
├── data.json
├── images.json
├── index.js
├── index.less
└── languages.json
ページhttps://seatunnel.apache.org/versionsにアクセスしてください
src/pages/versionsにあります
└── versions
├── config.json
├── index.js
└── index.less
npm run version replace_by_target_version局所的にドキュメントをコピーします。/src/pages/download/st_data.json download/st_data.json最新のダウンロードリンクアドレスを変更します。