Sphinx / sys.path
mining.facts at googlemail.com
mining.facts at googlemail.com
Sat Oct 27 06:18:09 EDT 2012
Hi,
I figure out how it works with sphinx documentation. But I'm stucked
in the sys.path issue?
sys.path.insert(0, '/home/chris/projekte/dev/testmodule')
/home/chris/projekte/dev/testmodule/doc/source/code.rst:4: WARNING: autodoc can't import/find module 'myproject', it reported error: "No module named useful_1", please check your spelling and sys.path
Thanks in advance
Christian
+-- doc
| +-- build
| | +-- doctrees
| | | +-- code.doctree
| | | +-- environment.pickle
| | | +-- index.doctree
| | +-- genindex.html
| | +-- html
| | | +-- code.html
| | | +-- genindex.html
| | | +-- index.html
| | | +-- objects.inv
| | | +-- py-modindex.html
| | | +-- search.html
| | | +-- searchindex.js
| | | +-- _sources
| | | | +-- code.txt
| | | | +-- index.txt
| | | +-- _static
| | | +-- ajax-loader.gif
| | | +-- basic.css
| | | +-- comment-bright.png
| | | +-- comment-close.png
| | | +-- comment.png
| | | +-- default.css
| | | +-- doctools.js
| | | +-- down.png
| | | +-- down-pressed.png
| | | +-- file.png
| | | +-- jquery.js
| | | +-- minus.png
| | | +-- plus.png
| | | +-- pygments.css
| | | +-- searchtools.js
| | | +-- sidebar.js
| | | +-- underscore.js
| | | +-- up.png
| | | +-- up-pressed.png
| | | +-- websupport.js
| | +-- index.html
| | +-- objects.inv
| | +-- search.html
| | +-- searchindex.js
| | +-- _sources
| | | +-- index.txt
| | +-- _static
| | +-- ajax-loader.gif
| | +-- basic.css
| | +-- comment-bright.png
| | +-- comment-close.png
| | +-- comment.png
| | +-- default.css
| | +-- doctools.js
| | +-- down.png
| | +-- down-pressed.png
| | +-- file.png
| | +-- jquery.js
| | +-- minus.png
| | +-- plus.png
| | +-- pygments.css
| | +-- searchtools.js
| | +-- sidebar.js
| | +-- underscore.js
| | +-- up.png
| | +-- up-pressed.png
| | +-- websupport.js
| +-- make.bat
| +-- Makefile
| +-- source
| +-- code.rst
| +-- conf.py
| +-- index.rst
| +-- _static
| +-- _templates
+-- myproject
| +-- __init__.py
| +-- __init__.pyc
| +-- usefuel1.py
| +-- usefuel1.pyc
| +-- usefuel2.py
| +-- usefuel2.pyc
+-- README
+-- setup.py
+-- tests
More information about the Python-list
mailing list