================ @@ -35,8 +35,16 @@ import sphinx -if sphinx.version_info >= (3, 0): - extensions.append("myst_parser") +# When building man pages, we do not use the markdown pages, +# So, we can continue without the myst_parser dependencies. +# Doing so reduces dependencies of some packaged llvm distributions. +try: + import myst_parser ---------------- mgorny wrote:
I think you're using different indentation (2 spaces) vs other code in that file (4 spaces). https://github.com/llvm/llvm-project/pull/82402 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits