Tweak install docs template

Shorten setup, add missing comma
This commit is contained in:
Jakub Roztocil 2021-10-10 20:17:49 +02:00
parent ab8512f96c
commit 459cdfcf53
2 changed files with 4 additions and 3 deletions

View File

@ -3,6 +3,7 @@ on:
branches: branches:
- master - master
paths: paths:
- .github/workflows/docs-update-install.yml
- docs/installation/* - docs/installation/*
# Allow to call the workflow manually # Allow to call the workflow manually

View File

@ -19,16 +19,16 @@ Do not edit here, but in docs/installation/.
{% endif %} {% endif %}
{% if tool.links.setup %} {% if tool.links.setup %}
To install [{{ tool.name }}]({{ tool.links.homepage }}) follow [installation instructions]({{ tool.links.setup }}). To install [{{ tool.name }}]({{ tool.links.homepage }}), see [its installation]({{ tool.links.setup }}).
{% endif %} {% endif %}
```bash ```bash
# Install # Install httpie
$ {{ tool.commands.install|join('\n$ ') }} $ {{ tool.commands.install|join('\n$ ') }}
``` ```
```bash ```bash
# Upgrade # Upgrade httpie
$ {{ tool.commands.upgrade|join('\n$ ') }} $ {{ tool.commands.upgrade|join('\n$ ') }}
``` ```
{% endfor %} {% endfor %}