Skip to content

Commit 01c95bb

Browse files
authored
docs: Fix missing v1beta1, v1alpha3 API versions (#3202)
PR #1345 assumed there would be two versions of the API for the "API Specification" doc page. Now we have 4 versions, and 2 are left out (v1beta1 and v1alpha3). This is a quick fix, but this will break every API version release. We should pursue a more sustainable solution.
1 parent bc91bdb commit 01c95bb

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

hack/api-docs/pkg.tpl

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,16 @@ Resource Types:
4141

4242
<p>Packages:</p>
4343
<ul>
44-
{{ template "link" index .packages 1 }}
4544
{{ template "link" index .packages 0 }}
45+
{{ template "link" index .packages 3 }}
46+
{{ template "link" index .packages 2 }}
47+
{{ template "link" index .packages 1 }}
4648
</ul>
4749

48-
{{ template "package" index .packages 1 }}
4950
{{ template "package" index .packages 0 }}
51+
{{ template "package" index .packages 3 }}
52+
{{ template "package" index .packages 2 }}
53+
{{ template "package" index .packages 1 }}
5054

5155
<p><em>
5256
Generated with <code>gen-crd-api-reference-docs</code>.

0 commit comments

Comments
 (0)