I'm trying to get a download link to work in Read the Docs using reStructuredText (reST) and Sphinx. In the reST documentation for the download role the example to provide a download link is given as
.. only:: builder_html
See :download:`this example script <../example.py>`.
When making the html source locally the links appear, but when using a GitHub linked project on Read the Docs, they do not.