rL358749 added a documentation page for a new tool in the Markdown format. Currently, the configuration script ignores such pages when building the man pages.
Details
- Reviewers
rupprecht jhenderson • ddunbar Bigcheese - Commits
- rZORG9063eb3cb66c: [docs] Add support for Markdown documentation when creating man pages
rZORGa83b7639c90b: [docs] Add support for Markdown documentation when creating man pages
rG9063eb3cb66c: [docs] Add support for Markdown documentation when creating man pages
rGa83b7639c90b: [docs] Add support for Markdown documentation when creating man pages
rGd2c82e8ad0af: [docs] Add support for Markdown documentation when creating man pages
rL359860: [docs] Add support for Markdown documentation when creating man pages
Diff Detail
Event Timeline
docs/conf.py | ||
---|---|---|
235–238 | There seems to be an excessive number of brackets to me here. Can this be simplified slightly to something like (with one or two line breaks in other places as required): print( "error: invalid title in %r (expected '# <name> - <description>')" % file_subpath, file=sys.stderr) |
LGTM, I think (not verified the regex though). Have you discussed using markdown for documentation with anybody else though?
docs/conf.py | ||
---|---|---|
267 | not name in ('index.rst',) -> name != 'index.rst' |
Thanks!
Have you discussed using markdown for documentation with anybody else though?
No. The documentation for llvm-addr2line is the only page for a command line tool in the Markdown format. That was requested by @rupprecht in D60067#1466153.
m = re.match(r'^# (\S+) - (.+)$', title)