On 23 February 2010 00:17, Tom Davis <binju...@gmail.com> wrote: > I've been reading through the documentation and source code for > directives both on the sphinx site and rst, but have been unable to > manage adding some simple directives. I am trying to document an API.
Not sure if this may help, but I think that the Django docs are a very good example of how to extend Sphinx. Check http://docs.djangoproject.com/ for the final output, and http://code.djangoproject.com/svn/django/trunk/docs/_ext/djangodocs.py for the extension code. app.add_description_unit() may be what you need, and Django uses a couple of those. Regards, Fernando -- Fernando Gómez Biblioteca "Antonio Monteiro" INMABB (Conicet / Universidad Nacional del Sur) Av. Alem 1253 B8000CPB Bahía Blanca, Argentina Tel. +54 (291) 459 5116 http://inmabb.criba.edu.ar/ -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-...@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.