admin 管理员组文章数量: 1086019
When documenting Python code using Sphinx (v8.2.3), the parameters of the class' initializer __init__(self, ...)
are documented two times:
- in the class' description
- in the dunder init method
I consider this redundant information, especially as __init__()
is the first method in the class and the information is repeated within a few centimeters on screen.
Question:
How can I disable the parameter documentation in the class description?
Example:
版权声明:本文标题:read the docs - How to disable duplicate parameter documentation in SphinxReadTheDocs theme - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://roclinux.cn/p/1744072868a2528808.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论