cookiecutter-flit

A Cookiecutter template for a Flit package
git clone git://git.danielmoch.com/cookiecutter-flit.git
Log | Files | Refs | LICENSE

commit 9b36510d2575a465b4c49c8f6225e342a1977465
parent e74e0d210619a69b5158c2769fd0c0e4a9641c53
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Tue,  4 Sep 2018 05:57:04 -0400

Add appveyor badge when supporting Windows

Diffstat:
M{{cookiecutter.project_slug}}/docs/source/index.rst | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/{{cookiecutter.project_slug}}/docs/source/index.rst b/{{cookiecutter.project_slug}}/docs/source/index.rst @@ -10,9 +10,18 @@ Welcome to {{ cookiecutter.project_slug }}'s documentation! .. image:: https://img.shields.io/pypi/l/{{ cookiecutter.project_slug }}.svg :alt: PyPI - License +{%- if cookiecutter.windows_support == 'y' %} + .. image:: https://img.shields.io/travis/com/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}.svg?logo=travis + :alt: Travis (.com) + :target: https://travis-ci.com/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }} + .. image:: https://img.shields.io/appveyor/ci/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}.svg?logo=appveyor + :alt: AppVeyor + :target: https://ci.appveyor.com/project/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }} +{%- else %} .. image:: https://img.shields.io/travis/com/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }}.svg :alt: Travis (.com) :target: https://travis-ci.com/{{ cookiecutter.github_username }}/{{ cookiecutter.project_slug }} +{%- endif %} .. image:: https://img.shields.io/pypi/v/{{ cookiecutter.project_slug }}.svg :alt: PyPI :target: https://pypi.org/project/{{ cookiecutter.project_slug }}