By default autodoc includes parent classes docstrings in child classes documentation. This patch adds autodoc_ineritance_docstrings to autodoc config to turn this feature off.
Signed-off-by: Jan Tluka jtluka@redhat.com --- docs/source/conf.py | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/docs/source/conf.py b/docs/source/conf.py index 2f228ba0..34fa73e5 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -63,4 +63,6 @@ autodoc_default_options = { 'member-order': 'bysource', }
+autodoc_inherit_docstrings = False + master_doc = "index"
On Mon, Apr 27, 2020 at 09:33:51AM +0200, Jan Tluka wrote:
By default autodoc includes parent classes docstrings in child classes documentation. This patch adds autodoc_ineritance_docstrings to autodoc config to turn this feature off.
Signed-off-by: Jan Tluka jtluka@redhat.com
docs/source/conf.py | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/docs/source/conf.py b/docs/source/conf.py index 2f228ba0..34fa73e5 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -63,4 +63,6 @@ autodoc_default_options = { 'member-order': 'bysource', }
+autodoc_inherit_docstrings = False
master_doc = "index"
2.21.1 _______________________________________________ LNST-developers mailing list -- lnst-developers@lists.fedorahosted.org To unsubscribe send an email to lnst-developers-leave@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/lnst-developers@lists.fedorahos...
pushed.
-Ondrej
lnst-developers@lists.fedorahosted.org