-
Notifications
You must be signed in to change notification settings - Fork 94
/
mkdocs.yml
185 lines (176 loc) · 5.4 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
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
# 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: "ConfigSpace"
repo_url: https://github.com/automl/ConfigSpace/
repo_name: automl/ConfigSpace
theme:
name: material
logo: assets/logo.png
favicon: assets/logo.png
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
font:
text: Roboto
code: Roboto Mono
palette:
- scheme: slate
media: "(prefers-color-scheme: dark)"
primary: indigo
accent: deep purple
toggle:
icon: material/eye-outline
name: Switch to light mode
# Palette toggle for light mode
- scheme: default
media: "(prefers-color-scheme: light)"
primary: indigo
accent: deep purple
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
watch:
- src/ConfigSpace
- docs
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: ConfigSpace
- 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/scripts/debug_which_page_is_being_rendered.py
# Removes some deprecation warnings we maintain
- docs/scripts/cleanup_log_output.py
plugins:
- search
- autorefs
- glightbox
- markdown-exec
- mike:
version_selector: true
css_dir: css
javascript_dir: js
canonical_version: latest
- gen-files:
scripts:
- docs/scripts/api_generator.py
- 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://scikit-learn.org/stable/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"
- Quickstart: "quickstart.md"
- Guide: "guide.md"
- Reference:
- Hyperparameters: "reference/hyperparameters.md"
- Configuration Space: "reference/configuration_space.md"
- Configuration: "reference/configuration.md"
- Conditions: "reference/conditions.md"
- Forbidden Clauses: "reference/forbiddens.md"
- Serialization: "reference/serialization.md"
- Util: "reference/utils.md"
- API: "api/"