From 1e858172519e9339e4720b8bf9b39b6d9801e305 Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Sat, 28 May 2022 19:29:08 -0700 Subject: Tweak around docstring to make prettier sphinx autodocs. --- docs/conf.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'docs/conf.py') diff --git a/docs/conf.py b/docs/conf.py index 2d1ed09..ef2a272 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -38,11 +38,14 @@ author = 'Scott Gasch' # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. extensions = [ - 'sphinx.ext.doctest', 'sphinx.ext.autodoc', + 'sphinx.ext.doctest', + 'sphinx.ext.napoleon', 'sphinx.ext.viewcode', ] +autodoc_typehints = "both" + # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] -- cgit v1.3