-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build epydoc docs #67
Comments
Mike, I was out of town Monday and Tuesday, sorry for the delayed response. I don't have much personal experience with epydoc, mostly being a sphinx and doxygen user. I probably have less idea what's going on than you do. So, I'll ask some simple questions in hopes they might stimulate us to come up with answers or at least further experiments:
I recently noticed that rosdoc_lite is unable to document itself (#65), due to a missing doc dependency on Basically, the build farm uses rosdoc_lite in strange and specially-crafted ways. Building it locally is unlikely to yield exactly the same results. 😦 |
Okay, have poked and prodded a bit more, looks like a cwd issue. The following works as expected:
So, this can be worked around, but IMO it is a bug in rosdoc_lite. |
Yeah, It does not seem appropriate to change that behavior now, but I suppose we could add something like a
|
The |
I agree that the documentation implies different behavior. But, I hesitate to change how it works after all these years. What do you suggest? Just |
That seems to be how the Sphinx plugin handles things: |
Ah! That's why it only fails with epydoc. In that case, a similar patch to the epydoc plugin seems appropriate and more-consistent. |
It seems that unlike with Sphinx and Doxygen, successfully generating epydoc depends on the package being built and on the
PYTHONPATH
. And the epydoc docs clearly build successfully in ros_buildfarm (eg), so I'm struggling to understand where this goes wrong:Result:
The weirdest thing of all, though, is that if I manually execute the epydoc command outside of rosdoc_lite's mangling of the PYTHONPATH, it totally succeeds:
I tried not building rospy, and also building it in a separate workspace with catkin_make rather than catkin_tools, and using the install rather than devel space— no dice. What am I doing wrong here?
The text was updated successfully, but these errors were encountered: