Admittedly, this doesn't address directive creation as you are asking, but 
have you looked at the container directive?

.. container::
   :class: myclass

   Content material here....

That should do exactly what you're trying to do with your custom directive. 
(<div class="myclass">Content material here...</div>).

-- 
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.

Reply via email to