-
Notifications
You must be signed in to change notification settings - Fork 19
/
mkdocs.yml
79 lines (73 loc) · 2.89 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
site_name: jim
site_description: A JAX-based gravitational-wave inference toolkit
site_author: Kaze Wong
repo_url: https://github.com/kazewong/jim
repo_name: kazewong/jim
theme:
name: material
features:
- navigation # Sections are included in the navigation on the left.
- toc # Table of contents is integrated on the left; does not appear separately on the right.
- header.autohide # header disappears as you scroll
palette:
# Light mode / dark mode
# We deliberately don't automatically use `media` to check a user's preferences. We default to light mode as
# (a) it looks more professional, and (b) is more obvious about the fact that it offers a (dark mode) toggle.
- scheme: default
primary: blue
accent: deep purple
toggle:
icon: material/brightness-5
name: Dark mode
- scheme: slate
primary: black
accent: amber
toggle:
icon: material/brightness-2
name: Light mode
twitter_name: "@physicskaze"
twitter_url: "https://twitter.com/physicskaze"
markdown_extensions:
- pymdownx.arithmatex: # Render LaTeX via MathJax
generic: true
- pymdownx.superfences # Seems to enable syntax highlighting when used with the Material theme.
- pymdownx.details
- pymdownx.snippets: # Include one Markdown file into another
base_path: docs
- admonition
- toc:
permalink: "¤" # Adds a clickable permalink to each section heading
toc_depth: 4
plugins:
- search # default search plugin; needs manually re-enabling when using any other plugins
- autorefs # Cross-links to headings
- mkdocs-jupyter: # Jupyter notebook support
# show_input: False
- gen-files:
scripts:
- docs/gen_ref_pages.py
- literate-nav:
nav_file: SUMMARY.md
- mkdocstrings:
handlers:
python:
setup_commands:
- import pytkdocs_tweaks
- pytkdocs_tweaks.main()
- import jaxtyping
- jaxtyping.set_array_name_format("array")
optional:
inherited_members: true # Allow looking up inherited methods
show_root_heading: true # actually display anything at all...
show_root_full_path: true # display "diffrax.asdf" not just "asdf"
show_if_no_docstring: true
show_signature_annotations: true
show_source: false # don't include source code
members_order: source # order methods according to their order of definition in the source code, not alphabetical order
heading_level: 4
nav:
- Home: index.md
- Gotchas: gotchas.md
- Tutorial: tutorials/
- Examples: examples/
- API: reference/