-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmkdocs.yaml
145 lines (132 loc) · 4.4 KB
/
mkdocs.yaml
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
141
142
143
144
145
site_name: Plasma Control Group - Princeton University
site_url: https://control.princeton.edu/
site_author: Plasma Control Group
site_description: Plasma Control Group at Princeton University
copyright: Copyright © 2024 Plasma Control Group
docs_dir: src
theme:
name: material
logo: assets/images/logo.png
favicon: assets/images/favicon_logo.png
language: en
locale: en
custom_dir: src/assets/overrides
palette:
# Palette toggle for light mode
- scheme: default
media: "(prefers-color-scheme: light)"
primary: white
accent: teal
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- scheme: slate
media: "(prefers-color-scheme: dark)"
primary: black
accent: teal
toggle:
icon: material/brightness-4
name: Switch to light mode
features:
- navigation.footer
- navigation.tabs
- content.action.edit # view source button for pages
- content.code.copy # the copy-to-clipboard buttons for code blocks
- content.action.view # view source button for pages
- navigation.sections
- navigation.indexes # allow mother pages to have their own index pages
- navigation.instant # instant navigation for faster page loads
- navigation.instant.prefetch # prefetch pages for instant navigation
- navigation.instant.progress # show progress bar for instant navigation
- navigation.top # back to top button
- search.highlight # highlight search results after going to a page
- search.suggest # show search suggestions while typing
- search.share # share search results with others
- toc.follow # if toc sidebar doesn't fit, scroll to the active heading
- content.code.annotate # allow annotations in code blocks
nav:
- Home: index.md
- Research: research/index.md
- Members: members.md
- Publications: publications.md
- Gallery: gallery.md
plugins:
- search # mkdocs-material search plugin
- glightbox
- blog:
blog_dir: .
post_dir: "{blog}/posts"
authors_file: "{blog}/assets/data/blog_authors.yaml"
post_url_format: "posts/{slug}"
post_date_format: long
archive_toc: false
categories_toc: false
archive: false
categories: false
pagination_per_page: 12
categories_allowed:
- News
- Hiring
- bibtex: # https://github.com/shyamd/mkdocs-bibtex
bib_file: src/assets/data/bibliography.bib
bib_by_default: false
- caption: # https://github.com/tobiasah/mkdocs-caption
table:
position: top
- rss: # https://github.com/Guts/mkdocs-rss-plugin/
match_path: posts/.*
date_from_meta:
as_creation: date
categories:
- categories
- tags
comments_path: "#__comments"
- macros: # https://github.com/fralau/mkdocs-macros-plugin
module_name: src/assets/data/data
# Redirect the old pages to the new ones:
- redirects:
redirect_maps:
people.md: members.md
group-members.md: members.md
markdown_extensions:
# see https://facelessuser.github.io/pymdown-extensions/extensions/inlinehilite/ for more pymdownx info
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.inlinehilite
- pymdownx.extra:
pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- toc:
permalink: true
- footnotes # allows footnotes
- attr_list # allow assigning HTML attributes to elements
- md_in_html
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.pathconverter # convert relative paths to absolute paths
- pymdownx.betterem
- pymdownx.tabbed: # content tabs
alternate_style: true
extra_javascript:
- assets/javascripts/katex.js
- https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.js
- https://cdn.jsdelivr.net/npm/[email protected]/dist/contrib/auto-render.min.js
extra_css:
- https://cdn.jsdelivr.net/npm/[email protected]/dist/katex.min.css
- assets/stylesheets/extra.css
extra:
# analytics:
# provider: google
# property: PROPERTY
social:
- icon: fontawesome/brands/github
link: https://github.com/PlasmaControl
hooks:
- src/assets/hooks/hook.py