-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yml
136 lines (126 loc) · 2.9 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
docs_dir: docs
site_name: snakeframe
site_author: oasci
# Github
repo_name: snakeframe/oasci
repo_url: https://gitlab.com/oasci/software/snakeframe
# https://squidfunk.github.io/mkdocs-material/
theme:
name: material
custom_dir: docs/.overrides
language: en
palette:
# Palette toggle for light mode
- scheme: default
toggle:
icon: material/lightbulb-outline
name: Switch to dark mode
# Palette toggle for dark mode
- scheme: dark
toggle:
icon: material/lightbulb
name: Switch to light mode
font:
text: Roboto
code: Roboto Mono
icon:
repo: fontawesome/brands/gitlab
annotation: material/star-four-points-circle
features:
- content.code.annotate
- content.code.copy
- content.code.select
- navigation.instant
- navigation.instant.prefetch
- navigation.instant.progress
- navigation.tabs
- navigation.tabs.sticky
- navigation.tracking
- navigation.top
- navigation.indexes
- navigation.path
- navigation.prune
- toc.follow
- search.suggest
validation:
omitted_files: warn
absolute_links: warn
unrecognized_links: warn
# Options need to be indented twice for some reason?
plugins:
- search
- autorefs
- material-plausible
- table-reader
- gen-files:
scripts:
- docs/gen_ref_pages.py
- mkdocstrings:
enabled: !ENV [ENABLE_MKDOCSTRINGS, true]
default_handler: python
handlers:
python:
paths: ["snakeframe"]
import:
- https://docs.python.org/3/objects.inv
options:
show_source: true
annotations_path: brief
docstring_style: google
- awesome-pages:
collapse_single_pages: true
strict: false
order: asc
sort_type: natural
order_by: title
- glightbox:
zoomable: true
draggable: false
height: 80vh
width: auto
- macros
extra:
generator: false
analytics:
provider: plausible
domain: snakeframe
extra_css:
- css/base.css
- css/colors.css
- css/mkdocstrings.css
extra_javascript:
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
markdown_extensions:
- abbr
- toc:
permalink: true
- admonition
- attr_list
- def_list
- footnotes
- md_in_html
- tables
- pymdownx.arithmatex:
generic: true
- pymdownx.betterem
- pymdownx.caret
- pymdownx.details
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.snippets
- 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