-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathmkdocs.yml
More file actions
203 lines (192 loc) · 7.23 KB
/
mkdocs.yml
File metadata and controls
203 lines (192 loc) · 7.23 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
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
198
199
200
201
202
203
# Project information
site_name: EasyDynamics Library
site_url: https://easyscience.github.io/dynamics-lib
# Repository
repo_url: https://github.com/easyscience/dynamics-lib
edit_uri: edit/develop/docs/
# Copyright
copyright: © 2025-2026 EasyDynamics
# Sets the theme and theme-specific configuration
theme:
name: material
custom_dir: overrides
features:
#- content.action.edit # Temporary disable edit button (until decided on which branch to use and where to host the notebooks)
#- content.action.view
- content.code.annotate
- content.code.copy # Auto generated button to copy a code block's content
- content.tooltips
- navigation.footer
- navigation.indexes
#- navigation.instant # Instant loading, but it causes issues with rendering equations
#- navigation.sections
- navigation.top # Back-to-top button
- navigation.tracking # Anchor tracking
- search.highlight
- search.share
- search.suggest
- toc.follow
palette:
# Palette toggle for light mode
- media: '(prefers-color-scheme: light)'
scheme: default
primary: custom
toggle:
icon: fontawesome/solid/sun
name: Switch to dark mode
# Palette toggle for dark mode
- media: '(prefers-color-scheme: dark)'
scheme: slate
primary: custom
toggle:
icon: fontawesome/solid/moon
name: Switch to light mode
font:
text: Mulish
code: Roboto Mono
icon:
edit: material/file-edit-outline
favicon: assets/images/favicon.png
logo_dark_mode: assets/images/logo_dark.svg
logo_light_mode: assets/images/logo_light.svg
# A set of key-value pairs, where the values can be any valid YAML
# construct, that will be passed to the template
extra:
generator: false # Disable `Made with Material for MkDocs` (bottom left)
social: # Extra icons in the bottom right corner
- icon: easyscience # File: overrides/.icons/easyscience.svg
link: https://easyscience.org
name: EasyScience Framework Webpage
- icon: easydynamics # File: overrides/.icons/easydynamics.svg
link: https://easyscience.github.io/dynamics
name: EasyDynamics Main Webpage
- icon: app # File: overrides/.icons/app.svg
link: https://easyscience.github.io/dynamics-app
name: EasyDynamics Application Docs
- icon: fontawesome/brands/github # Name as in Font Awesome
link: https://github.com/easyscience/dynamics-lib
name: EasyDynamics Library Source Code on GitHub
# Set custom variables to be used in Markdown and HTML files
vars:
ci_branch: !ENV CI_BRANCH
github_repository: !ENV GITHUB_REPOSITORY
release_version: !ENV RELEASE_VERSION
docs_version: !ENV DOCS_VERSION
notebooks_dir: !ENV NOTEBOOKS_DIR
# Renders a version selector in the header
version:
provider: mike
# Customization to be included by the theme
extra_css:
- assets/stylesheets/extra.css
extra_javascript:
- assets/javascripts/extra.js
# MathJax for rendering mathematical expressions
- assets/javascripts/mathjax.js # Custom MathJax config to ensure compatibility with mkdocs-jupyter
- https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js # Official MathJax CDN
# A list of extensions beyond the ones that MkDocs uses by default (meta, toc, tables, and fenced_code)
markdown_extensions:
- abbr
- admonition
- attr_list
- def_list
- footnotes
- pymdownx.arithmatex: # rendering of equations and integrates with MathJax or KaTeX
generic: true
- pymdownx.blocks.caption
- pymdownx.details
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
options:
custom_icons:
- docs/overrides/.icons
- pymdownx.highlight: # whether highlighting should be carried out during build time by Pygments
use_pygments: true
pygments_lang_class: true
- pymdownx.snippets:
auto_append:
- docs/includes/abbreviations.md
- pymdownx.superfences: # whether highlighting should be carried out during build time by Pygments
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed: # enables content tabs
alternate_style: true
- pymdownx.tasklist:
custom_checkbox: true
- toc:
toc_depth: 3
# A list of plugins (with optional configuration settings) to use when building the site
plugins:
- autorefs
- inline-svg
- markdownextradata # Plugin that injects the mkdocs.yml extra variables into the Markdown template
- mike # Plugin that makes it easy to deploy multiple versions of the docs
- mkdocs-jupyter:
include: ['*.ipynb'] # Default: ['*.py', '*.ipynb']
execute: false # Do not execute notebooks during build. They are expected to be pre-executed.
allow_errors: false
include_source: true
include_requirejs: true # Required for Plotly
#custom_mathjax_url: 'https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js' # See 'extra_javascript' above
ignore_h1_titles: true # Use titles defined in the nav section below
remove_tag_config:
remove_input_tags:
- hide-in-docs
- mkdocstrings:
handlers:
python:
paths: ['src'] # Change 'src' to your actual sources directory
options:
docstring_style: numpy
group_by_category: false
heading_level: 1
show_root_heading: true
show_root_full_path: false
show_submodules: true
show_source: true
- search
# Determines additional directories to watch when running mkdocs serve
watch:
- includes
- overrides
- ../src
# Exclude files and folders from the global navigation
not_in_nav: |
index.md
# Format and layout of the global navigation for the site
nav:
- Introduction:
- Introduction: introduction/index.md
- Installation & Setup:
- Installation & Setup: installation-and-setup/index.md
- User Guide:
- User Guide: user-guide/index.md
- Concept: user-guide/concept.md
- Data Format: user-guide/data_format.md
- First Steps: user-guide/first_steps.md
- Tutorials:
- Tutorials: tutorials/index.md
- Getting Started:
- Tutorial 1. Brownian Diffusion: tutorials/tutorial1_brownian.ipynb
- Tutorial 2. Magnetic nanoparticles: tutorials/tutorial2_nanoparticles.ipynb
- Classes and Methods:
- Components: tutorials/components.ipynb
- Component collection: tutorials/component_collection.ipynb
- Convolution: tutorials/convolution.ipynb
- Detailed balance: tutorials/detailed_balance.ipynb
- Diffusion model: tutorials/diffusion_model.ipynb
- Sample model: tutorials/sample_model.ipynb
- Instrument model: tutorials/instrument_model.ipynb
- Experiment: tutorials/experiment.ipynb
- Analysis: tutorials/analysis.ipynb
- Analysis 1D: tutorials/analysis1d.ipynb
- API Reference:
- API Reference: api-reference/index.md
- convolution: api-reference/convolution.md
- sample_model: api-reference/sample_model.md
- experiment: api-reference/experiment.md
- analysis: api-reference/analysis.md
- utils: api-reference/utils.md