llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-lldb Author: Alan Zhao (alanzhao1) <details> <summary>Changes</summary> This reduces Sphinx dependencies for building lldb man pages as lldb man pages don't use markdown. --- Full diff: https://github.com/llvm/llvm-project/pull/98420.diff 1 Files Affected: - (modified) lldb/docs/conf.py (+5-1) ``````````diff diff --git a/lldb/docs/conf.py b/lldb/docs/conf.py index 27a1cd7c3c31a..805a6dc19ac81 100644 --- a/lldb/docs/conf.py +++ b/lldb/docs/conf.py @@ -89,9 +89,13 @@ # The suffix of source filenames. source_suffix = { ".rst": "restructuredtext", - ".md": "markdown", } +# Man pages do not use markdown pages, so we don't need to register a markdown +# parser. +if not building_man_page: + source_suffix[".md"] = "markdown" + # The encoding of source files. # source_encoding = 'utf-8-sig' `````````` </details> https://github.com/llvm/llvm-project/pull/98420 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits