From c2b389848c5e9829a88199872c429de285bb35c1 Mon Sep 17 00:00:00 2001 From: cspotcode Date: Sun, 6 Aug 2023 18:05:25 -0400 Subject: [PATCH 1/2] initial commit for doc_stack/google_style_docstrings From a74a993dffe6c557749fda871af4189394049bfe Mon Sep 17 00:00:00 2001 From: cspotcode Date: Sun, 6 Aug 2023 18:45:33 -0400 Subject: [PATCH 2/2] Enable napoleon --- doc/conf.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/conf.py b/doc/conf.py index 01a99c7a6..418ba8526 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -54,6 +54,7 @@ # ones. extensions = [ 'sphinx.ext.autodoc', + 'sphinx.ext.napoleon', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', @@ -117,6 +118,9 @@ # If true, `todo` and `todoList` produce output, else they produce nothing. todo_include_todos = True +napoleon_numpy_docstring = False +napoleon_google_docstring = True + # -- Options for HTML output ---------------------------------------------- # The theme to use for HTML and HTML Help pages. See the documentation for