sphinx-doc / sphinx

The Sphinx documentation generator
https://www.sphinx-doc.org/
Other
6.49k stars 2.11k forks source link

Compress resource if :download: role refers to folder #1100

Open shimizukawa opened 9 years ago

shimizukawa commented 9 years ago

If resource refferede in :download: role is a folder, it could be automaticaly compressed to zpi file. Now if resource is a folder, we have got warning during the build.

Actually I've got working sollution (https://groups.google.com/forum/?fromgroups=#!topic/sphinx-users/5R6wB09IMrE)

This enhancement requires change in three files:


shimizukawa commented 9 years ago

From Tawez on 2013-02-10 12:46:06+00:00

Changed "directive" to "role" i title an description.