-
Notifications
You must be signed in to change notification settings - Fork 938
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
add python docs theme as a dependency #2645
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2645 +/- ##
==========================================
- Coverage 60.58% 60.50% -0.08%
==========================================
Files 402 402
Lines 29619 29619
==========================================
- Hits 17941 17917 -24
- Misses 11678 11702 +24
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's give it a try! @PeterMitrano, please check the result on https://build.ros.org/view/Ndoc/job/Ndoc__moveit__ubuntu_focal_amd64/
It's triggered automatically whenever https://github.com/ros-planning/moveit/ is changed. This change won't trigger that job because you merged it to the |
Thanks for this hint. I will forward noetic-devel to master... |
@cottsay, the build farm still didn't trigger a new doc job, although the |
cross referencing #2606 |
Progress! The install worked, and http://docs.ros.org/en/noetic/api/moveit_core/html/python/ is live. But there are still errors Here's the log: Here are the errors/warnings
So when rosdoc_lite calls the docs, perhaps it isn't running from a correctly setup environment in terms of python path or something? Because The second warning could be because sphinx is out of date. Not sure what version it uses, perhaps https://github.com/ros-infrastructure/catkin-sphinx ? which is definitely out of date... The last error might be caused by the first two. Not sure. Also not sure how to proceed with debugging, because these are issues that depend on me knowing things about the build farm config/infrastructure. Does anyone else have suggestions on how to proceed? |
It seems the I also can't tell if the install workspace is sourced when running rosdoc_lite. If not, I think it needs to be in order for the |
@cottsay, who can help on this doc generation issue? |
interestingly it does look like it is building the workspace, I can see it in the log. Everything gets installed to some temp install_isolated location. But I don't see that install space getting "sourced" before/during the rosdoc_lite steps |
There's no way to do that. rosdoc_lite runs a custom pseudo build to generate messages but doesn't build the package itself. Requiring all the build dependencies management is a lot more overhead too. |
Sounds like that's something that's not easily changed, and something we might not want to change in general. But without that it seems we can't use ros docs for these python docs. We could generate docs on some other server and host it manually, I guess? Or it might be possible to do the generation of the .rst files before hand, so it doesn't have to import moveit.core on the build farm. Not sure how that would work, but then it could still go through the normal rosdocs pipeline? |
Here's a start of a possible workaround: https://github.com/UM-ARM-Lab/moveit/tree/include-generated-python-docs/moveit_core/doc Basically I just ran rosdoc myself to generate the *.rst files manually, then changes the config so it just reads existing one and doesn't try to import or use autosummary. The obvious downside is that we have to run this manually in order to update the generated docs |
Description
In #2547 we use the RTD theme for python, but didn't add it as a dependency, which is causing the docs job to not generate python docs
rosdep does not look at
doc_depend
which might cause problems. I'm not sure how to trigger a build farm job to test this, but if that's a problem we can change it to a normaldepend
.Checklist