Debian Codegraph @

docs/conf.py

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 import importlib.metadata
2
3 project = "Flask-Session"
4 author = "Pallets Community Ecosystem"
5 copyright = f"2014, {author}"
6 version = release = importlib.metadata.version("Flask-Session")
7
8 # General --------------------------------------------------------------
9
10 extensions = ["sphinx.ext.autodoc", "sphinx.ext.intersphinx", "sphinx_favicon"]
11
12 intersphinx_mapping = {
13 "python": ("https://docs.python.org/", None),
14 "flask": ("https://flask.palletsprojects.com/", None),
15 "werkzeug": ("https://werkzeug.palletsprojects.com/", None),
16 "flask-sqlalchemy": ("https://flask-sqlalchemy.palletsprojects.com/", None),
17 "redis": ("https://redis-py.readthedocs.io/en/stable/", None),
18 }
19
20
21 # HTML -----------------------------------------------------------------
22
23 favicons = [
24 {
25 "rel": "icon",
26 "sizes": "16x16",
27 "href": "icon/favicon-16x16.png",
28 "type": "image/png",
29 },
30 {
31 "rel": "icon",
32 "sizes": "32x32",
33 "href": "icon/favicon-32x32.png",
34 "type": "image/png",
35 },
36 {
37 "rel": "icon",
38 "sizes": "48x48",
39 "href": "icon/favicon-48x48.png",
40 "type": "image/png",
41 },
42 {
43 "rel": "icon",
44 "sizes": "192x192",
45 "href": "icon/favicon-192x192.png",
46 "type": "image/png",
47 },
48 {
49 "rel": "icon",
50 "sizes": "512x512",
51 "href": "icon/favicon-512x512.png",
52 "type": "image/png",
53 },
54 {
55 "rel": "apple-touch-icon",
56 "sizes": "180x180",
57 "href": "icon/apple-touch-icon-180x180.png",
58 "type": "image/png",
59 },
60 {
61 "rel": "mask-icon",
62 "href": "icon/safari-pinned-tab.svg",
63 },
64 ]
65 html_copy_source = False
66 html_css_files = [
67 "styles.css",
68 "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/fontawesome.min.css",
69 "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/solid.min.css",
70 "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/brands.min.css",
71 ]
72 html_domain_indices = False
73 html_static_path = ["_static"]
74 html_theme = "furo"
75 html_theme_options = {
76 "announcement": "Flask-Session is switching serializer to msgspec in 1.0.0. Version 0.7.0 will migrate existing sessions upon read or write.",
77 "source_repository": "https://github.com/pallets-eco/flask-session/",
78 "source_branch": "main",
79 "source_directory": "docs/",
80 "light_logo": "logo/logo-light.png",
81 "dark_logo": "logo/logo-dark.png",
82 "light_css_variables": {
83 "font-stack": "'Atkinson Hyperlegible', sans-serif",
84 "font-stack--monospace": "'Source Code Pro', monospace",
85 "color-brand-primary": "#39A9BE",
86 "color-brand-content": "#39A9BE",
87 },
88 "dark_css_variables": {
89 "font-stack": "'Atkinson Hyperlegible', sans-serif",
90 "font-stack--monospace": "'Source Code Pro', monospace",
91 "color-brand-primary": "#39A9BE",
92 "color-brand-content": "#39A9BE",
93 },
94 "sidebar_hide_name": True,
95 "navigation_with_keys": True,
96 "footer_icons": [
97 {
98 "name": "GitHub",
99 "url": "https://github.com/pallets-eco/flask-session",
100 "html": "",
101 "class": "fa-brands fa-solid fa-github fa-lg",
102 },
103 {
104 "name": "Discord",
105 "url": "https://discord.gg/pallets",
106 "html": "",
107 "class": "fa-brands fa-solid fa-discord fa-lg",
108 },
109 {
110 "name": "PyPI",
111 "url": "https://pypi.org/project/Flask-Session/",
112 "html": "",
113 "class": "fa-brands fa-solid fa-python fa-lg",
114 },
115 ],
116 }
117 html_use_index = False