Skip to content

Commit 9069b93

Browse files
committed
fix: drop sphinxcontrib-napoleon in favor of official extension
1 parent 61cebdf commit 9069b93

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

docs/conf.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"sphinx.ext.intersphinx",
3434
"sphinx.ext.coverage",
3535
"sphinx.ext.mathjax",
36+
"sphinx.ext.napoleon",
3637
"sphinx.ext.ifconfig",
3738
"sphinx.ext.viewcode",
3839
"sphinx.ext.githubpages",
@@ -56,13 +57,13 @@
5657
# of parameters.
5758
# Requires pinning sphinxcontrib-napoleon to a specific commit while
5859
# https://github.com/sphinx-contrib/napoleon/pull/10 is merged.
59-
napoleon_use_param = False
60+
napoleon_use_param = True
6061
napoleon_custom_sections = [
61-
("Inputs", "Parameters"),
62-
("Outputs", "Parameters"),
63-
("Attributes", "Parameters"),
64-
("Mandatory Inputs", "Parameters"),
65-
("Optional Inputs", "Parameters"),
62+
# ("Inputs", "params_style"),
63+
# ("Outputs", "Parameters"),
64+
# ("Attributes", "Parameters"),
65+
# ("Mandatory Inputs", "Parameters"),
66+
# ("Optional Inputs", "Parameters"),
6667
]
6768

6869
# Add any paths that contain templates here, relative to this directory.

docs/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
git+https://github.com/AleksandarPetrov/napoleon.git@0dc3f28a309ad602be5f44a9049785a1026451b3#egg=sphinxcontrib-napoleon
21
git+https://github.com/rwblair/sphinxcontrib-versioning.git@39b40b0b84bf872fc398feff05344051bbce0f63#egg=sphinxcontrib-versioning
32
nbsphinx
43
packaging

0 commit comments

Comments
 (0)