ros-infrastructure / rosdoc_lite

A light-weight version of rosdoc that does not rely on ROS infrastructure for crawling packages.
10 stars 31 forks source link

[Sphinx] catkin_package version not working when conf.py not in doc folder #61

Open bit-pirate opened 8 years ago

bit-pirate commented 8 years ago

Wanting to separate Sphinx and Doxygen documentation files, I put all Sphinx files in a separate folder within doc and adjusted the sphinx_root_dir in the rosdoc.yaml.

However, when doing so the automatic version replacement explained in the ROS Wiki (Step 5) doesn't work anymore, since the path of the package.xml is wrong.

jack-oquin commented 8 years ago

As an ad-hoc workaround, you could join an extra .. to the end of the catkin_dir string.

If you can think of a more general solution, please edit that wiki page. Perhaps it would be better to look up the package directory by name.