mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Update documentation of download role for addition of hash in subdir
This was changed in gh-5377, but that forget the (now slightly misleading) documentation. Discovered in https://github.com/numpy/numpy.org/pull/14, where we were relying on download links being stable.
This commit is contained in:
parent
8e1cbd24c6
commit
659c66ad98
@ -189,8 +189,8 @@ Referencing downloadable files
|
||||
|
||||
When you use this role, the referenced file is automatically marked for
|
||||
inclusion in the output when building (obviously, for HTML output only).
|
||||
All downloadable files are put into the ``_downloads`` subdirectory of the
|
||||
output directory; duplicate filenames are handled.
|
||||
All downloadable files are put into a ``_downloads/<unique hash>/``
|
||||
subdirectory of the output directory; duplicate filenames are handled.
|
||||
|
||||
An example::
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user