This is the repository containing all the source code of https://linkis.apache.org
.
The project is specially for Linkis, based on the newest vite
& vue3
This website is compiled using node.
- download and install nodejs (version>12.5.0)
- clone the code to local
- run
npm install
to install the required libraries. - run
npm run
in the root directory, you can visit http://localhost:3000 to view the site preview - to generate static website resource files, run
npm run build
. The static resources built are in the dist directory.
This guide will guide you how to contribute to the Linkis website.
Use all lowercase, separated by a dash. If there is a plural structure, use plural nomenclature and do not use plural abbreviations.
Positive example: scripts / styles / components / images / utils / layouts / demo-styles / demo-scripts / img / doc
Counter example: script / style / demo_scripts / demoStyles / imgs / docs
[Special] The component directory in components in the VUE project is named with kebab-case
Positive example: head-search / page-loading / authorized / notice-icon
Counter-example: HeadSearch / PageLoading
[Special] All directories in the VUE project except the components directory are also named with kebab-case
Positive example: page-one / shopping-car / user-management
Counter-example: ShoppingCar / UserManagement
All lowercase, separated by a dash
Positive example: render-dom.js / signup.css / index.html / company-logo.png
Counter example: renderDom.js / UserManagement.html
Image resources are unified under src/assets/{module name}
css and other style files are placed in the src/style
directory
Located in src/pages/home/index.vue
Located in src/pages/docs
filename.vue //vue page
filename_zh.md //Chinese document corresponding
filename_en.md //English document corresponding
Located in src/pages/home/index.vue
Chinese revision: src/pages/faq/faq_en.md English revision: src/pages/faq/faq_zh.md
Chinese list data file: src/pages/download/downloaddata_en.js English list data file: src/pages/download/downloaddata_zh.js Example of list data entry
{
"version":"1.0.2", //version
"releaseDate":"2021-09-02",//release date
"releaseDesc":"This release mainly introduces Flink-support into Linkis ecosystem.",//Description
"newFeatures":"6",//The number of new features added to this version
"enhancement":"5",//Enhanced optimization function than version
"bugFixs":"5",//The number of bugs fixed in this version
"changeLogUrl":"https://github.com/apache/incubator-linkis/releases/tag/1.0.2",//Detailed change log link to release log on github
"downloadUrl":"https://github.com/apache/incubator-linkis/archive/refs/tags/1.0.2.zip"//version download address
}
The naming convention refers to "Alibaba Front-end Development Specification"