diff options
author | Paul Holzinger <pholzing@redhat.com> | 2022-02-09 15:04:10 +0100 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2022-02-10 14:03:58 -0500 |
commit | d0fccbbbbad9b47a39827865f96a1b03e12ac303 (patch) | |
tree | b16a7ef4ec70cad974430fd69d5c83d1d42382dd /docs/source/Reference.rst | |
parent | e7998b1224c78acbd4cb1ada2d7ac50f53001926 (diff) | |
download | podman-d0fccbbbbad9b47a39827865f96a1b03e12ac303.tar.gz podman-d0fccbbbbad9b47a39827865f96a1b03e12ac303.tar.bz2 podman-d0fccbbbbad9b47a39827865f96a1b03e12ac303.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.rst | 14 |
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>`_ |