영어 | 中文
이것은 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 프레임 워크 구성 요소를 사용하여 노드를 사용하여 컴파일됩니다.
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 디렉토리에 배치됩니다.
홈페이지, 팀, 사용자, 문서> 모든 버전 모듈 페이지를 제외하고 다른 모든 페이지는 하단의 '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 수정합니다.