Skip to content

Commit

Permalink
[rep-0151] rst not rendering Python shebang code, which is crucial in…
Browse files Browse the repository at this point in the history
… the context. (#316)

* [rep-0151] rst not rendering Python shebang code, which is crucial in the context.

* [rep-0151] Correct code block for Python shebang

Co-authored-by: Chris Lalancette <[email protected]>
  • Loading branch information
130s and clalancette authored Apr 26, 2021
1 parent ec53529 commit 04352cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rep-0151.rst
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ Shebangs and reliance on the Python command
'''''''''''''''''''''''''''''''''''''''''''
Python scripts on UNIX systems typically have shebang lines written as:

.. code-block: bash
.. code-block:: bash
#!/usr/bin/env python
Expand Down Expand Up @@ -207,7 +207,7 @@ Python 3 equivalents.
Packages using the same code base for multiple ROS distros should instead use
conditional dependencies as described in REP 149 [5]_.

.. code-block: xml
.. code-block:: xml
<depend condition="$ROS_PYTHON_VERSION == '2'">python-numpy</depend>
<depend condition="$ROS_PYTHON_VERSION == '3'">python3-numpy</depend>
Expand Down

0 comments on commit 04352cc

Please sign in to comment.