-
Notifications
You must be signed in to change notification settings - Fork 4
/
mkdocs.yml
75 lines (67 loc) · 1.96 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
site_name: Documentation for Spurt
theme:
name: "material"
palette:
# https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#primary-color
primary: "teal"
# favicon: img/favicon.ico
# logo: img/apple-touch-icon.png
highlightjs: true
plugins:
- search
- mermaid2
# plugin suggestions from here: https://mkdocstrings.github.io/recipes/
- autorefs
- gen-files:
scripts:
- docs/gen_ref_pages.py
# https://github.com/oprypin/mkdocs-literate-nav
- literate-nav:
nav_file: summary.md
# https://mkdocstrings.github.io/python/usage/
- mkdocstrings:
handlers:
python:
paths: [src]
options:
docstring_style: numpy
members_order: alphabetical # source
import:
- https://docs.scipy.org/doc/scipy/objects.inv # scipy doc objects
- mkdocs-jupyter:
include: ["docs/notebooks/*.ipynb"]
ignore: ["docs/notebooks/data/*"]
markdown_extensions:
- pymdownx.arithmatex:
generic: true
- pymdownx.snippets:
check_paths: true
- footnotes
- docs.mdx_bib:
bibtex_file: docs/references.bib
order: 'unsorted'
- pymdownx.superfences:
# make exceptions to highlighting of code:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:mermaid2.fence_mermaid_custom
extra_javascript:
- javascripts/mathjax.js
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
watch:
- src/
nav:
- index.md
- getting-started.md
- tutorials.md
# - Tutorials:
# - Notebook page: notebooks/walkthrough-basic.ipynb
# # - Notebook page2: notebooks/walkthrough-basic.html
# - how-to-guides.md
# https://mkdocstrings.github.io/recipes/#generate-a-literate-navigation-file
# trailing slash: that mkdocs-literate-nav knows a summary.md file is in that folder.
- developer-setup.md
- Code Reference: reference/
# - background-theory.md