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
When generating reference documentation for a new release, update the file,
156
-
`<web-base>/content/en/docs/reference/kubernetes-api/api-index.md` with the new
157
-
version number.
158
-
159
-
* Open `<web-base>/content/en/docs/reference/kubernetes-api/api-index.md` for editing,
160
-
and update the API reference version number. For example:
161
-
162
-
```
163
-
---
164
-
title: v1.17
165
-
---
155
+
## API reference location and versioning
166
156
167
-
[Kubernetes API v1.17](/docs/reference/generated/kubernetes-api/v1.17/)
168
-
```
157
+
The generated API reference files (HTML version) are copied to `<web-base>/static/docs/reference/generated/kubernetes-api/{{< param "version" >}}/`. This directory contains the standalone HTML API documentation.
169
158
170
-
* Open `<web-base>/content/en/docs/reference/_index.md` for editing, and add a
171
-
new link for the latest API reference. Remove the oldest API reference version.
172
-
There should be five links to the most recent API references.
159
+
{{< note >}}
160
+
The Markdown version of the API reference located at `<web-base>/content/en/docs/reference/kubernetes-api/`
161
+
is generated separately using the [gen-resourcesdocs](https://github.com/kubernetes-sigs/reference-docs/tree/master/gen-resourcesdocs) generator.
0 commit comments