-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
100 lines (93 loc) · 3.53 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
# Mainly inspired by https://github.com/patrick-kidger/equinox/blob/main/mkdocs.yml
site_name: Somap
site_description: Documentation for the Somap self-organizing map python library.
site_author: Matthieu Thiboust
site_url: https://mthiboust.github.io/somap/
repo_url: https://github.com/mthiboust/somap
repo_name: mthiboust/somap
edit_uri: "" # No edit button, as some of our pages are in /docs and some in /examples via symlink, so it's impossible for them all to be accurate
strict: false # Don't allow warnings during the build process
theme:
name: material
features:
- navigation.sections # Sections are included in the navigation on the left.
- toc.integrate # Table of contents is integrated on the left; does not appear separately on the right.
- header.autohide # header disappears as you scroll
palette:
# Light mode / dark mode
# We deliberately don't automatically use `media` to check a user's preferences. We default to light mode as
# (a) it looks more professional, and (b) is more obvious about the fact that it offers a (dark mode) toggle.
- scheme: default
primary: white
accent: amber
toggle:
icon: material/weather-night
name: Switch to dark mode
- scheme: slate
primary: black
accent: amber
toggle:
icon: material/weather-sunny
name: Switch to light mode
icon:
repo: fontawesome/brands/github # GitHub logo in top right
logo: "material/hexagon-multiple" # Equinox logo in top left
favicon: "_static/favicon.png"
markdown_extensions:
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- admonition
- pymdownx.details # Allowing hidden expandable regions denoted by ???
- pymdownx.snippets: # Include one Markdown file into another
base_path: docs
- pymdownx.superfences
- toc:
toc_depth: 4
plugins:
- search # default search plugin; needs manually re-enabling when using any other plugins
- mknotebooks # Jupyter notebooks
- mkdocstrings:
default_handler: python
handlers:
python:
setup_commands:
- import pytkdocs_tweaks
- pytkdocs_tweaks.main()
- import jaxtyping
- jaxtyping.set_array_name_format("array")
paths: [src]
selection:
inherited_members: true # Allow looking up inherited methods
rendering:
show_root_heading: true # actually display anything at all...
show_root_full_path: true # display "diffrax.asdf" not just "asdf"
show_if_no_docstring: true
show_signature_annotations: true
show_source: false # don't include source code
members_order: source # order methods according to their order of definition in the source code, not alphabetical order
heading_level: 4
nav:
- 'index.md'
- 'all_of_somap.md'
- Examples:
- MNIST: 'mnist.ipynb'
- Hyperparameter exploration: 'hyperparameters_tuning.ipynb'
- API:
- Datasets: 'api/datasets.md'
- SOM:
- Core: 'api/core.md'
- SOM: 'api/som.md'
- Algo:
- Distance: 'api/distance.md'
- Neighborhood: 'api/neighborhood.md'
- Learning rate: 'api/learning_rate.md'
- Update: 'api/update.md'
- Plotting:
- Plot: 'api/plot.md'
- Backends: 'api/plot_backends.md'
- Save & load: 'api/serialisation.md'
- Misc:
- FAQ: 'faq.md'