Commit

Add appveyor badge when supporting Windows
Daniel Moch committed 5 years ago (Tree)

Diffstat

 {{cookiecutter.project_slug}}/docs/source/index.rst | 9 +++++++++

{{cookiecutter.project_slug}}/docs/source/index.rst

10 10
11 11 .. image:: https://img.shields.io/pypi/l/{{ cookiecutter.project_slug }}.svg
12 12 :alt: PyPI - License
13 +{%- if cookiecutter.windows_support == 'y' %}
14 + .. image:: https://img.shields.io/travis/com/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}.svg?logo=travis
15 + :alt: Travis (.com)
16 + :target: https://travis-ci.com/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}
17 + .. image:: https://img.shields.io/appveyor/ci/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}.svg?logo=appveyor
18 + :alt: AppVeyor
19 + :target: https://ci.appveyor.com/project/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}
20 +{%- else %}
13 21 .. image:: https://img.shields.io/travis/com/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}.svg
14 22 :alt: Travis (.com)
15 23 :target: https://travis-ci.com/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}
24 +{%- endif %}
16 25 .. image:: https://img.shields.io/pypi/v/{{ cookiecutter.project_slug }}.svg
17 26 :alt: PyPI
18 27 :target: https://pypi.org/project/{{ cookiecutter.project_slug }}