This repo contains the source code of Kosmos website and all of the docs for Kosmos. It's built by Docusaurus, a modern static website generator.
Welcome to join us and you are more than appreciated to contribute!
When you add or modify the docs, these two files(docs/kosmos/docs/
and sidebars.js
) should be taken into consideration.
If you have the Node.js environment, you can run the website locally.
- It is recommended to use version node v18.0.0+ and npm v8.6+
- You can download Node.js
# Clone the repo, or your own fork
git clone https://github.com/<YOUR_GITHUB_USERNAME>/website.git
# Confirm doc update
cd website/kosmos
npm i
# Start the site
npm start
Once the site is running locally, you can preview the site by visiting http://localhost:3111/website/.
This command generates static content into the build
directory and can be served using any static contents hosting service.
# Static website update
cd website/kosmos
npm run build -- --out-dir ../docs
After all changes checked well, please creating a pull request with DCO.