-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yml
140 lines (132 loc) · 4.26 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
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
128
129
130
131
132
133
134
135
136
137
138
139
140
site_name: Uncertainty Quantification utilities
site_url: https://eckelsjd.github.io/uqtils/
site_author: Joshua Eckels
repo_name: eckelsjd/uqtils
repo_url: https://github.com/eckelsjd/uqtils
copyright: Copyright © 2024 Joshua Eckels
watch: [mkdocs.yml, README.md, CONTRIBUTING.md, CHANGELOG.md, src]
theme:
name: material
logo: assets/logo.svg
favicon: assets/logo.svg
palette:
primary: blue grey # https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/
accent: indigo
font:
text: Roboto
code: Roboto Mono
icon:
annotation: material/plus-circle
features:
- content.code.annotate
- content.code.copy
- content.code.select
- content.tabs.link
- content.tooltips
- navigation.footer
- navigation.instant
- navigation.tabs # Tab navigation at top of page
- navigation.sections # Extra layer in the left navigation panel
- navigation.indexes # Allow section titles to be clickable with an "index.md" file
- navigation.top
- navigation.tracking
- search.highlight
- search.share
- search.suggest
- toc.follow
plugins:
- search:
separator: '[\s\u200b\-_,:!=\[\]()"`/]+|\.(?!\d)|&[lg]t;|(?!\b)(?=[A-Z][a-z])'
- mkdocstrings: # Autodoc for mkdocs -- pull docstrings from Python files and insert into mkdocs site
handlers:
python:
paths: [src]
options:
docstring_style: sphinx
docstring_section_style: spacy
merge_init_into_class: true
filters: ["!^_"]
show_symbol_type_heading: true
show_symbol_type_toc: true
group_by_category: true
show_root_heading: true
heading_level: 1
- coverage:
html_report_dir: htmlcov
- git-committers:
repository: eckelsjd/uqtils
branch: main
exclude:
- reference/*
- abbreviations.md
- coverage.md
- changelog.md
- git-revision-date-localized:
enable_creation_date: true
type: timeago
exclude:
- reference/*
- abbreviations.md
- coverage.md
- changelog.md
- markdown-exec # Execute code inside a pymdownx.superfence block and display in md (useful for ```tree```)
- gen-files: # Programmatically add pages to mkdocs site at runtime
scripts:
- docs/gen_ref_pages.py
- literate-nav:
nav_file: SUMMARY.md # Allow wildcard and generated navigation instructions
- redirects:
redirect_maps:
index.md: start.md # Force index page to be the "getting started" page, which is actually the README
nav:
- Home:
- Getting started: start.md
- Tutorials: tutorials.md
- How-to Guides: how-to-guides.md
- Contributing: contributing.md
- Coverage report: coverage.md
- Changelog: changelog.md
- API reference: reference/
exclude_docs: abbreviations.md
extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/eckelsjd
- icon: fontawesome/brands/python
link: https://pypi.org/project/uqtils/
extra_javascript:
- javascript/mathjax.js # For displaying latex equations with $$ notation
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
extra_css:
- styles/extra.css
markdown_extensions:
- abbr # Abbreviations
- admonition
- attr_list # Add HTML/CSS attributes to markdown elements
- md_in_html
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.arithmatex:
generic: true
- pymdownx.inlinehilite
- pymdownx.tabbed:
alternate_style: true
slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
- pymdownx.snippets:
dedent_subsections: true
base_path: ['.', './src']
auto_append:
- docs/abbreviations.md