Skip to content

Commit 05948ec

Browse files
tomschrscls19fr
authored andcommitted
Doc: Correct missing parts in installation section (#199)
* Add missing install command for FreeBSD * Introduce a "Pip" and "Linux Distributions" subsection * Change header level of every distribution (to make it appear under the "Linux Distributions" subsection) * Move note into "Linux Distributions" subsection
1 parent 91cbce9 commit 05948ec

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

docs/install.rst

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Installing semver
22
=================
33

4+
5+
Pip
6+
---
7+
48
For Python 2:
59

610
.. code-block:: bash
@@ -13,6 +17,8 @@ For Python 3:
1317
1418
pip3 install semver
1519
20+
Linux Distributions
21+
-------------------
1622

1723
.. note::
1824

@@ -26,7 +32,7 @@ For Python 3:
2632

2733

2834
Arch Linux
29-
----------
35+
^^^^^^^^^^
3036

3137
1. Enable the community repositories first:
3238

@@ -41,7 +47,7 @@ Arch Linux
4147

4248

4349
Debian
44-
------
50+
^^^^^^
4551

4652
1. Update the package index::
4753

@@ -53,21 +59,22 @@ Debian
5359

5460

5561
Fedora
56-
------
62+
^^^^^^
5763

5864
.. code-block:: bash
5965
6066
$ dnf install python3-semver
6167
6268
6369
FreeBSD
64-
-------
70+
^^^^^^^
6571

6672
.. code-block:: bash
6773
74+
$ pkg install py36-semver
6875
6976
openSUSE
70-
--------
77+
^^^^^^^^
7178

7279
1. Enable the the ``devel:languages:python`` repository on the Open Build Service (replace ``<VERSION>`` with the preferred openSUSE release)::
7380

@@ -79,7 +86,7 @@ openSUSE
7986

8087

8188
Ubuntu
82-
------
89+
^^^^^^
8390

8491
1. Update the package index::
8592

0 commit comments

Comments
 (0)