-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
97 lines (84 loc) · 2.21 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
92
93
94
95
96
97
site_name: Qadence Protocols
repo_url: "https://github.com/pasqal-io/qadence-protocols.git"
repo_name: "qadence_protocols"
nav:
- Qadence Protocols: index.md
- Contents: contents/index.md
- Error Mitigation:
- error_mitigation/index.md
- error_mitigation/readout_mitigation.md
- error_mitigation/incoherent_error_mitigation.md
- Measurements Protocols:
- measurements/index.md
theme:
name: material
features:
- content.code.annotate
- content.action.view
- content.action.edit
- navigation.tabs
- navigation.indexes
- navigation.sections
- content.code.copy
- content.code.annotate
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: light green
accent: purple
toggle:
icon: material/weather-sunny
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: black
accent: light green
toggle:
icon: material/weather-night
name: Switch to light mode
markdown_extensions:
- admonition # for notes
- footnotes
- pymdownx.arithmatex: # for mathjax
generic: true
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.details
- pymdownx.superfences:
custom_fences:
- name: python
class: python
validator: "!!python/name:markdown_exec.validator"
format: "!!python/name:markdown_exec.formatter"
plugins:
- search
- section-index
- mkdocstrings:
default_handler: python
handlers:
python:
selection:
filters:
- "!^_" # exlude all members starting with _
- "^__init__$" # but always include __init__ modules and methods
- "^__new__$" # but always include __init__ modules and methods
options:
show_root_toc_entry: false
heading_level: 3
merge_init_into_class: true
docstring_section_style: spacy
- mkdocs-jupyter:
theme: light
- markdown-exec
# To get nice tabs
extra_css:
- css/mkdocstrings.css
# For mathjax
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:
- qadence_protocols