Vinay Sajip writes:

On Oct 15, 7:34 pm, Kevin Horn <kevin.h...@gmail.com> wrote:
jip

I haven't found a way to do this yet, but it's certainly a feature I'd like
to see.


I implemented a proof-of-concept and attached it to a Sphinx ticket:

https://bitbucket.org/birkenfeld/sphinx/issue/541/captions-for-literalinclude

There's an attached diff against trunk on the ticket. Some styling
work needs to be done to set up nice looking default CSS for the
bundled themes.

Why not just use a topic directive with the literalinclude inside it?

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