summaryrefslogtreecommitdiff
path: root/docs/source/Reference.rst
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2022-02-09 15:04:10 +0100
committerPaul Holzinger <pholzing@redhat.com>2022-02-09 18:17:52 +0100
commit829f88d74d6eda471ea3fd4c83857d899a7e452c (patch)
tree064408d690613132d8067a409b026fdd187078ad /docs/source/Reference.rst
parenteb0a0db318a988af9ed70f3cc3a68f3b2bf2aa93 (diff)
downloadpodman-829f88d74d6eda471ea3fd4c83857d899a7e452c.tar.gz
podman-829f88d74d6eda471ea3fd4c83857d899a7e452c.tar.bz2
podman-829f88d74d6eda471ea3fd4c83857d899a7e452c.zip
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 <pholzing@redhat.com>
Diffstat (limited to 'docs/source/Reference.rst')
-rw-r--r--docs/source/Reference.rst14
1 files changed, 11 insertions, 3 deletions
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 <https://docs.podman.io/en/latest/_static/api.html>`_
+Show the API documentation for version:
-.. raw:: html
+* `latest (main branch) <_static/api.html>`_
- <iframe src="_static/api.html" allowfullscreen="true" height="600px" width="120%"></iframe>
+* `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>`_