Re: [sphinx-users] Autodoc documents private members of inner dataclass

2022-03-30 Thread Komiya Takeshi
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

Re: [sphinx-users] Autodoc documents private members of inner dataclass

2022-03-30 Thread Ibrar Ch
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

Re: [sphinx-users] Autodoc documents private members of inner dataclass

2022-03-30 Thread 'Alex Botev' via sphinx-users
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

Re: [sphinx-users] Autodoc documents private members of inner dataclass

2022-03-30 Thread Komiya Takeshi
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: >

[sphinx-users] Autodoc documents private members of inner dataclass

2022-03-30 Thread 'Alex Botev' via sphinx-users
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