Skip to content

Commit

Permalink
add documentation for #192
Browse files Browse the repository at this point in the history
  • Loading branch information
k-okada committed Dec 10, 2015
1 parent b7adda7 commit 703bb53
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Catkin Command Line Tools
verbs/catkin_list
verbs/catkin_locate
verbs/catkin_profile
verbs/catkin_source
Advanced: Verb Aliasing <advanced/verb_customization>
Advanced: Contributing Verbs <development/extending_the_catkin_command>
.. TODO: Advanced: Workspace Chaining <advanced/workspace_chaining>
Expand Down
27 changes: 27 additions & 0 deletions docs/verbs/catkin_source.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
``catkin source`` -- Source Package Info
====================================

The ``source`` verb for the ``catkin`` command is used to source
setup.sh file in devel or install spaces of the containing workspace.

This is a bash/zsh wrapper function, you need to

.. code-block:: shell
. /opt/ros/indigo/etc/bash_completion.d/catkin_shell_verbs.{bash,zsh}
to enable this feature.

Full Command-Line Interface
^^^^^^^^^^^^^^^^^^^^^^^^^^^

.. code-block:: text
usage: catkin source [-w /path/to/ws]
Sources setup.sh in the workspace.
optional arguments:
-w [/path/to/ws]
Source setup.sh from given workspace.

0 comments on commit 703bb53

Please sign in to comment.