Skip to main content

Update CLI Reference

This guide introduce how to update CLI reference doc in the website. The whole process was done by script automatically. You need to follow this guide to build your environment.

  1. step up these two projects in the same folder.
$ tree -L 1
├── kubevela
  1. Run generate command in kubevela root dir.
cd kubevela/
go run ./hack/docgen/cli/gen.go
  1. Update more docs such as i18n zh
$ go run ./hack/docgen/cli/gen.go ../
scanning rootPath of CLI docs for replace: ../
  1. Then you can check the difference in
cd ../
git status