Files
docker-docs/_includes
Sebastiaan van Stijn d468e10c68 reference: hide "minimum API version" badges for old versions
The reference pages show badges for commands and options (flags) that require
a minimum API version. While this information can be useful if an option was
added in a recent version of the Docker Engine (and API), these badges are no
longer relevant to most users if the minimum required version is quite "old".

We assume users reading these pages to be on the current version, or at most
on the version before that (which is already "unsupported"). Users running
older versions have bigger problems on their hand, so we're not accounting for
those.

So, to reduce unnecessary clutter on the page, we only show the minimum required
API version if it requires a relatively recent version of the Engine.

A new "min_api_threshold" option was added in the `_config.yml`, which specifies
the minimum required API version for which we show a badge (currently: API v1.40,
or "Docker 19.03").

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-04-30 19:10:05 +02:00
..
2021-08-03 19:47:57 +01:00
2021-11-03 10:22:34 +00:00
2021-05-10 17:06:38 +02:00
2020-07-03 15:25:54 +01:00
2021-09-24 11:46:04 +01:00