fix minor type and pip install instruction mismatch

This commit is contained in:
Harsha Narayana 2018-12-28 11:30:17 +05:30
parent 13804dc380
commit 15b1c875f5
No known key found for this signature in database
GPG Key ID: 8AF211CB60D4B28C
2 changed files with 3 additions and 3 deletions

View File

@ -57,7 +57,7 @@ To install sanic without uvloop or ujson using bash, you can provide either or b
using any truthy string like `'y', 'yes', 't', 'true', 'on', '1'` and setting the ``SANIC_NO_X`` (``X`` = ``UVLOOP``/``UJSON``) using any truthy string like `'y', 'yes', 't', 'true', 'on', '1'` and setting the ``SANIC_NO_X`` (``X`` = ``UVLOOP``/``UJSON``)
to true will stop that features installation. to true will stop that features installation.
- ``SANIC_NO_UVLOOP=true SANIC_NO_UJSON=true pip install sanic`` - ``SANIC_NO_UVLOOP=true SANIC_NO_UJSON=true pip3 install sanic``
Hello World Example Hello World Example

View File

@ -16,7 +16,7 @@ directory with a virtual environment already set up, then run:
.. code:: bash .. code:: bash
pip3 install -e . '[.dev]' pip3 install -e '.[dev]'
Dependency Changes Dependency Changes
------------------ ------------------
@ -35,7 +35,7 @@ the document that explains the way ``sanic`` manages dependencies inside the ``s
| extras_require['test'] | for ``sanic`` | | | extras_require['test'] | for ``sanic`` | |
+------------------------+-----------------------------------------------+--------------------------------+ +------------------------+-----------------------------------------------+--------------------------------+
| extras_require['dev'] | Additional Development requirements to add | ``pip3 install -e '.[dev]'`` | | extras_require['dev'] | Additional Development requirements to add | ``pip3 install -e '.[dev]'`` |
| | contributing | | | | for contributing | |
+------------------------+-----------------------------------------------+--------------------------------+ +------------------------+-----------------------------------------------+--------------------------------+
| extras_require['docs'] | Dependencies required to enable building and | ``pip3 install -e '.[docs]'`` | | extras_require['docs'] | Dependencies required to enable building and | ``pip3 install -e '.[docs]'`` |
| | enhancing sanic documentation | | | | enhancing sanic documentation | |