-
Notifications
You must be signed in to change notification settings - Fork 10
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
Failure after Exhale: parsing Doxygen XML
#127
Comments
My best guess on this is that it's a version mismatch between exhale and an underlying library such as BeautifulSoup. Tracing back comes from memberdef_find_all https://github.com/svenevs/exhale/blob/c99592533143b5144a69bf685c85cdb63e534b0b/exhale/graph.py#L2198 which comes from func_section.find_all https://github.com/svenevs/exhale/blob/c99592533143b5144a69bf685c85cdb63e534b0b/exhale/graph.py#L2171 which comes from cdef.find_all https://github.com/svenevs/exhale/blob/c99592533143b5144a69bf685c85cdb63e534b0b/exhale/graph.py#L2162 Which comes from parent_soup.doxygen.compounddef https://github.com/svenevs/exhale/blob/c99592533143b5144a69bf685c85cdb63e534b0b/exhale/graph.py#L2160 Which is an instance of BeautifySoup https://github.com/svenevs/exhale/blob/c99592533143b5144a69bf685c85cdb63e534b0b/exhale/graph.py#L2156 |
Thx @tfoote , I found now some time to further analyze the issue. I realized that I found out that the only single change to fix the rosdoc2 build is to add a flag in the CMakeLists.txt: The resulting doxygen output by Sorry, I have no idea where to start to narrow this down. But let me know how I can provide you with additional info. |
I'm a little confused about what you are trying to accomplish here, so please forgive me if some of my comments do not make sense. rosdoc2 is in a state of flux, frustrating for me (#144) because it must also be frustrating to developers such as yourself. Many of the unlanded PRs are hooks designed to help large projects, such as ros2_control, have better control of their documentation. But ignoring that for a moment, if I render transmission_interface with just the PRs that are have been submitted to rosdoc2 for review and are presumably close to being landed, it looks fine as is. Using current humble branch of ros2_control, I see this: http://prrosdoc2.rosdabbler.com/humble/transmission_interface/ I have a couple of recommendations though. PR #148 has a major impact on packages, such as transmission_interface, that define conf.py but not sphinx_sourcedir. I would suggest that you:
If the resulting documentation page is not to your liking, the recommended way to customize this in the future is to place a modified template in your project, starting from the default https://github.com/ros-infrastructure/rosdoc2/blob/main/rosdoc2/verbs/build/builders/index.rst.jinja This is functional in the current rosdoc2, but undocumented. The documentation exists though at https://github.com/rkent/rosdoc2/tree/rkj-main/doc which hopefully someday will get landed. I'd be happy to work with you to improve the presentation of you documentation if you desire. |
I have made a custom rosdoc2 config for a package, which runs great on the respective rolling branch but does not on the humble branch. (the CI job uses the same workflow, i.e., OS and dependencies are the same)
Doxygen returns code "0" in both cases, I just can't find any other hint what is wrong there. Any hints what could cause the issue? Thanks in advance!
Full log output:
humble.txt
The text was updated successfully, but these errors were encountered: