mirror of
https://github.com/containers/podman.git
synced 2025-09-22 04:03:48 +08:00
Merge pull request #19965 from Luap99/api-4.6
[CI:DOCS] update API docs version list
This commit is contained in:
@ -158,6 +158,8 @@ spelled with complete minutiae.
|
|||||||
1. Edit `version/rawversion/version.go` and bump the `Version` value to the new
|
1. Edit `version/rawversion/version.go` and bump the `Version` value to the new
|
||||||
release version. If there were API changes, also bump `APIVersion` value.
|
release version. If there were API changes, also bump `APIVersion` value.
|
||||||
Make sure to also bump the version in the swagger.yaml `pkg/api/server/docs.go`
|
Make sure to also bump the version in the swagger.yaml `pkg/api/server/docs.go`
|
||||||
|
For major and minor versions also add the new branch name to
|
||||||
|
`docs/source/Reference.rst` to show the new swagger version on docs.podman.io.
|
||||||
1. Commit this and sign the commit (`git commit -a -s -S`). The commit message
|
1. Commit this and sign the commit (`git commit -a -s -S`). The commit message
|
||||||
should be `Bump to vX.Y.Z` (using the actual version numbers).
|
should be `Bump to vX.Y.Z` (using the actual version numbers).
|
||||||
1. Push this single change to your GitHub fork, and make a new PR,
|
1. Push this single change to your GitHub fork, and make a new PR,
|
||||||
|
@ -7,6 +7,8 @@ Show the API documentation for version:
|
|||||||
|
|
||||||
* `latest (main branch) <_static/api.html>`_
|
* `latest (main branch) <_static/api.html>`_
|
||||||
|
|
||||||
|
* `version 4.6 <_static/api.html?version=v4.6>`_
|
||||||
|
|
||||||
* `version 4.5 <_static/api.html?version=v4.5>`_
|
* `version 4.5 <_static/api.html?version=v4.5>`_
|
||||||
|
|
||||||
* `version 4.4 <_static/api.html?version=v4.4>`_
|
* `version 4.4 <_static/api.html?version=v4.4>`_
|
||||||
|
Reference in New Issue
Block a user