From 829f88d74d6eda471ea3fd4c83857d899a7e452c Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Wed, 9 Feb 2022 15:04:10 +0100 Subject: Show API doc for several versions Right now it is not possible to look at the API version for a specific version. docs.podman.io always show the latest version from the main branch. This is not want many users want so they now have the ability to select a different version. Fixes #12796 Signed-off-by: Paul Holzinger --- docs/source/Reference.rst | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'docs/source/Reference.rst') diff --git a/docs/source/Reference.rst b/docs/source/Reference.rst index d194c55a3..dca49a559 100644 --- a/docs/source/Reference.rst +++ b/docs/source/Reference.rst @@ -3,8 +3,16 @@ Reference ========= -To see full screen version please visit: `API documentation `_ +Show the API documentation for version: -.. raw:: html +* `latest (main branch) <_static/api.html>`_ - +* `version 4.0 <_static/api.html?version=v4.0>`_ + +* `version 3.4 <_static/api.html?version=v3.4>`_ + +* `version 3.3 <_static/api.html?version=v3.3>`_ + +* `version 3.2 <_static/api.html?version=v3.2>`_ + +* `version 3.1 <_static/api.html?version=v3.1>`_ -- cgit v1.2.3-54-g00ecf