summaryrefslogtreecommitdiff
path: root/doc/ext/example_numpy.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ext/example_numpy.rst')
-rw-r--r--doc/ext/example_numpy.rst4
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/ext/example_numpy.rst b/doc/ext/example_numpy.rst
index a3b41613e..38d3439c8 100644
--- a/doc/ext/example_numpy.rst
+++ b/doc/ext/example_numpy.rst
@@ -9,7 +9,9 @@ Example NumPy Style Python Docstrings
:ref:`example_google`
-Download: :download:`example_numpy.py <example_numpy.py>`
+.. only:: builder_html
+
+ Download: :download:`example_numpy.py <example_numpy.py>`
.. literalinclude:: example_numpy.py
:language: python