Skip to content
This repository was archived by the owner on May 31, 2021. It is now read-only.

Commit 8feba26

Browse files
authored
Update getting_started.rst (#37)
- The `highlight` directive is only required when changing highlighting language. - Some directives showed up in html because of colon misplacement. - The conda command syntax needed update.
1 parent 64d249f commit 8feba26

File tree

1 file changed

+12
-18
lines changed

1 file changed

+12
-18
lines changed

getting_started.rst

+12-18
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ Python 3.5 (or higher) only
88
This documentation is written for Python 3.5 to avail of the new
99
``async`` and ``await`` keywords.
1010

11-
If you have Python 3.5 installed you only need to install ``aiohttp``::
11+
If you have Python 3.5 installed you only need to install ``aiohttp``
1212

13-
pip install -U aiohttp
13+
.. highlight:: shell
14+
15+
pip install -U aiohttp
1416

1517
If you don't have Python 3.5 installed yet, you have several options
1618
to install it.
@@ -22,28 +24,20 @@ All platforms with ``conda``
2224
`Miniconda <http://conda.pydata.org/miniconda.html>`_ for our platform.
2325
* Create a new Python 3.5 environment (named ``aio35``, use a different
2426
if you like)::
25-
26-
.. highlight:: bash
27-
27+
2828
conda create -n aio35 python=3.5
29+
.. note::
30+
``conda activate`` and ``conda deactivate`` only work on conda 4.6 and later versions.
31+
For conda versions prior to 4.6, run:
2932

30-
* Activate it.
31-
Linux and OS X::
32-
33-
.. highlight:: bash
34-
35-
$ source activate aio35
36-
37-
Windows::
38-
39-
.. highlight:: bash
33+
* Windows: ``activate`` or ``deactivate``
34+
* Linux and macOS: ``source activate`` or ``source deactivate``
4035

41-
$ source activate aio35
36+
* Activate it.
37+
$ conda activate aio35
4238

4339
* Install ``aiohttp``::
4440

45-
.. highlight:: bash
46-
4741
$(aio35) pip install aiohttp
4842

4943
Platform specific

0 commit comments

Comments
 (0)