Skip to main content
Version: v1.3

Update KubeVela.io CLI Reference Doc

  1. step up these two projects in the same folder.
$ tree -L 1
.
├── kubevela
└── kubevela.io
  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 ../kubevela.io/i18n/zh/docusaurus-plugin-content-docs/current/cli
scanning rootPath of CLI docs for replace: ../kubevela.io/i18n/zh/docusaurus-plugin-content-docs/current/cli
  1. Then you can check the difference in kubevela.io.
cd ../kubevela.io
git status