cocos-enhance-kit/docs
2024-11-14 19:55:34 +08:00
..
docs 增加多线程 HTTP 请求文档 2024-11-14 19:55:34 +08:00
src 发布新文档;修改发布脚本 2024-10-25 18:30:34 +08:00
static 为 v2 版本更新 README、文档、Logo 和脚本等 2024-10-22 15:08:33 +08:00
versioned_docs 创建 v2.2.0 文档 2024-11-08 21:49:54 +08:00
versioned_sidebars 创建 v2.2.0 文档 2024-11-08 21:49:54 +08:00
.gitignore docs 2022-05-20 11:31:56 +08:00
babel.config.js docs 2022-05-20 11:31:56 +08:00
docusaurus.config.js 为 v2 版本更新 README、文档、Logo 和脚本等 2024-10-22 15:08:33 +08:00
package-lock.json 完善 docs 2022-05-20 16:41:38 +08:00
package.json 完善 docs 2022-05-20 16:41:38 +08:00
README.md docs 2022-05-20 11:31:56 +08:00
sidebars.js docs 2022-05-20 11:31:56 +08:00
tsconfig.json docs 2022-05-20 11:31:56 +08:00
versions.json 创建 v2.2.0 文档 2024-11-08 21:49:54 +08:00

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. 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

Using SSH:

$ USE_SSH=true yarn deploy

Not using SSH:

$ GIT_USER=<Your GitHub username> 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.