File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ the same.
6
6
7
7
[ ![ Build Status] ( https://travis-ci.org/plumdog/flask_table.svg?branch=master )] ( https://travis-ci.org/plumdog/flask_table )
8
8
[ ![ Coverage Status] ( https://coveralls.io/repos/plumdog/flask_table/badge.png?branch=master )] ( https://coveralls.io/r/plumdog/flask_table?branch=master )
9
+ [ ![ PyPI version] ( https://badge.fury.io/py/Flask-Table.svg )] ( https://badge.fury.io/py/Flask-Table )
9
10
10
11
Quick Start
11
12
===========
Original file line number Diff line number Diff line change @@ -41,6 +41,10 @@ function main() {
41
41
publish
42
42
exit 0;
43
43
;;
44
+ _generate_readme)
45
+ generate_readme
46
+ exit 0;
47
+ ;;
44
48
* )
45
49
error " Unrecognised argument: $arg . Choose from tag,publish"
46
50
;;
@@ -68,7 +72,7 @@ function _trim_from_upto() {
68
72
function generate_readme() {
69
73
pandoc --from=markdown --to=rst --output=README README.md || error " Unable to convert README.md"
70
74
# Remove the Github status links
71
- sed -i ' /Build Status.*Coverage Status/,+1d' README
75
+ sed -i ' /Build Status.*Coverage Status.*PyPI /,+1d' README
72
76
# And remove a big chunk of html that gets a bit exploded
73
77
_trim_from_upto README " Or as HTML:" " Extra things:"
74
78
}
You can’t perform that action at this time.
0 commit comments