mirror of
https://github.com/httpie/cli.git
synced 2024-11-28 18:53:21 +01:00
459cdfcf53
Shorten setup, add missing comma
38 lines
886 B
Django/Jinja
38 lines
886 B
Django/Jinja
<!--
|
|
THE INSTALLATION SECTION IS GENERATED
|
|
|
|
Do not edit here, but in docs/installation/.
|
|
|
|
-->
|
|
{% for platform, tools in structure %}
|
|
- [{{ platform }}](#{{ platform.lower() }}){% endfor %} {# <= keep `endfor` here to prevent unwanted `\n` #}
|
|
|
|
{% for platform, tools in structure %}
|
|
|
|
### {{ platform }}
|
|
|
|
{% for tool in tools %}
|
|
#### {{ tool.title }}
|
|
|
|
{% if tool.note %}
|
|
{{ tool.note }}
|
|
{% endif %}
|
|
|
|
{% if tool.links.setup %}
|
|
To install [{{ tool.name }}]({{ tool.links.homepage }}), see [its installation]({{ tool.links.setup }}).
|
|
{% endif %}
|
|
|
|
```bash
|
|
# Install httpie
|
|
$ {{ tool.commands.install|join('\n$ ') }}
|
|
```
|
|
|
|
```bash
|
|
# Upgrade httpie
|
|
$ {{ tool.commands.upgrade|join('\n$ ') }}
|
|
```
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
<!-- /GENERATED SECTION -->
|