Hello,

I am a big fan of literalinclude and especially its pyobject option
[1]. For those not familiar with, this extract an object from a Python
source file to display the formatted source code. Before that, I would
the option lines and would have to count which lines of the source
file to be included.

Now that I can write documentation for code on other languages, I want
even more: is it possible to extract objects from other languages, say
C functions with a syntax similar to :

.. literalinclude:: my_source.c
   :c:object: main

Is such a feature supported?

Thank you,


[1]: http://sphinx.pocoo.org/latest/markup/code.html#directive-literalinclude

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

Reply via email to