On 2013-02-07, Tawez wrote:

...

> Source of the content is stored in Version Control System.
> The "content" means here articles as well as source code of applications in 
> tutorials.
> We are doing review of the whole content and because of this, source code 
> is stored in VCS as is.
> When we are building new release, source code is packed to zip files.

> Solution:

> Our solution is to extend :download: directive.
> If refferede resource is a folder, it is automaticaly packed to zpi file.

> From now on we can use:

>:download:`downloads/tutorial_01/`

> or

>:download:`downloads/tutorial_01`


> If "tutorial_01" is a folder, "tutorial_01.zip" will be created and stored 
> in common place for downloads.


> If there is any interest we will be happy to share our solution with the 
> community and contribute to the project.

It would be nice, if this could be made into an extension that a user can
select in the configuration.

To avoid confusion, please be aware, that::

   :download:`something`
   
is not a "directive", but a "role". (Directives are block-level elements
like <div> and <p>) while roles are inline elements like <span> and <a>.)

Thanks,

Günter




-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to