Am 24.05.2013 11:09, schrieb Guenter Milde:
This would make it possible to define a figure directive with default class and content like e.g. ::.. directive:: myfig(figure) :class: special :default-argument: myfig.jpg This is my figure for later use as :: ..myfig:: or overriding the heading :: ..myfig:: This is also my figure. or overriding image and heading :: ..myfig:: myfig2.png This is another of my figures.
Thanks for the example! I used Sphinx in quiet some projects but never noticed this. -brutus -- 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.
