fix doc gen path

This commit is contained in:
天元
2020-11-10 20:16:15 +08:00
parent fd3f300901
commit 5c0f26c6f6
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -38,8 +38,8 @@ npm-build:
npm-install:
cd dashboard && npm install && cd ./..
generate-doc:
rm -r docs/cli/*
doc-gen:
rm -r docs/en/cli/*
go run hack/docgen/gen.go
generate-source:
+1 -1
View File
@@ -10,7 +10,7 @@ import (
func main() {
vela := commands.NewCommand()
err := doc.GenMarkdownTree(vela, "./docs/cli/")
err := doc.GenMarkdownTree(vela, "./docs/en/cli/")
if err != nil {
log.Fatal(err)
}