OpenKruise documentations and website.
Go to file
ls-2018 fc9b63d512
fix rollout and game struct err (#158)
Signed-off-by: 刘硕 <liushuo@zetyun.com>
Co-authored-by: 刘硕 <liushuo@zetyun.com>
2024-02-22 10:36:01 +08:00
.github/workflows fix rollout and game struct err (#158) 2024-02-22 10:36:01 +08:00
blog add struct check (#136) 2023-09-23 11:11:19 +08:00
docs kruise 1.5.2 (#160) 2024-01-26 14:10:37 +08:00
i18n/zh fix rollout and game struct err (#158) 2024-02-22 10:36:01 +08:00
kruisegame fix rollout and game struct err (#158) 2024-02-22 10:36:01 +08:00
rollouts fix rollout and game struct err (#158) 2024-02-22 10:36:01 +08:00
src kruise rollout v0.5.0 (#151) 2023-12-19 11:00:01 +08:00
static add docs for okg v0.7.0 (#155) 2024-01-03 16:08:16 +08:00
versioned_docs kruise 1.5.2 (#160) 2024-01-26 14:10:37 +08:00
versioned_sidebars release v1.5.0 docs (#128) 2023-09-12 20:39:09 +08:00
.gitignore fix rollout and game struct err (#158) 2024-02-22 10:36:01 +08:00
OWNERS add chrisliu1995 as owner (#119) 2023-08-11 10:38:40 +08:00
README.md add struct check (#136) 2023-09-23 11:11:19 +08:00
babel.config.js Initial commit 2021-09-08 19:36:10 +08:00
docusaurus.config.js fix kruise-game doc (#101) 2023-04-13 11:08:53 +08:00
package-lock.json fix kruise-game doc (#101) 2023-04-13 11:08:53 +08:00
package.json fix kruise-game doc (#101) 2023-04-13 11:08:53 +08:00
sidebars-kruisegame.js kruise-game client-go doc (#161) 2024-02-05 16:48:46 +08:00
sidebars-rollouts.js kruise rollout v0.5.0 (#151) 2023-12-19 11:00:01 +08:00
sidebars.js add docs for kustomize schema generator (#133) 2023-10-27 10:42:54 +08:00
versions.json release v1.5.0 docs (#128) 2023-09-12 20:39:09 +08:00
yarn.lock release v1.5.0 docs (#128) 2023-09-12 20:39:09 +08:00

README.md

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

$ yarn

Local Development

$ yarn start

This command starts a local development server and opens up a browser window for default English site. Most changes are reflected live without having to restart the server.

$ yarn start --locale zh

This command starts a local development server and opens up a browser window for Chinese site. Most changes are reflected live without having to restart the server.

Build

$ yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

$ GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.

Document format checking

The file format check includes five types respectively:

  1. Check the number of titles in both English and Chinese
  2. Check the number of links in both English and Chinese
  3. Check the number of highlights in both English and Chinese
  4. Check struct examples in both Chinese and English
  5. English word spelling check

※: The language_tool_python module used in Check 5 detects word spelling errors.When it detects a problem with the word, it will go to the pre_dict.json file to determine, so just note some special words here.