File tree Expand file tree Collapse file tree 4 files changed +11
-5
lines changed
Expand file tree Collapse file tree 4 files changed +11
-5
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,9 @@ schema:
3535 @go run ./bundle/internal/schema ./bundle/internal/schema ./bundle/schema/jsonschema.json
3636
3737docs :
38- @echo " ✓ Generating docs ..."
38+ @echo " ✓ Generating docs using ./bundle/internal/schema/annotations.yml file ..."
3939 @go run ./bundle/internal/docs ./bundle/internal/schema ./bundle/internal/docs/docs.md
40+ @echo " ✓ Writing docs to ./bundle/internal/docs/docs.md"
4041
4142INTEGRATION = gotestsum --format github-actions --rerun-fails --jsonfile output.json --packages "./integration/..." -- -parallel 4 -timeout=2h
4243
Original file line number Diff line number Diff line change 1+ ## docs-autogen
2+
3+ 1 . Install [ Golang] ( https://go.dev/doc/install )
4+ 2 . Run ` go mod download ` from the repo root
5+ 3 . Run ` make docs ` from the repo
6+ 4 . See generated document in ` ./bundle/internal/docs/docs.md `
7+ 5 . To change descriptions update content in ` ./bundle/internal/schema/annotations.yml ` and re-run ` make docs `
Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ require (
3333 gopkg.in/yaml.v3 v3.0.1
3434)
3535
36+ require github.com/nao1215/markdown v0.6.0
37+
3638require (
3739 cloud.google.com/go/auth v0.4.2 // indirect
3840 cloud.google.com/go/auth/oauth2adapt v0.2.2 // indirect
@@ -56,10 +58,8 @@ require (
5658 github.com/karrick/godirwalk v1.17.0 // indirect
5759 github.com/mattn/go-colorable v0.1.13 // indirect
5860 github.com/mattn/go-runewidth v0.0.9 // indirect
59- github.com/nao1215/markdown v0.6.0 // indirect
6061 github.com/olekukonko/tablewriter v0.0.5 // indirect
6162 github.com/pmezard/go-difflib v1.0.0 // indirect
62- github.com/radovskyb/watcher v1.0.7 // indirect
6363 github.com/stretchr/objx v0.5.2 // indirect
6464 github.com/zclconf/go-cty v1.15.0 // indirect
6565 go.opencensus.io v0.24.0 // indirect
You can’t perform that action at this time.
0 commit comments