Skip to content

Commit 2c6f20f

Browse files
author
Petr Klejch
committed
README.rst
1 parent 5e3898e commit 2c6f20f

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

README.rst

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ How to test
1010
-----------
1111
Run:
1212

13-
:: code
13+
.. code::
1414
1515
python setup.py test
1616
1717
or
1818

19-
:: code
19+
.. code::
2020
2121
pytest -v tests/test_app.py
2222
2323
If you have filled auth.conf with right values, you can use online testing. With real HTTP requests. Old cassettes will be rewrited. Eg:
2424

25-
:: code
25+
.. code::
2626
2727
AUTH_FILE=issuelabeler/auth.conf pytest -v tests/test_app.py
2828
@@ -34,31 +34,31 @@ How to build documentation
3434

3535
Create virtual enviroment with:
3636

37-
:: code
37+
.. code::
3838
3939
python3 -m venv env
4040
4141
Activate virtual enviroment:
4242

43-
:: code
43+
.. code::
4444
4545
. env/bin/activate
4646
4747
Change your working directory to docs:
4848

49-
:: code
49+
.. code::
5050
5151
cd docs/
5252
5353
Install dependencies:
5454

55-
:: code
55+
.. code::
5656
5757
python -m pip install -r requirements.txt
5858
5959
To build documentation in HTML format, run following command:
6060

61-
:: code
61+
.. code::
6262
6363
make html
6464
@@ -67,6 +67,6 @@ You can start reading documentation by opening _build/html/index.html in your br
6767

6868
To run doctests run command:
6969

70-
:: code
70+
.. code::
7171
7272
make doctest

0 commit comments

Comments
 (0)