-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathproperdocs.yml
More file actions
138 lines (130 loc) · 3.96 KB
/
Copy pathproperdocs.yml
File metadata and controls
138 lines (130 loc) · 3.96 KB
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
site_name: MyoGen
site_description: Modular neuromuscular simulation framework for motor-unit activity, force, and EMG.
site_url: https://nsquaredlab.github.io/MyoGen/
repo_url: https://github.com/NsquaredLab/MyoGen
repo_name: MyoGen
edit_uri: edit/main/docs/
copyright: Copyright © 2025-2026 n-squared lab, FAU Erlangen-Nürnberg
# superpowers specs/plans live under docs/ but are not site pages
exclude_docs: |
superpowers/
# Never ship Jupyter notebooks: strip the gallery's "Download Jupyter notebook"
# button and delete every generated .ipynb from the built site.
hooks:
- docs/hooks/no_notebooks.py
extra_css:
- stylesheets/gallery.css
extra_javascript:
- javascripts/mathjax.js
- https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js
theme:
name: material
features:
- navigation.instant
- navigation.tracking
- navigation.tabs
- navigation.tabs.sticky
- navigation.sections
- navigation.indexes
- navigation.top
- search.suggest
- search.highlight
- content.code.copy
- content.code.annotate
- toc.follow
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: white
accent: indigo
toggle:
icon: material/brightness-7
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: black
accent: indigo
toggle:
icon: material/brightness-4
name: Switch to light mode
font:
text: Inter
code: JetBrains Mono
icon:
repo: fontawesome/brands/github
plugins:
- search
- section-index
- gallery:
conf_script: docs/gallery_conf.py
# Source-only by default: examples render as markdown (prose + code) with
# "download full example code" links, but are NOT executed — many MyoGen
# examples use multiprocessing/joblib (which breaks under gallery exec) or
# form slow inter-dependent chains. Opt in to execution locally with
# MKDOCS_GALLERY_PLOT=true.
plot_gallery: !ENV [MKDOCS_GALLERY_PLOT, false]
- mkdocstrings:
handlers:
python:
paths: [.]
inventories:
- https://docs.python.org/3/objects.inv
- https://numpy.org/doc/stable/objects.inv
- https://docs.scipy.org/doc/scipy/objects.inv
options:
docstring_style: numpy
show_source: true
show_root_heading: true
show_root_full_path: false
members_order: source
separate_signature: true
show_signature_annotations: true
signature_crossrefs: true
merge_init_into_class: true
heading_level: 2
filters:
- "!^_"
markdown_extensions:
- admonition
- attr_list
- pymdownx.arithmatex:
generic: true
- def_list
- md_in_html
- tables
- toc:
permalink: true
- pymdownx.details
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed:
alternate_style: true
- pymdownx.highlight:
anchor_linenums: true
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.magiclink
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
nav:
- Home: index.md
- Getting Started: getting-started.md
- Neo blocks: neo-blocks.md
- Examples:
- Basics: auto_examples/01_basic/index.md
- Fine-tuning: auto_examples/02_finetune/index.md
- Watanabe (paper): auto_examples/03_papers/watanabe/index.md
- Clinical: auto_examples/04_clinical/index.md
- API reference:
- api/index.md
- Top-level: api/myogen.md
- Simulator: api/simulator.md
- Currents: api/currents.md
- Injection & I/O: api/io-and-neuron.md
- Plotting: api/plotting.md
- Utilities: api/utils.md
- Types: api/types.md