On 9/3/07, BJörn Lindqvist <[EMAIL PROTECTED]> wrote:
> Hello!
>
> I'm interested to know what the best way (or maybe there are multiple
> good ways) to write documentation for Python bindings for a GTK
> library is.
>
> What I would like, is for a way to get the documentation into the
> docstrings, because then I get interactive help and can generate html
> and pdfs using epydoc. However I'm not sure if the wrapper generator
> in pygtk supports that? And even if it does, wouldn't it be a royal
> pain in the ass to have to update all the documentation each time I
> regenerate the wrapper?
>

There's an optional argument for definitions: docstring. To use, add

(docstring "foo bar") in Class, function or method definitions.

Source: Changelog entry for 2006-04-01.

-- 
Lauro Moura ("lmoura" on Freenode)
http://lauro.wordpress.com
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to