ros-infrastructure / rosdoc2

Command-line tool for generating documentation for ROS 2 packages.
Apache License 2.0
29 stars 9 forks source link

Allow running as module #73

Closed rkent closed 3 months ago

rkent commented 3 months ago

When developing rosdoc2, it can be convenient to run it as a module directly rather than having to install each time, or trying to make an editable install work. This minor change should allow it.

rkent commented 3 months ago

Maybe I am doing wrong, but whenever I use --editable it demands that I be using a venv, which I don't typically do. That adds extra overhead to running things.

Other than that, the main advantage is that you don't have to modify your rosdoc2 install.

It's not a big deal, really with the testing infrastructure I am proposing the vast majority of development takes place there. But if I am trying to fix an issue that exists in a package, and I don't want to add that issue to a test case, this could be useful.