Muss ich wirklich jedes Modul, jede Klasse und jede Methode einzeln aufzählen?!
EDIT: autodoc scheint gewisse Module, die importiert werden, automatisch zu importieren. Wenn das Modul jedoch als Python-Plugin installiert wurde, erhalte ich eine Fehlermeldung von autodoc:
ImportError: No module named serial
C:\Documents and Settings\stdi3650\My Documents\Aptana Studio 3 Workspace\COM-CommunicatorV6\index.rst:19:
WARNING: autodoc can't import/find class 'view.GUI.GUI', it reported error: "No module named serial", please check your spelling and sys.path
Nun habe ich in conf.py folgendes eingefügt:
Code: Alles auswählen
sys.path.insert(0, os.path.abspath('src'))
sys.path.insert(1, 'C:\Python25\Lib\site-packages')
Leider hilft das auch nicht weiter.