We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64fb974 commit 56f50a7Copy full SHA for 56f50a7
setup.py
@@ -14,10 +14,10 @@ def long_desc_from_readme():
14
with open('README.rst', 'r') as fd:
15
long_description = fd.read()
16
17
- # remove badges
+ # Remove badges.
18
long_description = re.compile(r'^\.\. start-badges.*^\.\. end-badges', re.M | re.S).sub('', long_description)
19
20
- # strip links. keep link name and use literal text formatting
+ # Strip links: keep the link text and use literal formatting.
21
long_description = re.sub(r'`([^<`]+) </[^>]+>`_', '``\\1``', long_description)
22
23
return long_description
0 commit comments