Skip to content

Commit

Permalink
Don't include type annotations in the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielNoord committed Nov 26, 2022
1 parent e2baceb commit 7aa8068
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
"sphinx.ext.intersphinx",
"sphinx.ext.napoleon",
"sphinx.ext.viewcode",

"autoapi.extension",
"sphinx_autodoc_typehints",
"sphinx_copybutton",
Expand Down Expand Up @@ -169,7 +168,6 @@ def entire_domain(host):
]
autoapi_root = "api"
autoapi_ignore = [
"*/_[a-z]*.py",
"*/__main__.py",
"*/benchmarks/*",
"*/cli.py",
Expand All @@ -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"

0 comments on commit 7aa8068

Please sign in to comment.