Hi,
I'm trying to specify a folder for the autodoc extension to scan for
modules. The file structure is like this
C:\
+Project
+Docs
- All the Sphinx stuff
+src
- Modules
I'm not sure how to use sys.path.append in conf.py to point to this
src folder. I have tried various combinations like
sys.path.append('/Project/src')
sys.path.append('C:/sphinxTest/src')
etc, but then using .. automodule:: src.autodocTest doesn't work.
One thing I'm wondering is if I can use sys.path.append(os.path.abspath
('.')) and use something to get to a higher level directory (e.g. Up
out of docs where Sphinx is, then down to source).
Thanks for your help,
Nick
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sphinx-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sphinx-dev?hl=en
-~----------~----~----~----~------~----~------~--~---