Skip to content

Commit

Permalink
Remove redundant import from sphinx conf (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
gyermolenko authored and asvetlov committed May 18, 2018
1 parent d04a506 commit 0a631fa
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
3 changes: 1 addition & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import os
import codecs
import re
import alabaster

_docs_path = os.path.dirname(__file__)
_version_path = os.path.abspath(os.path.join(_docs_path,
Expand Down Expand Up @@ -156,7 +155,7 @@
}

# Add any paths that contain custom themes here, relative to this directory.
html_theme_path = [alabaster.get_path()]
html_theme_path = []

# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
Expand Down
10 changes: 6 additions & 4 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ The session object has dict-like interface (operations like
Before processing session in web-handler you have to register *session
middleware* in :class:`aiohttp.web.Application`.

A trivial usage example::
A trivial usage example:

.. code-block:: python
import time
from aiohttp import web
Expand Down Expand Up @@ -59,11 +61,11 @@ Available session storages are:

For key generation use :meth:`cryptography.fernet.Fernet.generate_key` method.

Requires :term:`cryptography` library::
Requires :term:`cryptography` library:

.. code::
.. code-block:: bash
$ pip3 install aiohttp_session[secure]
$ pip3 install aiohttp_session[secure]
* :class:`~aiohttp_session.redis_storage.RedisStorage` -- stores
JSON-ed data into *redis*, keeping into cookie only redis key
Expand Down

0 comments on commit 0a631fa

Please sign in to comment.