OpenKruise documentations and website.
Go to file
skkkkkkk 5df24bdb50
fix kruise game doc (#240)
Signed-off-by: 宋康 <sk01199367@alibaba-inc.com>
Co-authored-by: 宋康 <sk01199367@alibaba-inc.com>
2025-04-17 14:56:25 +08:00
.github/workflows feat: add logs for each inspection item (#239) 2025-04-06 20:14:21 +08:00
blog add 1.8 docs (#235) 2025-04-02 19:26:31 +08:00
docs add 1.8 docs (#235) 2025-04-02 19:26:31 +08:00
i18n/zh fix kruise game doc (#240) 2025-04-17 14:56:25 +08:00
kruisegame fix kruise game doc (#240) 2025-04-17 14:56:25 +08:00
rollouts update rollouts installation.md (#228) 2025-02-08 17:10:45 +08:00
src kruise rollout v0.5.0 (#151) 2023-12-19 11:00:01 +08:00
static kruise-game-api doc (#230) 2025-02-24 14:33:42 +08:00
versioned_docs add 1.8 docs (#235) 2025-04-02 19:26:31 +08:00
versioned_sidebars add 1.8 docs (#235) 2025-04-02 19:26:31 +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 update readme (#237) 2025-03-25 18:08:29 +08:00
babel.config.js Initial commit 2021-09-08 19:36:10 +08:00
docusaurus.config.js upgrade docusaurus to v3 (#232) 2025-03-24 09:50:51 +08:00
package-lock.json add blog for gameserver scaling (#238) 2025-03-25 18:11:40 +08:00
package.json upgrade docusaurus to v3 (#232) 2025-03-24 09:50:51 +08:00
sidebars-kruisegame.js add blog for gameserver scaling (#238) 2025-03-25 18:11:40 +08:00
sidebars-rollouts.js add bluegreen doc (#224) 2025-01-14 20:31:44 +08:00
sidebars.js add docs for kustomize schema generator (#133) 2023-10-27 10:42:54 +08:00
versions.json add 1.8 docs (#235) 2025-04-02 19:26:31 +08:00

README.md

Website

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

Installation

$ npm install

Local Development

$ npm run 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.

$ npm run 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

$ npm run 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.