From cdf0be318539e771b7ce535175ba7fd0032495be Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Mon, 13 Apr 2009 19:39:20 +0000 Subject: Deprecating sphinxext/autosummary in favor of the version in Sphinx >= 0.7 --- doc/sphinxext/autosummary.py | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'doc/sphinxext') 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), -- cgit v1.2.1