On Sun, 2009-01-11 at 14:25 +0100, Georg Brandl wrote: > Georg Brandl schrieb: > > > If the <object> strategy is the right one for SVGs, I'll happily add it > > to the default writer. > > > >> For the custom directive part, you are as wise as me - I've never done > >> that. Here is some prior art though: > >> > >> http://www.bitbucket.org/birkenfeld/sphinx/src/tip/sphinx/ext/todo.py > >> http://svn.scipy.org/svn/numpy/trunk/doc/sphinxext/ > > > > Let me also throw in a link to the newly written extension tutorial > > at <http://sphinx.pocoo.org/ext/tutorial.html>. It explains the todo > > extension in detail. > > > > (I'm also > > glad about feedback if the tutorial is complete and understandable > enough... >
You could perhaps also show an example of the doctree node structure that the directive creates. Also in the extension api documentation (Sphinx.add_directive), there is a line: 'see the docutils documentation' - I think a link would be good here, specifically, to http://docutils.sourceforge.net/docs/howto/rst-directives.html G. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en -~----------~----~----~----~------~----~------~--~---
