diff options
author | Yann Herklotz <git@yannherklotz.com> | 2020-08-11 18:57:01 +0200 |
---|---|---|
committer | Yann Herklotz <git@yannherklotz.com> | 2020-08-11 18:57:01 +0200 |
commit | e4ab2d9191c8bd10b70ed37b52d7e858bcea042c (patch) | |
tree | 9db84afb2350c9135facf1fc49d28d6db7ee080b /scripts | |
parent | eea5ca4078823230ff3a20cb1f7ec1cd541d2713 (diff) | |
download | vericert-kvx-e4ab2d9191c8bd10b70ed37b52d7e858bcea042c.tar.gz vericert-kvx-e4ab2d9191c8bd10b70ed37b52d7e858bcea042c.zip |
Add documentation badge to README
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/output.svg | 1 | ||||
-rw-r--r-- | scripts/statistics.py | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/scripts/output.svg b/scripts/output.svg deleted file mode 100644 index 8829659..0000000 --- a/scripts/output.svg +++ /dev/null @@ -1 +0,0 @@ -<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="122" height="20" role="img" aria-label="Admitted Proofs: 99"><title>Admitted Proofs: 99</title><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="122" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#r)"><rect width="99" height="20" fill="#555"/><rect x="99" width="23" height="20" fill="#fe7d37"/><rect width="122" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><text aria-hidden="true" x="505" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="890">Admitted Proofs</text><text x="505" y="140" transform="scale(.1)" fill="#fff" textLength="890">Admitted Proofs</text><text aria-hidden="true" x="1095" y="150" fill="#010101" fill-opacity=".3" transform="scale(.1)" textLength="130">99</text><text x="1095" y="140" transform="scale(.1)" fill="#fff" textLength="130">99</text></g></svg>
\ No newline at end of file diff --git a/scripts/statistics.py b/scripts/statistics.py index 9ec460d..f3db9ff 100644 --- a/scripts/statistics.py +++ b/scripts/statistics.py @@ -31,7 +31,7 @@ def main(d): n_admitted, n_theorems, _ = collect(d) colour = pick_colour(n_admitted, n_theorems) - url = "https://img.shields.io/badge/Admitted%20Proofs-{}-{}?style=flat".format( + url = "https://img.shields.io/badge/admitted%20proofs-{}-{}?style=flat".format( str(n_admitted), colour) req = urllib.request.Request(url, headers={"User-Agent": "Mozilla/5.0"}) |