mirror of https://github.com/databricks/cli.git
fix: Remove unnecessary `vendor` make dependency
This commit is contained in:
parent
e40b53f4ce
commit
2154f2add8
2
Makefile
2
Makefile
|
@ -49,7 +49,7 @@ vendor:
|
|||
schema:
|
||||
go run ./bundle/internal/schema ./bundle/internal/schema ./bundle/schema/jsonschema.json
|
||||
|
||||
docs: vendor
|
||||
docs:
|
||||
go run ./bundle/internal/docs ./bundle/internal/schema ./bundle/internal/docs
|
||||
|
||||
INTEGRATION = gotestsum --format github-actions --rerun-fails --jsonfile output.json --packages "./integration/..." -- -parallel 4 -timeout=2h
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
## docs-autogen
|
||||
|
||||
1. Install [Golang](https://go.dev/doc/install)
|
||||
2. Run `make docs` from the repo
|
||||
2. Run `make vendor docs` from the repo
|
||||
3. See generated documents in `./bundle/internal/docs/output` directory
|
||||
4. To change descriptions update content in `./bundle/internal/schema/annotations.yml` or `./bundle/internal/schema/annotations_openapi_overrides.yml` and re-run `make docs`
|
||||
|
||||
|
@ -31,6 +31,7 @@ Descriptions with `PLACEHOLDER` value are not displayed in docs and JSON-schema
|
|||
All relative links like `[_](/dev-tools/bundles/settings.md#cluster_id)` are kept as is in docs but converted to absolute links in JSON schema
|
||||
|
||||
To change description for type itself (not its fields) use `"_"`:
|
||||
|
||||
```yaml
|
||||
github.com/databricks/cli/bundle/config/resources.Cluster:
|
||||
"_":
|
||||
|
|
Loading…
Reference in New Issue