From 7aa80683db296abd9fdfe120ca52d1eace603d53 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20Noord?= <13665637+DanielNoord@users.noreply.github.com> Date: Sat, 26 Nov 2022 20:03:53 +0100 Subject: [PATCH] Don't include type annotations in the documentation --- docs/conf.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 0e4bc6c0..c48a5bf7 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -36,7 +36,6 @@ "sphinx.ext.intersphinx", "sphinx.ext.napoleon", "sphinx.ext.viewcode", - "autoapi.extension", "sphinx_autodoc_typehints", "sphinx_copybutton", @@ -169,7 +168,6 @@ def entire_domain(host): ] autoapi_root = "api" autoapi_ignore = [ - "*/_[a-z]*.py", "*/__main__.py", "*/benchmarks/*", "*/cli.py", @@ -179,8 +177,10 @@ def entire_domain(host): "members", "undoc-members", "show-module-summary", - "imported-members", ] autoapi_type = "python" autoapi_dirs = [PACKAGE_SRC] + +# Don't include type hints as they give too much issues +autodoc_typehints = "none"