Skip to content

Commit 9d3ebf2

Browse files
committed
🚜 refactor readme file
1 parent 7e4dfe8 commit 9d3ebf2

File tree

2 files changed

+18
-17
lines changed

2 files changed

+18
-17
lines changed

templates/README.rst.jj2

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -20,23 +20,7 @@
2020
Installation
2121
================================================================================
2222

23-
{% if release != '0.0.0' %}
24-
25-
You can install it via pip:
26-
27-
.. code-block:: bash
28-
29-
$ pip install {{name}}
30-
31-
32-
or clone it and install it:
33-
{% endif %}
34-
35-
.. code-block:: bash
36-
37-
$ git clone http://github.com/{{organisation}}/{{name}}.git
38-
$ cd {{name}}
39-
$ python setup.py install
23+
{% include "installation.rst.jj2" %}
4024

4125
{%block bottom_block%}
4226
{%endblock%}

templates/installation.rst.jj2

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{% if release != '0.0.0' %}
2+
3+
You can install it via pip:
4+
5+
.. code-block:: bash
6+
7+
$ pip install {{name}}
8+
9+
10+
or clone it and install it:
11+
{% endif %}
12+
13+
.. code-block:: bash
14+
15+
$ git clone http://github.com/{{organisation}}/{{name}}.git
16+
$ cd {{name}}
17+
$ python setup.py install

0 commit comments

Comments
 (0)