Skip to content

Commit

Permalink
Annotate some code-blocks
Browse files Browse the repository at this point in the history
In particular, the `export PATH` command is just shown as normal text right now on https://moz-conduit.readthedocs.io/en/latest/mozphab-linux.html .

To fix this, I'm cargo-culting this code-block annotation from elsewhere in this .rst file (and adding an initial "$" for consistency), and I'm hoping it works to fix the formatting of this code.  (I'm adding the annotation for the final code-block, too, even though it's already displayed correctly. I'm assuming it's still good to annotate it for consistency/robustness.)
  • Loading branch information
dholbert authored and globau committed Oct 9, 2019
1 parent 72abfe1 commit 4762ceb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion mozphab-linux.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,13 @@ Install MozPhab
for current session. Add it to your profile file (``~/.bashrc`` or equivalent)
to keep the ``$PATH`` changed ::

export PATH=~/.local/bin:$PATH
.. code-block:: bash
$ export PATH=~/.local/bin:$PATH
3. Ensure running ``arc`` and ``moz-phab`` both work::

.. code-block:: bash
$ moz-phab arc -h
$ moz-phab -h

0 comments on commit 4762ceb

Please sign in to comment.