Skip to content

kosmos-io/kubenest-website

Repository files navigation

English | 中文

Kosmos Docs & Website

This repo contains the source code of KubeNest website and all the docs for KubeNest. It's built by Docusaurus, a modern static website generator.

Welcome to join us, and you are more than appreciated to contribute!

Add or Update Docs

When you add or modify the docs, these two files(docs/ and i18n/zh-Hans/docusaurus-plugin-content-docs/current) should be taken into consideration.

Run with Node.js

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

# build
yarn

# Start the site
yarn start

Once the site is running locally, you can preview the site by visiting http://localhost:3000/.

How to Submit Documentation to this repo

The default documentation language for the project is English.

  • English documentation submission path: ./docs
  • Chinese documentation submission path: ./i18n/zh-Hans/docusaurus-plugin-content-docs/current

Note: The directory structures for both Chinese and English documentation must be completely identical.

Send your pull request

After all changes checked well, please creating a pull request with DCO.