-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yml
91 lines (83 loc) · 2.63 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
theme:
name: material
features:
- navigation.sections
- toc.integrate
- header.autohide
palette:
- scheme: default
primary: white
accent: amber
toggle:
icon: material/weather-night
name: Switch to dark mode
- scheme: slate
primary: black
accent: amber
toggle:
icon: material/weather-sunny
name: Switch to light mode
icon:
repo: fontawesome/brands/github # GitHub logo (top right)
logo: "_static/pastax-sm.png" # package logo (top left)
favicon: "_static/pastax-sm.png" # package favicon
site_name: pastax
site_description: The documentation for the pastax package.
site_author: Vadim Bertrand
site_url: https://pastax.readthedocs.io/en/latest/
repo_url: https://github.com/vadmbertr/pastax
repo_name: vadmbertr/pastax
strict: true
extra_javascript:
- _static/mathjax.js
- https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js
extra_css:
- _static/custom.css
markdown_extensions:
- pymdownx.arithmatex:
generic: true
- pymdownx.superfences # enable syntax highlighting
- pymdownx.details # allow hidden expandable regions denoted by ???
- admonition
- codehilite
- toc:
permalink: true
toc_depth: 4
plugins:
- autorefs # cross-links to headings
- include_exclude_files:
exclude:
- "_overrides"
- include-markdown
- mknotebooks # Jupyter notebooks
- mkdocstrings:
default_handler: python
handlers:
python:
setup_commands:
- import pytkdocs_tweaks
- pytkdocs_tweaks.main()
- import jaxtyping
- jaxtyping.set_array_name_format("array")
import:
- https://docs.kidger.site/diffrax/objects.inv
- https://docs.kidger.site/equinox/objects.inv
options:
allow_inspection: true
docstring_style: numpy
heading_level: 3
inherited_members: false # allow looking up inherited methods
members_order: source # order methods according to their order of definition in the source code
show_bases: true
show_if_no_docstring: false
show_inheritance_diagram: true
show_root_full_path: true # display "foo.bar" not just "bar"
show_root_heading: true # actually display anything at all...
show_signature_annotations: true
show_signature_return_annotation: true
show_signature_parameter_types: true
- search # default search plugin; needs manually re-enabling when using any other plugins
nav:
- "index.md"
- Getting started: "getting_started.ipynb"
- "api.md"