Hi, I've just created gist: https://gist.github.com/tawez/7113929
Feel free to use it, comment or ask questions. -- Regards, Tawez On Monday, October 21, 2013 8:31:23 PM UTC+2, Cassandra Sundberg wrote: > Tawez, > > Did you end up posting this anywhere? I'd love to use this extension, > and perhaps as a reference for future extensions. (I've made some simple > extensions for new directives, but I have not worked with roles; more > importantly, I don't know where to find the code that would allow me to > extend the pre-existing tags that come with Sphinx.) > > Thanks! > Cassie > > > On Thursday, February 7, 2013 2:03:57 AM UTC-8, Tawez wrote: >> >> Hi, >> >> We are using Sphinx to generate this little baby :) >> http://www.samsungdforum.com/Guide/ >> (only the "Guide" part so don't blame us for the whole rest of the >> website ;) ) >> >> There is still a lot of work here, especially if we talk about the >> content and its quality ;) >> However from technical point of view... Sphinx works just great! >> >> >> Background: >> >> 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. >> >> >> -- >> Regards, >> Tawez >> >> -- 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. For more options, visit https://groups.google.com/groups/opt_out.
