[Lldb-commits] [PATCH] D105480: [lldb][docs] Force documentation emission of special Python class members

Raphael Isemann via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jul 7 10:50:25 PDT 2021


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:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105480.356999.patch
Type: text/x-patch
Size: 551 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20210707/32df08b7/attachment.bin>


More information about the lldb-commits mailing list