Skip to content

Commit 3ecee46

Browse files
committed
Deprecating sphinxext/autosummary in favor of the version in Sphinx >= 0.7
1 parent 0c79025 commit 3ecee46

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Diff for: autosummary.py

+6-5
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,12 @@
6262
from docscrape_sphinx import get_doc_object
6363

6464
import warnings
65-
warnings.warn("The numpydoc.autosummary extension will be eventually moved to "
66-
"sphinx.ext.autosummary. One version is already available in "
67-
"Sphinx >= 0.6; expect this module to be deprecated after all "
68-
"remaining features have been integrated there.",
69-
FutureWarning, stacklevel=2)
65+
warnings.warn(
66+
"The numpydoc.autosummary extension can also be found as "
67+
"sphinx.ext.autosummary in Sphinx >= 0.6, and the version in "
68+
"Sphinx >= 0.7 is superior to the one in numpydoc. This numpydoc "
69+
"version of autosummary is no longer maintained.",
70+
DeprecationWarning, stacklevel=2)
7071

7172
def setup(app):
7273
app.add_directive('autosummary', autosummary_directive, True, (0, 0, False),

0 commit comments

Comments
 (0)