Re: [Epydoc-devel] How to use custom images?
Brought to you by:
edloper
From: Daniele V. <dan...@gm...> - 2008-03-06 10:19:07
|
Manuel ha scritto: > Thanks. > But unfortunately it not work here (I'm working with Windows)... There is no problem with docutils on windows: it is a pure Python module. Of course you have to install the docutils package (from http://docutils.sourceforge.net) There are two glitches in your example: 1. the __docformat__ must be a module variable, not a class variable; 2. in reST syntax you need a blank line above the directives (i.e. image). Below the fixed example, which works as expected. __docformat__ = 'restructuredtext' def foo(): """ Here's an image: .. image:: img_04.png """ pass Regards, -- Daniele |