OpenKruise documentations and website.
Go to file
Gautam Manchandani ce17c3382f
Enable native dependency caching in workflows (#264)
* Add dependency caching for CI workflows

Signed-off-by: GautamBytes <manchandanigautam@gmail.com>

* minor tweak

Signed-off-by: GautamBytes <manchandanigautam@gmail.com>

---------

Signed-off-by: GautamBytes <manchandanigautam@gmail.com>
2025-07-18 09:33:51 +08:00
.github/workflows Enable native dependency caching in workflows (#264) 2025-07-18 09:33:51 +08:00
blog add 1.8 docs (#235) 2025-04-02 19:26:31 +08:00
docs add-advance-usage-ex (#253) 2025-07-09 09:46:41 +08:00
i18n/zh Improvements as per reviewers feedback (#261) 2025-07-16 09:53:48 +08:00
kruisegame add docs for okg v1.0 (#262) 2025-07-15 17:59:47 +08:00
rollouts Operator guide (#250) 2025-07-07 10:31:40 +08:00
src Improvements as per reviewers feedback (#261) 2025-07-16 09:53:48 +08:00
static kruise-game-api doc (#230) 2025-02-24 14:33:42 +08:00
versioned_docs add Version matrix (#251) 2025-07-07 14:41:39 +08:00
versioned_sidebars Operator guide (#250) 2025-07-07 10:31:40 +08:00
.gitignore fix github pages environment (#258) 2025-07-10 16:53:42 +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 reenable contextual search (#260) 2025-07-15 14:02:47 +08:00
package-lock.json remove unused deps and improve security (#256) 2025-07-09 15:17:27 +08:00
package.json remove unused deps and improve security (#256) 2025-07-09 15:17:27 +08:00
sidebars-kruisegame.js add docs for okg v1.0 (#262) 2025-07-15 17:59:47 +08:00
sidebars-rollouts.js add bluegreen doc (#224) 2025-01-14 20:31:44 +08:00
sidebars.js Operator guide (#250) 2025-07-07 10:31:40 +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.