Ah, this was a mistake. Apparently I have switched on the 'special-members':
True, in the autodoc and forgot to exclude the corresponding members. Sorry
for the confusion.
On Wed, Mar 30, 2022 at 7:28 PM Komiya Takeshi wrote:
> Hmm... that's strange. Could you post an issue to Sphinx repo with
>
Thanks a lot, submitted an issue here -
https://github.com/sphinx-doc/sphinx/issues/10314
On Wed, Mar 30, 2022 at 7:28 PM Komiya Takeshi wrote:
> Hmm... that's strange. Could you post an issue to Sphinx repo with
> reproducible project (including conf.py and python scripts), please?
> Then I'll
Hmm... that's strange. Could you post an issue to Sphinx repo with
reproducible project (including conf.py and python scripts), please?
Then I'll investigate it more.
Thanks,
Takeshi KOMIYA
2022年3月31日(木) 2:17 'Alex Botev' via sphinx-users
:
>
> So the reST document is literally:
>
> .. currentmod
ibrarch...@gmail.com
On Mar 30, 2022 10:17 PM, "'Alex Botev' via sphinx-users" <
sphinx-users@googlegroups.com> wrote:
So the reST document is literally:
.. currentmodule:: my_module
Standard API
MySection
-
.. autosummary::
TopClass
TopClass
~
.. autoclas
So the reST document is literally:
.. currentmodule:: my_module
Standard API
MySection
-
.. autosummary::
TopClass
TopClass
~
.. autoclass:: TopClass
:members:
On Wed, Mar 30, 2022 at 6:14 PM Komiya Takeshi wrote:
> Hi,
>
> What option do you pass to
Hi,
What option do you pass to the autodoc directives? Please show an
example of reST document.
Thanks,
Takeshi KOMIYA
2022年3月30日(水) 18:26 'Alex Botev' via sphinx-users
:
>
> So I have something among the lines of:
>
> ```
> class TopClass:
> @my_decorator
> class InternalClass:
>
So I have something among the lines of:
```
class TopClass:
@my_decorator
class InternalClass:
"""Persistent state."""
a: int
b: int
c: int
```
Running autodoc correctly picks up InternalClass, but I get a lot of its
private members documented, e