Open guillaumeautran opened 9 months ago
Mentioned briefly in https://github.com/colcon/colcon-ros/issues/128#issuecomment-1098518472, with the context of wanting an accurate dependency picture for the purposes of running documentation builds from colcon (also https://github.com/ros-infrastructure/rosdoc2/issues/15).
I think the easiest first pass would just be to add a stanza to this block which propagates the doc_depends from catkin_pkg into desc.dependencies['doc']
:
Though of course to actually do something meaningful with these, the relevant calls to PackageDescriptor.get_recursive_dependencies
would need to specify the correct categories:
Based on the code, type of dependencies. These dependencies behave similarly as
colcon-ros
does not seem to support the<build_depend>
but are more proper as<doc_depend>
when related to doc generation. Thinks like Doxygen or Sphinx (or rosdoc2 in my case of interest).