[Python-Dev] The docs, reloaded (original) (raw)

Martin Blais blais at furius.ca
Tue May 22 16:46:41 CEST 2007


On 5/22/07, Nick Coghlan <ncoghlan at gmail.com> wrote:

So in Armin's example, I found the reST version much easier to read. Whether that difference in perception is due simply to my relative lack of experience in using LaTeX, or to something else, I have no idea.

ReST works well only when there is little markup. Writing code documentation generally requires a lot of markup, you want to make variables, classes, functions, parameters, constants, etc.. (A better avenue IMHO would be to augment docutils with some code to automatically figure out the syntax of functions, parameters, classes, etc., i.e., less markup, and if we do this in Python we may be able to use introspection. This is a challenge, however, I don't know if it can be done at all.)



More information about the Python-Dev mailing list