File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717import os
1818import codecs
1919import re
20- import alabaster
2120
2221_docs_path = os .path .dirname (__file__ )
2322_version_path = os .path .abspath (os .path .join (_docs_path ,
156155}
157156
158157# Add any paths that contain custom themes here, relative to this directory.
159- html_theme_path = [alabaster . get_path () ]
158+ html_theme_path = []
160159
161160# The name for this set of Sphinx documents. If None, it defaults to
162161# "<project> v<release> documentation".
Original file line number Diff line number Diff line change @@ -23,7 +23,9 @@ The session object has dict-like interface (operations like
2323Before processing session in web-handler you have to register *session
2424middleware * in :class: `aiohttp.web.Application `.
2525
26- A trivial usage example::
26+ A trivial usage example:
27+
28+ .. code-block :: python
2729
2830 import time
2931 from aiohttp import web
@@ -59,11 +61,11 @@ Available session storages are:
5961
6062 For key generation use :meth: `cryptography.fernet.Fernet.generate_key ` method.
6163
62- Requires :term: `cryptography ` library::
64+ Requires :term: `cryptography ` library:
6365
64- .. code ::
66+ .. code-block :: bash
6567
66- $ pip3 install aiohttp_session[secure]
68+ $ pip3 install aiohttp_session[secure]
6769
6870 * :class: `~aiohttp_session.redis_storage.RedisStorage ` -- stores
6971 JSON-ed data into *redis *, keeping into cookie only redis key
You can’t perform that action at this time.
0 commit comments