Skip to content

Commit 982c93d

Browse files
committed
Remove RETURN TYPE and replace with RETURNS docs. Remove sphinxcontrib extension.
1 parent 787d674 commit 982c93d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

docs/conf.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,10 @@
9292
html_css_files = ["styles/furo.css"]
9393
html_js_files = ["js/custom.js"]
9494

95-
if on_rtd:
96-
extensions.append("sphinxcontrib.napoleon")
97-
else:
98-
extensions.append("sphinx.ext.napoleon")
9995

100-
napoleon_use_rtype = True
96+
extensions.append("sphinx.ext.napoleon")
97+
98+
napoleon_use_rtype = False
10199
napoleon_google_docstring = False
102100
napoleon_numpy_docstring = True
103101
napoleon_include_private_with_doc = False

0 commit comments

Comments
 (0)