From d06ace282bf26c5c7f3becb21db0cdd028ec0d9a Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Fri, 10 Feb 2023 12:23:25 -0700 Subject: docs: don't show type hints in the signature List the parameters separately, with type hints. This leaves a list of params with dashes and no description, but we can get to that later. --- doc/conf.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc') diff --git a/doc/conf.py b/doc/conf.py index 39601fab..9be27efd 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -43,6 +43,8 @@ extensions = [ #'sphinx_tabs.tabs', ] +autodoc_typehints = "description" + # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -126,6 +128,10 @@ intersphinx_mapping = { nitpick_ignore = [ ("py:class", "frame"), ("py:class", "module"), + ("py:class", "DefaultValue"), + ("py:class", "FilePath"), + ("py:class", "TWarnFn"), + ("py:class", "TDebugCtl"), ] nitpick_ignore_regex = [ -- cgit v1.2.1