Open xsjad0 opened 3 years ago
This allows us to omit the options :members: and private-members on every single autoclass directive.
:members:
private-members
conf.py
js_autodoc_default_options = { "members": True, # by default False "private-members": True, # by default False }
JavaScript source
/** * TestClass */ class TestClass { /** * A. */ a() {} /** * B. */ b() {} /** * C. * @private */ c() {} }
.rst file
.. js:autoclass:: TestClass
html result
Notable changes:
This allows us to omit the options
:members:
andprivate-members
on every single autoclass directive.conf.py
JavaScript source
.rst file
html result
Notable changes: