-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yml
150 lines (139 loc) · 4.83 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
site_name: Feedbax
site_author: Matt Laporte
site_url: https://docs.lprt.ca/feedbax
repo_url: https://github.com/mlprt/feedbax
repo_name: mlprt/feedbax
edit_uri: "" # No edit buttons
theme:
name: material
features:
- navigation.sections
- toc.integrate
- header.autohide
custom_dir: docs/_overrides
icon:
logo: material/tibia-alt
# logo: material/arm-flex
annotation: material/info-twotone
palette:
scheme: fbx
# strict: true # Build fails on warnings
watch:
- feedbax # automatically update docs when running `mkdocs serve` and source files change
markdown_extensions:
- pymdownx.snippets:
check_paths: true
base_path: ["docs/embeds/"]
- pymdownx.arithmatex: # Render LaTeX via MathJax
generic: true
- pymdownx.details # Enables collapsible admonitions
- attr_list
- md_in_html
- pymdownx.tabbed:
alternate_style: true
- pymdownx.superfences: # Enables syntax highlighting
custom_fences:
- name: plotly
class: mkdocs-plotly
format: !!python/name:mkdocs_plotly_plugin.fences.fence_plotly
- pymdownx.inlinehilite
- admonition
- toc:
toc_depth: 4 # Only show root objects; i.e. no methods, properties...
permalink: ¤
extra_css:
- _static/custom.css
extra_javascript:
- _static/mathjax.js
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
plugins:
- plotly:
template_default: "plotly_white"
template_slate: "plotly_dark"
- search
- mknotebooks: # Jupyter notebooks
# write_markdown: true # Write markdown files for notebooks
# execute: true
# allow_errors: true
# binder: true # Enable Binder integration
# binder_service_name: "gh"
# binder_branch: "main"
# binder_ui: "lab"
preamble: docs/notebook_preamble.py
regex_remove_patterns: ["^###REMOVE_CELL"]
- mkdocstrings:
enable_inventory: true
custom_templates: docs/_templates
handlers:
python:
options:
show_root_toc_entry: true
heading_level: 4 # Heading level for the object name
show_root_heading: true # Show the object name
show_root_full_path: true # Show the full path of the object
show_bases: true
# show_symbol_type_toc: true
annotations_path: brief
# merge_init_into_class: true
# separate_signature: true # This and `merge_init_into_class` go together
show_signature_annotations: true
# signature_crossrefs: true # This doesn't appear to do anything
docstring_section_style: table
filters: [
"!^_",
"__init__",
"__call__",
"model_spec",
"dynamics_spec",
] # Exclude private but not dunder methods
inherited_members: ["__call__"]
show_source: false
members_order: source # Same member ordering as in source code
# all_members: true
extensions:
- griffe_inherited_method_crossrefs
nav:
- 'index.md'
- Why JAX?: 'examples/pytrees.ipynb'
- Top-down view of Feedbax: 'structure.md'
- Examples:
- Feedbax 101:
- 1. Training a pre-built model: 'examples/0_train_simple.ipynb'
- 2. From automatic to manual: 'examples/1_train.ipynb'
- 3. Intervening on a model: 'examples/3_intervening.ipynb'
- 4. Training ensembles of models: 'examples/4_vmap.ipynb'
- 5. Models with stages: 'examples/5_model_stages.ipynb'
- 6. Advanced interventions: 'examples/6_intervening_2.ipynb'
- 7. Designing custom tasks: 'examples/7_custom_tasks.ipynb'
# - 8. Advanced analyses: 'examples/8_advanced.ipynb'
- Features:
- Composable loss functions: 'examples/losses.ipynb'
- Biomechanical simulations: 'examples/biomechanics.ipynb'
- Saving and loading: 'examples/saving_and_loading.ipynb'
- Debugging: 'examples/debugging.ipynb'
# - Tracking training progress with tensorboard: 'examples/tensorboard.ipynb'
- API:
- Prebuilt models: 'api/xabdeef.md'
- Models:
- Base classes: 'api/model.md'
- 'api/staged.md'
- 'api/intervene.md'
- 'api/iterate.md'
- 'api/bodies.md'
- 'api/channel.md'
- 'api/networks.md'
- 'api/mechanics.md'
- 'api/plant.md'
- 'api/dynamics.md'
- 'api/skeleton.md'
- 'api/muscle.md'
- 'api/task.md'
- 'api/loss.md'
- 'api/trainer.md'
- 'api/state.md'
- 'api/tree.md'
- 'api/serialisation.md'
- Analysis and visualisation:
- 'api/plot.md'
- 'api/dimred.md'