-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmkdocs.yml
More file actions
186 lines (163 loc) · 4.73 KB
/
mkdocs.yml
File metadata and controls
186 lines (163 loc) · 4.73 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
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
# MkDocs Configuration for Python Libs
# Documentation: https://www.mkdocs.org/user-guide/configuration/
site_name: Python Libs
site_description: Shared Python libraries for ByronWilliamsCPA projects - JWT auth, GCS utilities, and more
site_author: Byron Williams
site_url: https://python-libs.readthedocs.io
repo_url: https://github.com/ByronWilliamsCPA/python-libs
repo_name: ByronWilliamsCPA/python_libs
edit_uri: edit/main/docs/
# Copyright
copyright: Copyright © 2025 Byron Williams
# Theme Configuration
theme:
name: material
custom_dir: overrides
language: en
# Color Palette
palette:
# Light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: indigo
accent: indigo
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: indigo
accent: indigo
toggle:
icon: material/brightness-4
name: Switch to light mode
# Features
features:
- navigation.instant # Instant loading
- navigation.tracking # Anchor tracking
- navigation.tabs # Top-level navigation tabs
- navigation.sections # Navigation sections
- navigation.expand # Expand sections by default
- navigation.indexes # Section index pages
- navigation.top # Back to top button
- search.suggest # Search suggestions
- search.highlight # Highlight search results
- content.code.copy # Copy code button
- content.code.annotate # Code annotations
# Fonts
font:
text: Roboto
code: Roboto Mono
# Icons
icon:
repo: fontawesome/brands/github
edit: material/pencil
view: material/eye
# Plugins
plugins:
- search:
separator: '[\s\-,:!=\[\]()"/]+|(?!\b)(?=[A-Z][a-z])|\.(?!\d)|&[lg]t;'
- autorefs # Automatic cross-references
- mkdocstrings:
handlers:
python:
paths: [src]
options:
docstring_style: google
docstring_options:
ignore_init_summary: true
merge_init_into_class: true
show_if_no_docstring: false
show_source: false
show_root_heading: true
show_root_toc_entry: true
show_symbol_type_heading: true
show_symbol_type_toc: true
members_order: alphabetical
group_by_category: true
show_category_heading: true
filters:
- "!^_" # Hide private members
extensions:
- griffe_pydantic # Render Pydantic constraints
- section-index # Section index pages
- git-revision-date-localized:
enable_creation_date: true
fallback_to_build_date: true
type: date
- gen-files:
scripts:
- tools/gen_tools_catalog.py
# Markdown Extensions
markdown_extensions:
# Python Markdown
- abbr
- admonition
- attr_list
- def_list
- footnotes
- md_in_html
- tables
- toc:
permalink: true
toc_depth: 3
# Python Markdown Extensions
- pymdownx.arithmatex:
generic: true
- pymdownx.betterem:
smart_enable: all
- pymdownx.caret
- pymdownx.details
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed:
alternate_style: true
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
# Extra Configuration
extra:
org_name: "Byron Williams"
social:
- icon: fontawesome/brands/github
link: https://github.com/ByronWilliamsCPA
analytics:
provider: google
property: !ENV GOOGLE_ANALYTICS_KEY
# Navigation
nav:
- Home: index.md
- User Guide:
- Overview: guides/overview.md
- Configuration: guides/configuration.md
- Usage: guides/usage.md
- API Reference:
- Overview: api-reference.md
- Development:
- Architecture: development/architecture.md
- Testing: development/testing.md
- Code Quality: development/code-quality.md
- Contributing: development/contributing.md
- Project:
- Roadmap: project/roadmap.md
- Changelog: project/changelog.md
- License: project/license.md
# Validation
# strict mode disabled to allow links to repo root files
# These files are valid but outside docs/ directory
strict: false