On 10/26/2011 04:57 PM, Guenter Milde wrote:
What does the output look like? Is there an error message? Does a blank line between the directive start line and the content block help? Try to create a minimal working example: copy the "failing" block to a new document. Remove stepwise content and try which line/part changes the behaviour.
It was quite simple, this is a simple failing example: .. parsed-literal:: class SampleCommand(AbstractCommand): def do(self): # var (and I don't get any compilation warnings). I guess sphinx thinks that this code is not valid python (even if it is), and so it doesn't bother. But I didn't think it was doing such a check, and how do I stop it checking this? -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-dev@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.