Hi all,
this is the first time that I try to use Sphinx, so this may actually
be trivial.
I have a module (exactly one file, mymodule.py) in the folder root,
and I used sphinx-quickstart to generate the documentation files in
root/doc. I'd like to use the docstrings for the documentation, so I
Am 09.05.2010 um 01:38 schrieb Nico:
.. automodule:: ../mymodule
:members:
Try
.. automodule:: mymodule
:members:
juh
--
You received this message because you are subscribed to the Google Groups
sphinx-dev group.
To post to this group, send email to sphinx-...@googlegroups.com.
To
I get the error
/matplotlib2tikz/doc/index.rst:18: (WARNING/2) autodoc can't
import/find module 'matplotlib2tikz', it reported error: No module
named matplotlib2tikz, please check your spelling and sys.path
Is it necessary to put the root folder into $PYTHONPATH?
--Nico
On Mon, May 10, 2010
Autodoc simply imports the module to work with it, so it has to be in
the path. You can either define $PYTHONPATH or modify sys.path in the
conf.py accordingly. I suppose the latter is the more convenient
method.
--
You received this message because you are subscribed to the Google Groups
Perfect, that does the trick.
Thanks!
On Mon, May 10, 2010 at 3:45 PM, DasIch dasdas...@googlemail.com wrote:
Autodoc simply imports the module to work with it, so it has to be in
the path. You can either define $PYTHONPATH or modify sys.path in the
conf.py accordingly. I suppose the latter