Skip to content

Commit f8b0382

Browse files
authored
Merge pull request #467 from minrk/doc-inherited-members
Fix missing docs for inherited members
2 parents 5508ec3 + f7e21f5 commit f8b0382

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

docs/source/api/ipyparallel.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,14 @@ Classes
1212
-------
1313

1414
.. autoclass:: Client
15-
:members:
1615

1716
.. autoclass:: DirectView
18-
:members:
1917

2018
.. autoclass:: LoadBalancedView
21-
:members:
19+
20+
.. autoclass:: BroadcastView
2221

2322
.. autoclass:: ViewExecutor
24-
:members:
2523

2624
Decorators
2725
----------

docs/source/conf.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,15 @@
6060
# You can specify multiple suffix as a list of string:
6161
source_suffix = ['.rst', '.md']
6262

63+
from traitlets.config import HasTraits
64+
65+
# exclude members inherited from HasTraits by default
66+
autodoc_default_options = {
67+
'members': None,
68+
"inherited-members": None,
69+
"exclude-members": ','.join(dir(HasTraits)),
70+
}
71+
6372
# Add dev disclaimer.
6473
if iprelease['version_info'][-1] == 'dev':
6574
rst_prolog = """

0 commit comments

Comments
 (0)