Il 13/06/2012 09:25, Guenter Milde ha scritto:
On 2012-06-12, Federico Bruni wrote:
Il 12/06/2012 11:31, Guenter Milde ha scritto:
(The "code" directive is new in reStructuredText (docutils 0.9
(2012-05-02). Use the Sphinx extension "sourcecode" with earlier
Docutils versions.)
Did you really mean "sourcecode"?
No. In Sphinx it is "source-block". Sorry for mixing it up.
Günter
Sorry, you were right: I didn't specify an argument.
In Sphinx it's called code-block and sourcecode is its alias:
http://sphinx.pocoo.org/markup/code.html
I think this link is quite hidden in the documentation.
Well, it's in the index, but the first link that one will check is
probably this one:
http://sphinx.pocoo.org/rest.html#source-code
Why don't you add there a link to markup/code.html?
Thanks,
Federico
--
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.