add preferred instruction to download role description

This commit is contained in:
Yoshiki Shibukawa 2016-07-19 23:35:49 +09:00
parent 702004acfc
commit b7b1ac1c4d

View File

@ -200,6 +200,12 @@ Referencing downloadable files
The ``example.py`` file will be copied to the output directory, and a
suitable link generated to it.
Not to show unavailable download links, you should wrap whole paragraphs that
have this role::
.. only:: builder_html
See :download:`this example script <../example.py>`.
Cross-referencing figures by figure number
------------------------------------------