You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Cherry picking your commit into a release branch
177
+
### Cherry pick your commit into a release branch
183
178
184
179
In the preceding section, you edited a file in the master branch and then ran scripts
185
180
to generate an OpenAPI spec and related files. Then you submitted your changes in a pull request
@@ -189,7 +184,7 @@ Kubernetes version {{< skew latestVersion >}}, and you want to backport your cha
189
184
release-{{< skew prevMinorVersion >}} branch.
190
185
191
186
Recall that your pull request has two commits: one for editing `types.go`
192
-
and one for the files generated by scripts. The next step is to propose a cherry pick of your first
187
+
and one for the files generated by scripts. The next step is to propose a cherry pick of your first
193
188
commit into the release-{{< skew prevMinorVersion >}} branch. The idea is to cherry pick the commit
194
189
that edited `types.go`, but not the commit that has the results of running the scripts. For instructions, see
195
190
[Propose a Cherry Pick](https://git.k8s.io/community/contributors/devel/sig-release/cherry-picks.md).
@@ -220,24 +215,21 @@ the same as the generated files in the master branch. The generated files in the
220
215
contain API elements only from Kubernetes {{< skew prevMinorVersion >}}. The generated files in the master branch might contain
221
216
API elements that are not in {{< skew prevMinorVersion >}}, but are under development for {{< skew latestVersion >}}.
222
217
223
-
## Generating the published reference docs
218
+
## Generate the published reference docs
224
219
225
220
The preceding section showed how to edit a source file and then generate
226
221
several files, including `api/openapi-spec/swagger.json` in the
227
222
`kubernetes/kubernetes` repository.
228
223
The `swagger.json` file is the OpenAPI definition file to use for generating
229
224
the API reference documentation.
230
225
231
-
You are now ready to follow the [Generating Reference Documentation for the Kubernetes API](/docs/contribute/generate-ref-docs/kubernetes-api/) guide to generate the
226
+
You are now ready to follow the
227
+
[Generating Reference Documentation for the Kubernetes API](/docs/contribute/generate-ref-docs/kubernetes-api/)
228
+
guide to generate the
232
229
[published Kubernetes API reference documentation](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/).
233
230
234
-
235
-
236
231
## {{% heading "whatsnext" %}}
237
232
238
-
239
233
*[Generating Reference Documentation for the Kubernetes API](/docs/contribute/generate-ref-docs/kubernetes-api/)
240
234
*[Generating Reference Docs for Kubernetes Components and Tools](/docs/contribute/generate-ref-docs/kubernetes-components/)
241
235
*[Generating Reference Documentation for kubectl Commands](/docs/contribute/generate-ref-docs/kubectl/)
0 commit comments