Skip to content

Commit 04352cc

Browse files
130sclalancette
andauthored
[rep-0151] rst not rendering Python shebang code, which is crucial in the context. (ros-infrastructure#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]>
1 parent ec53529 commit 04352cc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rep-0151.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ Shebangs and reliance on the Python command
175175
'''''''''''''''''''''''''''''''''''''''''''
176176
Python scripts on UNIX systems typically have shebang lines written as:
177177

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

210-
.. code-block: xml
210+
.. code-block:: xml
211211
212212
<depend condition="$ROS_PYTHON_VERSION == '2'">python-numpy</depend>
213213
<depend condition="$ROS_PYTHON_VERSION == '3'">python3-numpy</depend>

0 commit comments

Comments
 (0)