Skip to content

Commit bb51a6f

Browse files
authored
Format installation commands as code blocks
Updated installation instructions to use code blocks for commands.
1 parent 2710844 commit bb51a6f

File tree

1 file changed

+28
-24
lines changed

1 file changed

+28
-24
lines changed

docs/installation.rst

Lines changed: 28 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -5,47 +5,51 @@ Installation using conda (recommended)
55

66
Installing `esmbenchmarkviz` from the `conda-forge` channel can be achieved by adding `conda-forge` to your channels with:
77

8-
```
9-
conda config --add channels conda-forge
10-
conda config --set channel_priority strict
11-
```
8+
.. code-block:: bash
9+
10+
conda config --add channels conda-forge
11+
conda config --set channel_priority strict
1212
1313
Once the `conda-forge` channel has been enabled, `esmbenchmarkviz` can be installed with `conda`:
1414

15-
```
16-
conda install esmbenchmarkviz
17-
```
15+
.. code-block:: bash
16+
17+
conda install esmbenchmarkviz
1818
1919
or with `mamba`:
2020

21-
```
22-
mamba install esmbenchmarkviz
23-
```
21+
.. code-block:: bash
22+
23+
mamba install esmbenchmarkviz
24+
2425
2526
It is possible to list all of the versions of `esmbenchmarkviz` available on your platform with `conda`:
2627

27-
```
28-
conda search esmbenchmarkviz --channel conda-forge
29-
```
28+
.. code-block:: bash
29+
30+
conda search esmbenchmarkviz --channel conda-forge
31+
3032
3133
or with `mamba`:
3234

33-
```
34-
mamba search esmbenchmarkviz --channel conda-forge
35-
```
35+
.. code-block:: bash
36+
37+
mamba search esmbenchmarkviz --channel conda-forge
38+
3639
3740
Alternatively, `mamba repoquery` may provide more information:
3841

39-
```
40-
# Search all versions available on your platform:
41-
mamba repoquery search esmbenchmarkviz --channel conda-forge
42+
.. code-block:: bash
4243
43-
# List packages depending on `esmbenchmarkviz`:
44-
mamba repoquery whoneeds esmbenchmarkviz --channel conda-forge
44+
# Search all versions available on your platform:
45+
mamba repoquery search esmbenchmarkviz --channel conda-forge
46+
47+
# List packages depending on `esmbenchmarkviz`:
48+
mamba repoquery whoneeds esmbenchmarkviz --channel conda-forge
49+
50+
# List dependencies of `esmbenchmarkviz`:
51+
mamba repoquery depends esmbenchmarkviz --channel conda-forge
4552
46-
# List dependencies of `esmbenchmarkviz`:
47-
mamba repoquery depends esmbenchmarkviz --channel conda-forge
48-
```
4953
5054
Installation from the source code
5155
=================================

0 commit comments

Comments
 (0)