Skip to content

Commit 6e03f0a

Browse files
authored
Fix code formatting in contributing guide
1 parent 995bcb6 commit 6e03f0a

1 file changed

Lines changed: 21 additions & 17 deletions

File tree

CONTRIBUTING.rst

Lines changed: 21 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -70,34 +70,38 @@ sudo make install
7070

7171
To update the module, use the following commands:
7272

73-
```shell
74-
cd ev3dev-lang-python
75-
git pull
76-
sudo make install
77-
```
73+
.. code-block:: bash
74+
75+
cd ev3dev-lang-python
76+
git pull
77+
sudo make install
78+
7879
7980
If you are developing micropython support, you can take a shortcut
8081
and use the following command to build and deploy the micropython
8182
files only:
8283

83-
```shell
84-
cd ev3dev-lang-python
85-
sudo make micropython-install
86-
```
84+
85+
.. code-block:: bash
86+
87+
cd ev3dev-lang-python
88+
sudo make micropython-install
8789
8890
To re-install the latest release, use the following command:
8991

90-
```shell
91-
sudo apt-get --reinstall install python3-ev3dev2
92-
```
92+
93+
.. code-block:: bash
94+
95+
sudo apt-get --reinstall install python3-ev3dev2
9396
9497
Or, to update your current ev3dev2 to the latest release, use the
9598
following commands:
9699

97-
```shell
98-
sudo apt update
99-
sudo apt install --only-upgrade micropython-ev3dev2
100-
```
100+
101+
.. code-block:: bash
102+
103+
sudo apt update
104+
sudo apt install --only-upgrade micropython-ev3dev2
101105
102106
.. _ev3dev: http://ev3dev.org
103-
.. _FAQ: https://python-ev3dev.readthedocs.io/en/ev3dev-stretch/faq.html
107+
.. _FAQ: https://python-ev3dev.readthedocs.io/en/ev3dev-stretch/faq.html

0 commit comments

Comments
 (0)