From 33e06b5bd725f56576864e0f5db8ecc93e7505cb Mon Sep 17 00:00:00 2001 From: Tony Narlock Date: Sun, 26 Nov 2023 05:37:31 -0600 Subject: [PATCH] docs(conf): Initial sphinx-autodoc2 --- docs/conf.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index fbc808157..e28a0aa56 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -26,9 +26,10 @@ exec(fp.read(), about) extensions = [ - "sphinx.ext.autodoc", + "autodoc2", "sphinx.ext.intersphinx", - "sphinx_autodoc_typehints", + "sphinx.ext.autodoc", + # "sphinx_autodoc_typehints", "sphinx.ext.todo", "sphinx.ext.linkcode", "sphinx.ext.napoleon", @@ -109,6 +110,9 @@ autodoc_member_order = "bysource" toc_object_entries_show_parents = "hide" +# autodoc2 +autodoc2_hidden_objects = ["dunder", "private", "inherited"] + # sphinx-copybutton copybutton_prompt_text = ( r">>> |\.\.\. |> |\$ |\# | In \[\d*\]: | {2,5}\.\.\.: | {5,8}: "