This revision was automatically updated to reflect the committed changes.
Closed by commit rG3ebfeb258698: [lldb][docs] Force documentation emission of
special Python class members (authored by teemperor).
Herald added a subscriber: lldb-commits.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105480/new/
https://reviews.llvm.org/D105480
Files:
lldb/docs/conf.py
Index: lldb/docs/conf.py
===================================================================
--- lldb/docs/conf.py
+++ lldb/docs/conf.py
@@ -44,6 +44,10 @@
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.todo', 'sphinx.ext.mathjax',
'sphinx.ext.intersphinx']
+autodoc_default_options = {
+ 'special-members': '__int__, __len__, __hex__, __oct__, __iter__',
+}
+
# Unless we only generate the basic manpage we need the plugin for generating
# the Python API documentation.
if not building_man_page:
Index: lldb/docs/conf.py
===================================================================
--- lldb/docs/conf.py
+++ lldb/docs/conf.py
@@ -44,6 +44,10 @@
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ['sphinx.ext.todo', 'sphinx.ext.mathjax', 'sphinx.ext.intersphinx']
+autodoc_default_options = {
+ 'special-members': '__int__, __len__, __hex__, __oct__, __iter__',
+}
+
# Unless we only generate the basic manpage we need the plugin for generating
# the Python API documentation.
if not building_man_page:
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits