-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yml
133 lines (125 loc) · 3.44 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
site_name: ODMD-SUBID-CPD
site_author: Marek Wadinger
site_url: https://marekwadinger.github.io/odmd-subid-cpd/
# Repository
repo_name: odmd-subid-cpd
repo_url: https://github.com/MarekWadinger/odmd-subid-cpd
edit_uri: ""
watch: [mkdocs.yml, README.md]
validation:
omitted_files: warn
absolute_links: warn
unrecognized_links: warn
nav:
- Home: index.md
- API Reference: reference/
# Styling
theme:
name: material
color_mode: auto
user_color_mode_toggle: false
palette:
- scheme: default
primary: custom
accent: custom
toggle:
icon: material/brightness-7
name: Switch to dark mode
- scheme: slate
primary: custom
accent: custom
toggle:
icon: material/brightness-4
name: Switch to light mode
font:
text: Titillium Web
code: Fira Code
features:
- content.code.copy # Copy code button
- content.code.annotate # Annotate code blocks
- navigation.tabs # Tabs navigation
- navigation.tabs.sticky
- navigation.instant
- navigation.indexes
- navigation.prune
- navigation.top
- navigation.footer
- navigation.sections
- toc.follow
extra_css:
- stylesheets/extra.css
# Configuration
plugins:
- search
- gen-files:
scripts:
- scripts/gen_ref_pages.py
- literate-nav:
nav_file: SUMMARY.md
- mkdocstrings:
handlers:
python:
import:
- https://docs.python.org/3/objects.inv
- https://mkdocstrings.github.io/objects.inv
- https://mkdocstrings.github.io/autorefs/objects.inv
- https://mkdocstrings.github.io/griffe/objects.inv
- https://python-markdown.github.io/objects.inv
options:
docstring_options:
ignore_init_summary: true
docstring_section_style: list
filters: ["!^_"]
heading_level: 1
inherited_members: true
merge_init_into_class: true
parameter_headings: true
preload_modules: [mkdocstrings]
relative_crossrefs: true
scoped_crossrefs: true
separate_signature: true
show_inheritance_diagram: true
show_root_heading: true
show_root_full_path: false
show_signature_annotations: true
show_source: false
show_symbol_type_heading: true
show_symbol_type_toc: true
signature_crossrefs: true
summary: true
unwrap_annotated: true
# Extensions
markdown_extensions:
- abbr
- attr_list
- admonition # convert block quotes to admonitions
- footnotes
- tables
- md_in_html
- pymdownx.details
- pymdownx.blocks.tab:
alternate_style: true
# slugify: !!python/object/apply:pymdownx.slugs.slugify
# kwds:
# case: lower
# - pymdownx.emoji:
# emoji_index: !!python/name:material.extensions.emoji.twemoji
# emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.highlight:
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.magiclink
- pymdownx.snippets:
check_paths: true
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.arithmatex:
generic: true
- toc:
permalink: true
toc_depth: "1-3"