From a45a8f3b38c4e7fdaa7f988982f4b81fd488f62a Mon Sep 17 00:00:00 2001 From: Patrick Lehmann Date: Mon, 4 Jan 2021 21:21:28 +0100 Subject: Try without explicit extension so Sphinx takes either png or svg. --- doc/helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/helpers.py') diff --git a/doc/helpers.py b/doc/helpers.py index 4ca692268..0e51be82f 100644 --- a/doc/helpers.py +++ b/doc/helpers.py @@ -145,7 +145,7 @@ def createTagShields(data='latest'): i = x[3][1:-1] for latex in [False, True]: printShieldSrc(i, i, - 'https://img.shields.io/github/downloads/ghdl/ghdl/' + i + '.svg?longCache=true&style=flat-square&logo=github&label=%7F', + 'https://img.shields.io/github/downloads/ghdl/ghdl/' + i + '?longCache=true&style=flat-square&logo=github&label=%7F', 'https://github.com/ghdl/ghdl/releases/download/' + i, latex=latex) return assets @@ -172,7 +172,7 @@ def createReleasesShields(tag='latest'): i = name for l in [False, True]: printShieldSrc(i+'/total', i+' Total', - 'https://img.shields.io/github/downloads/ghdl/ghdl/' + i + '/total.svg?longCache=true&style=flat-square&logo=github&label=%7F', + 'https://img.shields.io/github/downloads/ghdl/ghdl/' + i + '/total?longCache=true&style=flat-square&logo=github&label=%7F', 'https://github.com/ghdl/ghdl/releases/' + i, l) out = {'releases': releases, 'assets': createTagShields(t)} -- cgit v1.2.3