generated from automl/automl_template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yaml
198 lines (187 loc) · 5.72 KB
/
mkdocs.yaml
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
# This project uses mkdocs to generate the documentation.
# Specifically it uses the mkdocs-material theme, which provides a whole
# host of nice features and customization
#
# mkdocs: https://www.mkdocs.org/getting-started/#getting-started-with-mkdocs
# mkdocs-material: https://squidfunk.github.io/mkdocs-material/
#
# Please refer to these links for more information on how to use mkdocs
#
# For serving the docs locally, you can take a look at the `justfile` at
# the root of this repository, it contains a few commands for generating the docs
# with different levels of execution.
#
# Please refer to individual sections for any additional notes
site_name: "CARP-S"
repo_url: https://github.com/automl/CARP-S/
repo_name: automl/CARP-S
theme:
name: material
logo: assets/logo.webp
favicon: assets/logo.webp
icon:
repo: fontawesome/brands/github
features:
- content.code.annotate
- content.code.copy
- navigation.footer
- navigation.sections
- toc.follow
- toc.integrate
- navigation.tabs
- navigation.tabs.sticky
- header.autohide
- search.suggest
- search.highlight
- search.share
- search.share
font:
text: Roboto
code: Roboto Mono
palette:
- scheme: slate
media: "(prefers-color-scheme: dark)"
primary: custom
accent: teal
toggle:
icon: material/eye-outline
name: Switch to light mode
# Palette toggle for light mode
- scheme: default
media: "(prefers-color-scheme: light)"
primary: custom
accent: teal
toggle:
icon: material/eye
name: Switch to dark mode
# The `mike` versioning provider
# https://github.com/jimporter/mike
#
# This is what allows us to create versioned docs in the github cli
extra:
version:
provider: mike
social:
- icon: fontawesome/brands/github
link: https://github.com/automl
- icon: fontawesome/brands/twitter
link: https://twitter.com/automl_org
# We do have some extra custom css
# If for whatever reason you think this is breaking something,
# please feel free to remove it.
extra_css:
- stylesheets/custom.css
watch:
- carps
- docs
- CONTRIBUTING.md
markdown_extensions:
- admonition
- tables
- attr_list
- md_in_html
- toc:
permalink: "#"
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.magiclink:
hide_protocol: true
repo_url_shortener: true
repo_url_shorthand: true
user: automl
repo: CARP-S
- pymdownx.highlight
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.details
- pymdownx.tabbed:
alternate_style: true
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
# These are files that are run when serving the docs.
hooks:
# This hook simply prints the page being rendered for an easier time debugging
# any issues with code in docs
- docs/hooks/debug_which_page_is_being_rendered.py
plugins:
- search
- autorefs
- glightbox
- offline:
enabled: !ENV [AMLTK_DOCS_OFFLINE, false]
- markdown-exec
- mike:
version_selector: true
css_dir: css
javascript_dir: js
canonical_version: latest
- literate-nav:
nav_file: SUMMARY.md
- mkdocstrings:
default_handler: python
enable_inventory: true
handlers:
python:
paths: [src]
# Extra objects which allow for linking to external docs
import:
- 'https://docs.python.org/3/objects.inv'
- 'https://numpy.org/doc/stable/objects.inv'
- 'https://pandas.pydata.org/docs/objects.inv'
- 'https://optuna.readthedocs.io/en/stable/objects.inv'
- 'https://scikit-learn.org/stable/objects.inv'
- 'https://pytorch.org/docs/stable/objects.inv'
- 'https://jobqueue.dask.org/en/latest/objects.inv'
# Please do not try to change these without having
# looked at all of the documentation and seeing if it
# causes the API docs to look weird anywhere.
options: # https://mkdocstrings.github.io/python/usage/
docstring_section_style: spacy
docstring_options:
ignore_init_summary: true
trim_doctest_flags: true
returns_multiple_items: false
show_docstring_attributes: true
show_docstring_description: true
show_root_heading: true
show_root_toc_entry: true
show_object_full_path: false
show_root_members_full_path: false
signature_crossrefs: true
merge_init_into_class: true
show_symbol_type_heading: true
show_symbol_type_toc: true
docstring_style: google
inherited_members: true
show_if_no_docstring: false
show_bases: true
show_source: true
members_order: "alphabetical"
group_by_category: true
show_signature: true
separate_signature: true
show_signature_annotations: true
filters:
- "!^_[^_]"
nav:
- Home: "index.md"
- Installation: "installation.md"
- Guides:
- "guides/first-steps.md"
- "guides/hydra.md"
- "guides/database.md"
- "guides/containers.md"
- "guides/large-scale-benchmarking.md"
- "guides/using-carps.md"
- Commands: "commands.md"
- Contributing:
- "contributing/index.md"
- "contributing/contributing-a-benchmark.md"
- "contributing/contributing-an-optimizer.md"
- What's New?: "changelog.md"