Fix hard-coded Kubernetes API version (#8070)
parent
8737c5b3c7
commit
e557e82bed
|
@ -237,7 +237,7 @@ several files, including `api/openapi-spec/swagger.json` in the
|
|||
`kubernetes/kubernetes` repository.
|
||||
|
||||
This section shows how to generate the
|
||||
[published Kubernetes API reference documentation](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.9/),
|
||||
[published Kubernetes API reference documentation](/docs/reference/generated/kubernetes-api/{{page.version}}/),
|
||||
which is generated by the tools at
|
||||
[kubernetes-incubator/reference-docs](https://github.com/kubernetes-incubator/reference-docs).
|
||||
Those tools take the `api/openapi-spec/swagger.json` file as input.
|
||||
|
@ -322,7 +322,7 @@ This section show how to copy the generated docs to the
|
|||
[kubernetes/website](https://github.com/kubernetes/website) repository. The files
|
||||
in the `kubernetes/website` repository are published in the
|
||||
[kubernetes.io](https://kubernetes.io) website. In particular, the generated
|
||||
`index.html` file is published [here](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.9/).
|
||||
`index.html` file is published [here](/docs/reference/generated/kubernetes-api/{{page.version}}/).
|
||||
|
||||
Enter the following command to copy the generated files to
|
||||
your local kubernetes/website repository:
|
||||
|
@ -360,7 +360,7 @@ Monitor your pull request, and respond to reviewer comments as needed. Continue
|
|||
to monitor your pull request until it has been merged.
|
||||
|
||||
A few minutes after your pull request is merged, your changes will be visible
|
||||
in the [published reference documentation](/docs/reference/generated/kubernetes-api/v1.9/).
|
||||
in the [published reference documentation](/docs/reference/generated/kubernetes-api/{{page.version}}/).
|
||||
|
||||
{% endcapture %}
|
||||
|
||||
|
|
Loading…
Reference in New Issue