diff options
author | Pauli Virtanen <pav@iki.fi> | 2010-10-01 15:21:15 +0200 |
---|---|---|
committer | Pauli Virtanen <pav@iki.fi> | 2010-10-01 21:34:14 +0200 |
commit | 08e85c1820f8502e2a5009da4d3d89c6462a911b (patch) | |
tree | 928b1a9a7303575336e49af8fbad7903dec60724 /doc/sphinxext/plot_directive.py | |
parent | 6716be40b753daff7d705fcd440bd9e67198cff2 (diff) | |
download | numpy-08e85c1820f8502e2a5009da4d3d89c6462a911b.tar.gz |
sphinxext: remove deprecated parts from numpydoc
Diffstat (limited to 'doc/sphinxext/plot_directive.py')
-rw-r--r-- | doc/sphinxext/plot_directive.py | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/doc/sphinxext/plot_directive.py b/doc/sphinxext/plot_directive.py index efbd0d303..80801e798 100644 --- a/doc/sphinxext/plot_directive.py +++ b/doc/sphinxext/plot_directive.py @@ -317,12 +317,8 @@ def run(arguments, content, options, state_machine, state, lineno): opts = [':%s: %s' % (key, val) for key, val in options.items() if key in ('alt', 'height', 'width', 'scale', 'align', 'class')] - if sphinx.__version__ >= "0.6": - only_html = ".. only:: html" - only_latex = ".. only:: latex" - else: - only_html = ".. htmlonly::" - only_latex = ".. latexonly::" + only_html = ".. only:: html" + only_latex = ".. only:: latex" if j == 0: src_link = source_link |