-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathzensical.toml
More file actions
135 lines (124 loc) · 4.07 KB
/
Copy pathzensical.toml
File metadata and controls
135 lines (124 loc) · 4.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
# Documentation site, built with Zensical and hosted on Read the Docs.
#
# uv sync --group docs
# uv run zensical serve # live preview on http://localhost:8000
# uv run zensical build --strict # what CI and Read the Docs run
[project]
site_name = "FastAPI-CacheX"
site_description = "HTTP caching, application caching and session management for FastAPI."
# Zensical cannot read READTHEDOCS_CANONICAL_URL, so the canonical URL is fixed
# to the default version Read the Docs serves.
site_url = "https://fastapi-cachex.readthedocs.io/en/latest/"
repo_url = "https://github.com/allen0099/FastAPI-CacheX"
repo_name = "allen0099/FastAPI-CacheX"
edit_uri = "edit/master/docs/"
docs_dir = "docs"
site_dir = "site"
nav = [
{ "Home" = "index.md" },
{ "Guides" = [
{ "HTTP caching" = "HTTP_CACHING.md" },
{ "Cache flow" = "CACHE_FLOW.md" },
{ "Application cache" = "APP_CACHE.md" },
{ "Backends" = "BACKENDS.md" },
{ "Session management" = "SESSION.md" },
{ "JWT claims" = "JWT_CLAIMS.md" },
{ "State management" = "STATE.md" },
{ "Distributed lock" = "LOCK.md" },
] },
{ "API reference" = [
{ "HTTP caching" = "api/http-caching.md" },
{ "Backends" = "api/backends.md" },
{ "CacheManager" = "api/cache-manager.md" },
{ "CacheLock" = "api/lock.md" },
{ "Session" = "api/session.md" },
{ "State" = "api/state.md" },
{ "Types and exceptions" = "api/types.md" },
] },
{ "Development" = [
{ "Development guide" = "DEVELOPMENT.md" },
{ "Contributing" = "CONTRIBUTING.md" },
] },
{ "Changelog" = "changelog.md" },
]
# Language switcher. The Traditional Chinese site is a Read the Docs
# translation project built from zensical.zh-TW.toml.
[[project.extra.alternate]]
name = "English"
link = "https://fastapi-cachex.readthedocs.io/en/latest/"
lang = "en"
[[project.extra.alternate]]
name = "繁體中文"
link = "https://fastapi-cachex.readthedocs.io/zh-tw/latest/"
lang = "zh-Hant"
[project.theme]
language = "en"
features = [
"content.action.edit",
"content.code.annotate",
"content.code.copy",
"content.tabs.link",
"navigation.footer",
"navigation.indexes",
"navigation.instant",
"navigation.path",
"navigation.sections",
"navigation.top",
"navigation.tracking",
"search.highlight",
]
[[project.theme.palette]]
media = "(prefers-color-scheme)"
toggle.icon = "lucide/sun-moon"
toggle.name = "Switch to light mode"
[[project.theme.palette]]
media = "(prefers-color-scheme: light)"
scheme = "default"
toggle.icon = "lucide/sun"
toggle.name = "Switch to dark mode"
[[project.theme.palette]]
media = "(prefers-color-scheme: dark)"
scheme = "slate"
toggle.icon = "lucide/moon"
toggle.name = "Switch to system preference"
[project.markdown_extensions]
admonition = {}
# GitHub-style `> [!NOTE]` callouts, so one syntax renders on GitHub and here.
github-callouts = {}
attr_list = {}
def_list = {}
footnotes = {}
md_in_html = {}
tables = {}
toc.permalink = true
pymdownx.details = {}
# Turn `:white_check_mark:`-style shortcodes (rendered natively on GitHub)
# into the Unicode characters on the site as well, without loading images
# from a CDN.
pymdownx.emoji.emoji_index = "zensical.extensions.emoji.twemoji"
pymdownx.emoji.emoji_generator = "pymdownx.emoji.to_alt"
pymdownx.highlight.anchor_linenums = true
pymdownx.highlight.line_spans = "__span"
pymdownx.highlight.pygments_lang_class = true
pymdownx.inlinehilite = {}
pymdownx.superfences = {}
pymdownx.tabbed.alternate_style = true
pymdownx.tasklist.custom_checkbox = true
# `--8<--` includes files from outside docs/ (README.md, CHANGELOG.md), so
# they are written once and appear both on GitHub/PyPI and on the site.
pymdownx.snippets.base_path = ["."]
pymdownx.snippets.check_paths = true
[project.plugins.mkdocstrings.handlers.python]
paths = ["."]
[project.plugins.mkdocstrings.handlers.python.options]
docstring_style = "google"
show_source = false
show_root_heading = true
show_root_full_path = false
show_symbol_type_heading = true
show_symbol_type_toc = true
members_order = "source"
separate_signature = true
show_signature_annotations = true
signature_crossrefs = true
filters = ["!^_"]