From 777b5efa4eda62a2ea00b1b513a5316153b3f446 Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Wed, 13 Sep 2023 16:59:43 +0200 Subject: [PATCH] [CI:DOCS] update API docs version list Also update the RELEASE_PROCESS doc so maybe it will not be forgotten next time. Signed-off-by: Paul Holzinger --- RELEASE_PROCESS.md | 2 ++ docs/source/Reference.rst | 2 ++ 2 files changed, 4 insertions(+) diff --git a/RELEASE_PROCESS.md b/RELEASE_PROCESS.md index 8b68ccf2a3..11d2bb3427 100644 --- a/RELEASE_PROCESS.md +++ b/RELEASE_PROCESS.md @@ -158,6 +158,8 @@ spelled with complete minutiae. 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. 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 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, diff --git a/docs/source/Reference.rst b/docs/source/Reference.rst index bc86f4084c..451ac203dd 100644 --- a/docs/source/Reference.rst +++ b/docs/source/Reference.rst @@ -7,6 +7,8 @@ Show the API documentation for version: * `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.4 <_static/api.html?version=v4.4>`_