summaryrefslogtreecommitdiff
path: root/doc/sphinxext/autosummary.py
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2009-04-13 19:39:20 +0000
committerPauli Virtanen <pav@iki.fi>2009-04-13 19:39:20 +0000
commitcdf0be318539e771b7ce535175ba7fd0032495be (patch)
tree517f9140556eff9d22b050348799a9e99aae6606 /doc/sphinxext/autosummary.py
parent48d27be1a9353ed49a8afc6ac855eb08dd993abe (diff)
downloadnumpy-cdf0be318539e771b7ce535175ba7fd0032495be.tar.gz
Deprecating sphinxext/autosummary in favor of the version in Sphinx >= 0.7
Diffstat (limited to 'doc/sphinxext/autosummary.py')
-rw-r--r--doc/sphinxext/autosummary.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/sphinxext/autosummary.py b/doc/sphinxext/autosummary.py
index 4e64a8d05..2f8a00a30 100644
--- a/doc/sphinxext/autosummary.py
+++ b/doc/sphinxext/autosummary.py
@@ -62,11 +62,12 @@ from sphinx.util import patfilter
from docscrape_sphinx import get_doc_object
import warnings
-warnings.warn("The numpydoc.autosummary extension will be eventually moved to "
- "sphinx.ext.autosummary. One version is already available in "
- "Sphinx >= 0.6; expect this module to be deprecated after all "
- "remaining features have been integrated there.",
- FutureWarning, stacklevel=2)
+warnings.warn(
+ "The numpydoc.autosummary extension can also be found as "
+ "sphinx.ext.autosummary in Sphinx >= 0.6, and the version in "
+ "Sphinx >= 0.7 is superior to the one in numpydoc. This numpydoc "
+ "version of autosummary is no longer maintained.",
+ DeprecationWarning, stacklevel=2)
def setup(app):
app.add_directive('autosummary', autosummary_directive, True, (0, 0, False),