Skip to content

Commit 81a3e42

Browse files
committed
Remove yaml block that breaks docs
1 parent 3dbdbd2 commit 81a3e42

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

docs-v2/content/en/schemas/v4beta10.json

+1-4
Original file line numberDiff line numberDiff line change
@@ -700,10 +700,7 @@
700700
},
701701
"type": "array",
702702
"description": "configure the --platforms flag for `bazel build` based on the configured skaffold target platform.",
703-
"x-intellij-html-description": "configure the --platforms flag for <code>bazel build</code> based on the configured skaffold target platform.",
704-
"examples": [
705-
"``yaml platforms: - platform: linux/amd64 target: //platforms:linux-x86_64 - platform: linux/arm64 target: //platforms:linux-arm64 ``"
706-
]
703+
"x-intellij-html-description": "configure the --platforms flag for <code>bazel build</code> based on the configured skaffold target platform."
707704
},
708705
"target": {
709706
"type": "string",

pkg/skaffold/schema/latest/config.go

-8
Original file line numberDiff line numberDiff line change
@@ -1610,14 +1610,6 @@ type BazelArtifact struct {
16101610

16111611
// PlatformMappings configure the --platforms flag for `bazel build`
16121612
// based on the configured skaffold target platform.
1613-
// For example:
1614-
// ```yaml
1615-
// platforms:
1616-
// - platform: linux/amd64
1617-
// target: //platforms:linux-x86_64
1618-
// - platform: linux/arm64
1619-
// target: //platforms:linux-arm64
1620-
// ```
16211613
PlatformMappings []BazelPlatformMapping `yaml:"platforms,omitempty"`
16221614
}
16231615

0 commit comments

Comments
 (0)