OpenKruise documentations and website.
Go to file
ChrisLiu ffa099133e
update okg design concept (#223)
Signed-off-by: ChrisLiu <chrisliu1995@163.com>
2024-12-25 18:12:32 +08:00
.github/workflows add `Use WorkloadSpread with customized workload` manual (#209) 2024-09-12 20:17:00 +08:00
blog add struct check (#136) 2023-09-23 11:11:19 +08:00
docs fix sidecarset sourceContainerNameFrom docs (#210) 2024-11-19 15:10:09 +08:00
i18n/zh update okg design concept (#223) 2024-12-25 18:12:32 +08:00
kruisegame update okg design concept (#223) 2024-12-25 18:12:32 +08:00
rollouts update rollout api docs (#217) 2024-12-09 09:41:32 +08:00
src kruise rollout v0.5.0 (#151) 2023-12-19 11:00:01 +08:00
static update okg design concept (#223) 2024-12-25 18:12:32 +08:00
versioned_docs fix sidecarset sourceContainerNameFrom docs (#210) 2024-11-19 15:10:09 +08:00
versioned_sidebars kruise 1.7.0 (#198) 2024-08-28 11:04:39 +08:00
.gitignore fix rollout and game struct err (#158) 2024-02-22 10:36:01 +08:00
OWNERS add ls-2018 as owner (#222) 2024-12-24 20:41:29 +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 add end to end canary update doc (#191) 2024-07-02 13:18:02 +08:00
package.json fix kruise-game doc (#101) 2023-04-13 11:08:53 +08:00
sidebars-kruisegame.js add 360 blog video (#219) 2024-12-20 09:24:54 +08:00
sidebars-rollouts.js update more docs about end to end canary update (#193) 2024-07-03 19:12:03 +08:00
sidebars.js add docs for kustomize schema generator (#133) 2023-10-27 10:42:54 +08:00
versions.json kruise 1.7.0 (#198) 2024-08-28 11:04:39 +08:00
yarn.lock add `Use WorkloadSpread with customized workload` manual (#209) 2024-09-12 20:17:00 +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.