File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 17
17
import os
18
18
import codecs
19
19
import re
20
- import alabaster
21
20
22
21
_docs_path = os .path .dirname (__file__ )
23
22
_version_path = os .path .abspath (os .path .join (_docs_path ,
156
155
}
157
156
158
157
# Add any paths that contain custom themes here, relative to this directory.
159
- html_theme_path = [alabaster . get_path () ]
158
+ html_theme_path = []
160
159
161
160
# The name for this set of Sphinx documents. If None, it defaults to
162
161
# "<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
23
23
Before processing session in web-handler you have to register *session
24
24
middleware * in :class: `aiohttp.web.Application `.
25
25
26
- A trivial usage example::
26
+ A trivial usage example:
27
+
28
+ .. code-block :: python
27
29
28
30
import time
29
31
from aiohttp import web
@@ -59,11 +61,11 @@ Available session storages are:
59
61
60
62
For key generation use :meth: `cryptography.fernet.Fernet.generate_key ` method.
61
63
62
- Requires :term: `cryptography ` library::
64
+ Requires :term: `cryptography ` library:
63
65
64
- .. code ::
66
+ .. code-block :: bash
65
67
66
- $ pip3 install aiohttp_session[secure]
68
+ $ pip3 install aiohttp_session[secure]
67
69
68
70
* :class: `~aiohttp_session.redis_storage.RedisStorage ` -- stores
69
71
JSON-ed data into *redis *, keeping into cookie only redis key
You can’t perform that action at this time.
0 commit comments