File: installation.jinja2

package info (click to toggle)
httpie 3.2.4-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,904 kB
  • sloc: python: 13,760; xml: 162; makefile: 141; ruby: 79; sh: 32
file content (37 lines) | stat: -rw-r--r-- 886 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<!--
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 -->