-
-
Notifications
You must be signed in to change notification settings - Fork 49
/
mkdocs.yml
271 lines (258 loc) · 6.97 KB
/
mkdocs.yml
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
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
# yaml-language-server: $schema=https://squidfunk.github.io/mkdocs-material/schema.json
# Project information
site_name: Authx
site_description: Ready to use and customizable Authentications and Oauth2 management for FastAPI
site_url: https://authx.yezz.me/
site_author: [email protected] (Yasser Tahiri)
copyright: "Copyright (c) 2021 to present Yezz LLC. and individual contributors."
# Repository
repo_name: yezz123/authx
repo_url: https://github.com/yezz123/authx
edit_uri: blob/main/docs/
# Custom folder structure
docs_dir: "docs/"
use_directory_urls: true
# Extra configuration
extra:
generator: true
analytics:
provider: google
property: G-7RF17YL4KP
social:
- icon: fontawesome/brands/github-alt
link: https://github.com/yezz123/authx
name: "Follow me on Github"
- icon: fontawesome/brands/x-twitter
link: https://x.com/THyasser1
name: "Follow me on X(Formerly Twitter)"
- icon: "fontawesome/solid/hand-holding-dollar"
link: https://github.com/sponsors/yezz123
name: "Sponsor me on Github"
- icon: "fontawesome/solid/rss"
link: /feed_rss_updated.xml
name: "RSS Feed"
# Markdown extensions configuration
markdown_extensions:
- attr_list
- md_in_html
- abbr
- admonition
- pymdownx.details
- def_list
- meta
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- markdown.extensions.tables:
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.tabbed:
alternate_style: true
slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.inlinehilite
- pymdownx.snippets:
base_path:
- "."
check_paths: true
- pymdownx.superfences
- toc:
permalink: "#"
slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
# Plugins configuration
plugins:
- git-committers:
enabled: true
repository: yezz123/authx
branch: main
docs_path: docs/
cache_dir: .cache/plugin/git-committers
- git-revision-date-localized:
enabled: true
enable_creation_date: true
fallback_to_build_date: true
locale: en
- minify:
minify_html: true
htmlmin_opts:
remove_comments: true
- search: null
- social:
cards_layout_options:
background_color: "#009485"
- mkdocstrings:
handlers:
python:
options:
extensions:
- griffe_typingdoc
show_root_heading: true
show_if_no_docstring: true
preload_modules:
- httpx
- starlette
- fastapi
- pydantic_settings
inherited_members: true
members_order: source
separate_signature: true
unwrap_annotated: true
filters:
- '!^_'
heading_level: 3
merge_init_into_class: true
docstring_section_style: spacy
signature_crossrefs: true
allow_inspection: true
show_symbol_type_heading: true
show_symbol_type_toc: true
- privacy:
enabled: true
- rss:
abstract_chars_count: 160
abstract_delimiter: <!-- more -->
date_from_meta:
as_creation: "date"
datetime_format: "%Y-%m-%d %H:%M"
default_timezone: "Europe/Paris"
default_time: "22:00"
enabled: true
image: https://upload.wikimedia.org/wikipedia/commons/thumb/4/43/Feed-icon.svg/128px-Feed-icon.svg.png
json_feed_enabled: true
match_path: ".*"
pretty_print: true
rss_feed_enabled: true
url_parameters:
utm_source: "documentation"
utm_medium: "RSS"
utm_campaign: "feed-syndication"
use_git: true
use_material_social_cards: true
- termynal:
prompt_literal_start:
- "$"
- ">"
# Theme configuration
theme:
name: 'material'
palette:
- scheme: default
primary: teal
accent: amber
toggle:
icon: material/lightbulb
name: Switch to dark mode
- scheme: slate
primary: teal
accent: amber
toggle:
icon: material/lightbulb-outline
name: Switch to light mode
logo: img/logo.png
favicon: img/icon.ico
features:
- navigation.indexes
- navigation.path
- content.code.annotate
- content.code.select
- content.action.edit
- content.action.view
- content.code.copy
- content.tabs.link
- content.tooltips
- navigation.footer
- navigation.tabs
- navigation.tabs.sticky
- navigation.top
- navigation.tracking
- search.highlight
- search.share
- search.suggest
- toc.follow
- toc.integrate
icon:
repo: fontawesome/brands/github
language: en
# Navigation configuration
nav:
- Authx: index.md
- Get Started:
- Installation: get-started/installation.md
- Basic Usage: get-started/basic-usage.md
- Payload Data: get-started/payload.md
- JWT Locations: get-started/location.md
- Refreshing Tokens: get-started/refresh.md
- Freshness Tokens: get-started/token.md
- Callbacks:
- User Serialization: callbacks/user.md
- Token Serialization: callbacks/token.md
- Dependencies:
- Dependencies: dependencies/dependencies.md
- Dependency Injection: dependencies/injection.md
- Dependency Aliases: dependencies/aliases.md
- Dependency Bundle: dependencies/bundle.md
- Extra Features:
- Oauth2 Features: extra/OAuth2.md
- Metrics Features: extra/Metrics.md
- Cache Features: extra/Cache.md
- Profiler Middleware: extra/profiler.md
- Sessions Middleware: extra/Sessions.md
- Reference - API:
- api/reference.md
- api/main.md
- api/config.md
- api/request.md
- api/token.md
- api/dependencies.md
- api/exceptions.md
- Internal:
- api/internal/callback.md
- api/internal/errors.md
- api/internal/memory.md
- api/internal/signature.md
- Extra:
- api/extra/session.md
- api/extra/profiler.md
- api/extra/oauth2.md
- api/extra/metrics.md
- api/extra/cache.md
- Development:
- Contributing: development/contributing.md
- FAQ:
- Frequently Asked Questions: faq/faq.md
- Help & Support: faq/help.md
- Code of Conduct: faq/code_of_conduct.md
- License: faq/license.md
- Release Notes: release.md
# Search configuration
validation:
links:
absolute_links: warn
not_found: warn
unrecognized_links: warn
nav:
absolute_links: warn
not_found: warn
omitted_files: warn
# Search configuration
watch:
- README.md
# Extra CSS and JavaScript
extra_css:
- css/termynal.css
- css/custom.css
extra_javascript:
- js/termynal.js
- js/custom.js