[Lldb-commits] [lldb] [LLDB][Docs] List available settings (PR #168245)

via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 14 08:43:49 PDT 2026


================
@@ -46,13 +62,17 @@ if (LLDB_ENABLE_PYTHON AND SPHINX_FOUND)
     # The sphinx config needs to know where the generated LLDB Python module is.
     # There is no way to pass a variable into our sphinx config, so just pass
     # the path to the module via the LLDB_SWIG_MODULE environment variable.
-    add_sphinx_target(html lldb ENV_VARS "LLDB_SWIG_MODULE=${CMAKE_CURRENT_BINARY_DIR}")
+    add_sphinx_target(html lldb
+      ENV_VARS
----------------
Nerixyz wrote:

At least the [manpage](https://www.sphinx-doc.org/en/master/man/sphinx-build.html) doesn't list anything else. `-D` can be used to change a setting _after_ `conf.py` runs (so it overwrites it), but we need the argument inside the `conf.py`.

https://github.com/llvm/llvm-project/pull/168245


More information about the lldb-commits mailing list