-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yml
84 lines (76 loc) · 2.33 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
theme:
name: material
font:
text: Fira Sans
code: Fira Sans Mono
features:
- navigation.sections
- toc.integrate
- header.autohide
- content.code.copy
palette:
# Palette toggle for automatic mode
- media: '(prefers-color-scheme)'
toggle:
icon: material/brightness-auto
name: Switch to light mode
# Palette toggle for light mode
- media: '(prefers-color-scheme: light)'
scheme: default
primary: black
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- media: '(prefers-color-scheme: dark)'
scheme: slate
primary: black
toggle:
icon: material/brightness-4
name: Switch to system preference
icon:
repo: fontawesome/brands/github
site_name: si-units
site_url: https://itt-ustutt.github.io/quantity
repo_url: https://github.com/itt-ustutt/quantity/tree/master/si-units
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 # Allowing hidden expandable regions denoted by ???
- pymdownx.snippets: # Include one Markdown file into another
base_path: docs
- admonition
- tables
extra_javascript:
- javascript/mathjax.js
- https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js
plugins:
- search # default search plugin; needs manually re-enabling when using any other plugins
- mkdocstrings:
handlers:
python:
paths: [src]
docstring_style: google
show_signature_annotations: true
options:
find_stubs_package: true
heading_level: 3
show_root_heading: true
show_root_full_path: false
docstring_section_style: spacy
merge_init_into_class: true
show_docstring_description: true
annotations_path: brief
docstring_options:
ignore_init_summary: false
trim_doctest_flags: true
nav:
- Introduction: 'index.md'
- Examples: 'examples.md'
- API:
- Classes & Functions: 'api.md'
- Units, Constants, Prefixes:
- Base Units: 'base.md'
- Derived Units & Constants: 'derived.md'
- Prefixes: 'prefixes.md'