Fix hard-coded Kubernetes API version (#8070)

pull/8086/head
Kai Chen 2018-04-12 18:25:58 -07:00 committed by k8s-ci-robot
parent 8737c5b3c7
commit e557e82bed
1 changed files with 3 additions and 3 deletions

View File

@ -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 %}