|
4 | 4 | Snakemake {% block type %}{% endblock %} plugin: {{ plugin_name }} |
5 | 5 | ########################################### |
6 | 6 |
|
7 | | -{% if repository is not none %} |
| 7 | +{% if repository is not none -%} |
8 | 8 | .. image:: https://img.shields.io/badge/repository-{{ repository_type }}-blue?color=%23022c22 |
9 | 9 | :target: {{ repository }} |
10 | | -{% else %} |
| 10 | +{% else -%} |
11 | 11 | .. image:: https://img.shields.io/badge/repository-unknown-blue?color=%23022c22 |
12 | 12 | :target: # |
13 | | -{% endif %} |
14 | | - |
15 | | -{% for author in authors %} |
| 13 | +{% endif -%} |
| 14 | +{% if commit_info is not none -%} |
| 15 | +.. image:: https://img.shields.io/badge/last_commit-{{ commit_info["sha"] }}-green?color={{ commit_age_color }} |
| 16 | + :alt: Last commit |
| 17 | + :target: {{ commit_url }} |
| 18 | +.. image:: https://img.shields.io/badge/last_updated-{{ commit_date_label }}-green?color={{ commit_age_color }} |
| 19 | + :alt: Last updated |
| 20 | + :target: {{ commit_url }} |
| 21 | +{% endif -%} |
| 22 | +{% for author in authors -%} |
16 | 23 | .. image:: https://img.shields.io/badge/author-{{author|replace("-","--")|urlencode}}-purple?color=%23064e3b |
17 | 24 | :target: https://pypi.org/project/{{ package_name }} |
18 | | -{% endfor %} |
19 | | - |
| 25 | +{% endfor -%} |
20 | 26 | .. image:: https://img.shields.io/pypi/v/{{ package_name }}?color=%23047857 |
21 | 27 | :alt: PyPI - Version |
22 | 28 | :target: https://pypi.org/project/{{ package_name }} |
23 | | - |
24 | 29 | .. image:: https://img.shields.io/pypi/l/{{ package_name }}?color=%2310b981 |
25 | 30 | :alt: PyPI - License |
26 | 31 | :target: https://pypi.org/project/{{ package_name }} |
| 32 | +{% if snakemake_version is not none %} |
| 33 | +.. image:: https://img.shields.io/badge/snakemake-{{ snakemake_version|replace("-", "--") }}-blue?color=%230ea5e9 |
| 34 | + :alt: Snakemake |
| 35 | + :target: https://snakemake.readthedocs.io |
| 36 | +{% endif %} |
27 | 37 |
|
28 | 38 | {% if repository is not none and not repository.startswith("https://github.com/snakemake/") %} |
29 | 39 | .. warning:: |
|
0 commit comments