-
Notifications
You must be signed in to change notification settings - Fork 2
/
mkdocs.yml
81 lines (72 loc) · 1.75 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
site_name: Template Python project
repo_url: "https://github.com/pasqal-io/qadence-libs.git"
repo_name: "qadence_libs"
nav:
- Overview: index.md
- Quantum information tools:
- Quantum Natural Gradient: qinfo_tools/qng.md
theme:
name: material
features:
- content.code.annotate
- content.action.view
- content.action.edit
- navigation.tabs
- navigation.indexes
- navigation.sections
- content.code.copy
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:
- footnotes
- admonition # for notes
- pymdownx.arithmatex: # for mathjax
generic: true
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences
plugins:
- search
- section-index
- markdown-exec
- mkdocstrings:
default_handler: python
handlers:
python:
selection:
filters:
- "!^_" # exlude all members starting with _
- "^__init__$" # 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
watch:
- qadence_libs
extra:
version:
provider: mike
# 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