[PATCH] D60964: [docs] Add support for Markdown documentation when creating man pages
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 1 04:50:03 PDT 2019
MaskRay added inline comments.
================
Comment at: docs/conf.py:233
+
+ m = re.search("^\\# (\\S+) - (.+)$", title)
+ if m is None:
----------------
`m = re.match(r'^# (\S+) - (.+)$', title)`
================
Comment at: docs/conf.py:250
if len(header) != len(title):
- print((
- "error: invalid header in %r (does not match title)" % (
- file_subpath,)), file=sys.stderr)
+ print("error: invalid header in %r (does not match title)" %
+ file_subpath, file=sys.stderr)
----------------
Use single quotes for consistency.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60964/new/
https://reviews.llvm.org/D60964
More information about the llvm-commits
mailing list