engine: add platform headings to TOC

This allows deep-linking to specific sections. Also fixed the checks
in the support table to be left-aligned as they were supposed to be.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2020-10-26 14:46:45 +01:00
parent 43ce72c91a
commit b952763986
No known key found for this signature in database
GPG Key ID: 76698F39D527CE8C
1 changed files with 4 additions and 5 deletions

View File

@ -14,7 +14,6 @@ redirect_from:
- /engine/installation/linux/docker-ee/
- /engine/installation/
- /en/latest/installation/
toc_max: 2
---
@ -25,16 +24,16 @@ Docker Engine is available on a variety of [Linux platforms](#server),
through Docker Desktop, and as a [static binary installation](binaries.md). Find
your preferred operating system below.
#### Desktop
### Desktop
{% assign yes = '![yes](/images/green-check.svg){: style="height: 14px; margin: 0 auto"}' %}
{% assign yes = '![yes](/images/green-check.svg){: .inline style="height: 14px; margin: 0 auto"}' %}
| Platform | x86_64 / amd64 |
|:------------------------------------------------------------------|:------------------------------------------------:|
| [Docker Desktop for Mac (macOS)](../../docker-for-mac/install.md) | [{{ yes }}](../../docker-for-mac/install.md) |
| [Docker Desktop for Windows](../../docker-for-windows/install.md) | [{{ yes }}](../../docker-for-windows/install.md) |
#### Server
### Server
Docker provides `.deb` and `.rpm` packages from the following Linux distributions
and architectures:
@ -47,7 +46,7 @@ and architectures:
| [Raspbian](debian.md) | | [{{ yes }}](debian.md) | [{{ yes }}](debian.md) |
| [Ubuntu](ubuntu.md) | [{{ yes }}](ubuntu.md) | [{{ yes }}](ubuntu.md) | [{{ yes }}](ubuntu.md) |
##### Other Linux distributions
### Other Linux distributions
> **Note**
>