-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmkdocs.yml
117 lines (110 loc) · 2.86 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
site_name: whl2conda
repo_url: https://github.com/analog-cbarber/whl2conda
site_url: https://zuzukin.github.io/whl2conda
docs_dir: doc
site_dir: site
site_author: Christopher Barber
repo_name: GitHub
copyright: Copyright © 2023 Christopher Barber
exclude_docs: |
/internal/
# https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/
#extra_css:
# - style.css
theme:
name: material
language: en
# custom_dir: docs/overrides
font:
text: Roboto
code: Roboto Mono
features:
- navigation.tabs
# - navigation.sections
# - navigation.instant # browser back doesn't work well with this option
- navigation.expand
- navigation.top
- search.suggest
- search.highlight
highlight_js: true
hljs_languages:
python
json
logo: whl2conda.jpg
favicon: whl2conda.jpg
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
toggle:
icon: material/weather-sunny
name: Switch to dark mode
primary: white
accent: orange
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/weather-night
name: Switch to light mode
primary: white
accent: orange
extra:
generator: false
version:
provider: mike
default: stable
watch:
# path is relative to this file
- src/whl2conda
plugins:
- search
- autorefs
- offline
- awesome-pages:
filename: nav.yml
- mike:
# These fields are all optional; the defaults are as below...
canonical_version: stable
version_selector: true
css_dir: css
javascript_dir: js
# See https://mkdocstrings.github.io/
- mkdocstrings:
default_handler: python_xref
# generate objects.inv sphinx inventory file in site/ dir to support external cross references
enable_inventory: true
handlers:
python_xref:
import:
- https://docs.python.org/3/objects.inv
options:
docstring_style: google
docstring_options:
replace_admonitions: true
filters:
- "!^_"
- "^__.*__$"
- "!(has_empty_body)"
heading_level: 2
show_source: true
show_submodules: false
show_if_no_docstring: false
show_category_heading: true
show_signature_annotations: true
separate_signature: true
docstring_section_style: spacy
relative_crossrefs: true
markdown_extensions:
- admonition
- pymdownx.highlight
- pymdownx.inlinehilite
- pymdownx.superfences
- pymdownx.snippets:
check_paths: true
- pymdownx.tabbed:
alternate_style: true
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
# format: !!python/name:pymdownx.superfences.fence_code_format
- attr_list