Hi All,

Is there any standard ReST was of doing captions for a literal block, 
such as a code block?

just imagining:

"""
Suppose you wanted to compile a file such as the following::

   class MyClass:
      def something(self):
         pass

:caption:myfile.py

"""

If not, would I need to do a Sphinx extension to do this?

If I need an extension, I'm taking I'll have problems using it for hte 
long description of my package on pypi?

cheers,

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
            - http://www.simplistix.co.uk

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to