-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathmkdocs.yml
More file actions
127 lines (119 loc) · 3.58 KB
/
Copy pathmkdocs.yml
File metadata and controls
127 lines (119 loc) · 3.58 KB
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
site_name: dyce
site_description: Simple Python tools for exploring dice outcomes and other finite discrete probabilities
site_author: Matt Bogosian
copyright: <i>Copyright and other protections apply.
Please see the accompanying <tt>LICENSE</tt> file for rights and restrictions governing use of this software.
All rights not expressly waived or licensed are reserved.
If that file is missing or appears to be modified from its original, then please contact the author before viewing or using this software in any capacity.</i>
docs_dir: docs
repo_url: https://github.com/posita/dyce/
theme:
name: material
custom_dir: overrides
features:
- content.code.annotate
- content.tabs.link
- navigation.footer
- navigation.expand
- navigation.sections
palette:
# Palette toggle for automatic mode
- media: "(prefers-color-scheme)"
toggle: # indicates the next setting
icon: material/brightness-auto
name: Switch to light mode
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: green
accent: green
toggle: # indicates the next setting
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: light-green
accent: light-green
toggle: # indicates the next setting
icon: material/brightness-4
name: Switch to system preference
markdown_extensions:
- admonition
- footnotes
- pycon
# ---- BEGIN MathJax config ----
- pymdownx.arithmatex:
generic: true
block_tag: 'pre'
# ----- END MathJax config -----
- pymdownx.details
- pymdownx.highlight:
default_lang: 'python'
linenums: true
- pymdownx.inlinehilite:
custom_inline:
# Support `#!math ...` inline syntax
- name: math
class: arithmatex
format: !!python/object/apply:pymdownx.arithmatex.arithmatex_inline_format {kwds: {mode: generic}}
- pymdownx.snippets:
dedent_subsections: true
check_paths: true
- pymdownx.superfences:
custom_fences:
# Support ```math ...``` fence syntax
- name: math
class: arithmatex
format: !!python/object/apply:pymdownx.arithmatex.arithmatex_fenced_format {kwds: {mode: generic, tag: pre}}
- pymdownx.tabbed:
alternate_style: true
- pymdownx.tilde
exclude_docs: |
__pycache__/
snippets/
extra:
version:
provider: mike
extra_javascript:
# ---- BEGIN MathJax config ----
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
# ----- END MathJax config -----
plugins:
- search
- mkdocstrings:
handlers:
python:
paths: [.]
options:
extensions:
- griffe_warnings_deprecated
- _griffe_ext.py:LifecycleExtension
show_signature_annotations: true
hooks:
# For copying LICENSE -> docs/license.md and README.md -> docs/index.md
- _mkdocs_hooks.py
watch:
- LICENSE
- README.md
- _griffe_ext.py
- _mkdocs_hooks.py
- docs
- dyce
- jupyter-lite.json
- jupyter_lite_config.json
- mkdocs.yml
nav:
- Introduction: index.md
- Countin’ with histograms and pools: countin.md
- Applications and translations: translations.md
- Release notes: notes.md
- Contributing: contrib.md
- License: license.md
- API:
- Core: dyce.md
- Conveniences: dyce.d.md
- Visualization:
- Shared structures: dyce.viz.md
- Matplotlib (optional): dyce.viz.matplotlib.md
- Plotly: dyce.viz.plotly.md