Skip to content

Commit

Permalink
docs: last improvement to completion badge
Browse files Browse the repository at this point in the history
  • Loading branch information
swistakm committed Nov 3, 2016
1 parent 874830c commit fbb16bd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
| ------------- | -------------- |
| [![Build status](https://ci.appveyor.com/api/projects/status/s7pud6on7dww89iv?svg=true)](https://ci.appveyor.com/project/swistakm/pyimgui) | [![Build Status](https://travis-ci.org/swistakm/pyimgui.svg?branch=master)](https://travis-ci.org/swistakm/pyimgui)

[![completion](https://img.shields.io/badge/completion-46%25%20%28144%20of%20307%29-blue.svg)]
[![completion](https://img.shields.io/badge/completion-46%25%20%28144%20of%20307%29-blue.svg)](https://github.com/swistakm/pyimgui)

# pyimgui,

Expand Down
4 changes: 2 additions & 2 deletions ci/completion.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
from urllib.parse import quote

BASE_URL = 'https://img.shields.io/badge/completion-%s-blue.svg'
BADGE_TEMPLATE = "[![completion](%s)]"
BADGE_TEMPLATE = "[![completion](%s)](https://github.com/swistakm/pyimgui)"
ALL_RE = re.compile(r'(?!(^\s*$)|(^\s*#))')
DONE_RE = re.compile(r'(?!(^\s*$)|(^\s*#)).*✓')
BADGE_RE = re.compile(r'\[!\[completion\]\(.*\)\]\s*$')
BADGE_RE = re.compile(r'\[!\[completion\]\(.*\)\](\(.*\))?\s*$')


if __name__ == "__main__":
Expand Down

0 comments on commit fbb16bd

Please sign in to comment.