-
Notifications
You must be signed in to change notification settings - Fork 8
/
mkdocs.yml
50 lines (41 loc) · 1.1 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
site_name: Documentation for sweets
theme:
name: "material"
favicon: img/favicon.ico
logo: img/apple-touch-icon.png
highlightjs: true
plugins:
- search
# plugin suggestions from here: https://mkdocstrings.github.io/recipes/
- 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
markdown_extensions:
- pymdownx.arithmatex:
generic: true
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
- 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.
- Code Reference: reference/
- background-theory.md