Skip to content

Commit

Permalink
Minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Sieboldianus committed Mar 13, 2021
1 parent 7ee2298 commit fbdc69b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/argparse/argparse_after_doc.py
Expand Up @@ -3,6 +3,8 @@
Note:
It is recognized that this is a horrible way to do things.
We'll use this until an arg parser extension is available
for mkdocs.
"""

import re
Expand Down Expand Up @@ -60,7 +62,6 @@ def format_markdown():
# Print match
# print('Match "{}" found at: [{},{}]'.format(sGroup, sStart,sEnd))
# cleanup
all_lines = re.sub(r'(\s) &\w+', r'\1', all_lines)
with open("docs/argparse/args.md", "w") as source_file:
source_file.write(all_lines)

Expand Down

0 comments on commit fbdc69b

Please sign in to comment.