Hi, I just joined this group. Thanks for making sphinx available. It makes it very easy to make my code available on the web.
I have a question about keeping indentation in an entire code block. I would like to add documentation in between class methods, like so: introduction ================== :: class LongClass(): def hardFunction(self): return 3 This function requires substantial explanation :: def alsoHard(self): print "success" More explanations requiring mathematics. :: def simple(self): print "aha" End of rst file ---------------------- The problem is that in the html file the methods are not indented anymore, see http://nicky.vanforeest.com/mg1StateProbabilities/hank.html. Now, due to the removed indentation, the methods seem to have become functions. Is there any way to repair this in the rst file? Thanks Nicky -- 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.