Skip to content

Commit

Permalink
@minor adding install docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
toumorokoshi committed Dec 29, 2016
1 parent 66eaded commit ba4f4b1
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ Contents:
.. toctree::
:maxdepth: 2

install
routes
serialization
documentation
16 changes: 16 additions & 0 deletions docs/install.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
==========
Installing
==========

aiohttp-transmute can be installed via `Pip <https://pip.pypa.io/en/stable/>`_, from `PyPI <https://pypi.python.org/>`_:

.. code-block:: bash
$ pip install aiohttp-transmute
Pip allows installation from source as well:

.. code-block:: bash
$ pip install git+https://github.com/toumorokoshi/aiohttp-transmute.git#egg=aiohttp-transmute
3 changes: 3 additions & 0 deletions docs/routes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ a decorator converting a function to an aiohttp route:
# append to your route later
aiohttp_transmute.route(app, multiply)
the aiohttp request argument is supported: it will be passed into
any function that has 'request' in it's function signature.

see `transmute-core:function <http://transmute-core.readthedocs.io/en/latest/function.html#functions>`_ for more information on customizing
transmute routes.

Expand Down

0 comments on commit ba4f4b1

Please sign in to comment.