ภาษาอังกฤษ | 中文
นี่คือที่เก็บที่มีซอร์สโค้ดทั้งหมดของ https://seatunnel.apache.org คู่มือนี้จะแนะนำวิธีการมีส่วนร่วมในเว็บไซต์ Seatunnel
หลักคือสาขาเริ่มต้น สำหรับการแก้ไขทั้งหมดโปรดแยกก่อนแล้วดำเนินการในสาขาหลัก
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 Framework
git clone [email protected]:apache/incubator-seatunnel-website.git./tools/build-docs.sh เพื่อดึงและเตรียมเอกสารแบบฟอร์ม Apache/Incubator-Seatunnel สำหรับข้อมูลเพิ่มเติมที่คุณจะเห็นว่าเอกสารของเราทำงานอย่างไรnpm install เพื่อติดตั้งไลบรารีที่ต้องขึ้นอยู่กับที่ต้องการnpm run start ในไดเรกทอรีรูทคุณสามารถเยี่ยมชม 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
ยกเว้นหน้าแรก, ทีม, ผู้ใช้, เอกสาร> หน้าโมดูลเวอร์ชันทั้งหมด, หน้าอื่น ๆ ทั้งหมดสามารถกระโดดได้โดยตรงไปยังหน้าการปรับเปลี่ยนทรัพยากร 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 สำหรับที่อยู่ลิงค์ดาวน์โหลดล่าสุด