summaryrefslogtreecommitdiff
path: root/doc/sphinxext/only_directives.py
diff options
context:
space:
mode:
authorPauli Virtanen <pav@iki.fi>2009-04-01 21:57:08 +0000
committerPauli Virtanen <pav@iki.fi>2009-04-01 21:57:08 +0000
commitd215183d0d2cfc49973bc4bc73555c2b112e546e (patch)
treeaed223e62771d290cfe72ef6b4efafad87652a41 /doc/sphinxext/only_directives.py
parent9a63ebd48281c994c39c374b5cdc960acb82963c (diff)
downloadnumpy-d215183d0d2cfc49973bc4bc73555c2b112e546e.tar.gz
sphinxext: convert the Sphinx extensions into a `numpydoc` package that can be distributed separately
Diffstat (limited to 'doc/sphinxext/only_directives.py')
-rw-r--r--doc/sphinxext/only_directives.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/sphinxext/only_directives.py b/doc/sphinxext/only_directives.py
index c25760ad0..c0dff7e65 100644
--- a/doc/sphinxext/only_directives.py
+++ b/doc/sphinxext/only_directives.py
@@ -11,8 +11,8 @@ except ImportError:
from sphinx.writers.latex import LaTeXTranslator
import warnings
- warnings.warn("The only_directives module is deprecated; please use "
- "the only:: directive available in Sphinx >= 0.6",
+ warnings.warn("The numpydoc.only_directives module is deprecated;"
+ "please use the only:: directive available in Sphinx >= 0.6",
DeprecationWarning, stacklevel=2)
from docutils.parsers.rst import directives