rosdoc_lite doesn't find modules
Hello there,
I'm fairly new to both Python and ROS and I reached a point where I'm supposed to document my code. I'm programming a Baxter robot and while programming with Python isn't much of a trouble, generating the documentation currently is.
So what I did is the following:
Read this site and follow it's steps including 3.1 -> http://wiki.ros.org/Sphinx
Lose ;-)
Jokes aside, I'm getting warnings in this style:
/home/ies-labor/devel/baxter_ws/src/baxter_ies_sdk/doc/Baxter.rst:4: WARNING: autodoc: failed to import module u'Baxter'; the following exception was raised:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/sphinx/ext/autodoc.py", line 335, in import_object
__import__(self.modname)
ImportError: No module named Baxter
My sources are found in /package/src and there are several files like Baxter.py, BaxterArm.py etc. For each of them I receive an error. I also get warnings about each of the source files' .rst file:
/home/ies-labor/devel/baxter_ws/src/baxter_ies_sdk/doc/Baxter.rst:: WARNING: document isn't included in any toctree
At the end no documentation is produced except the index template. The folders .build, .static and .templates are empty.
My workstation is using Ubuntu 14.04.2 with kernel 3.13.0-49 and ROS release used is Indigo.
Thanks for any help.