forked from ImperialCollegeLondon/ReCoDE-FirstDawn
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
63 lines (56 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
site_name: ReCoDE Exemplar Template
# Steps to follow on GitHub to publish your mkdocs site:
# 1. Create a new branch called gh-pages
# 2. Ensure GitHub Pages is enabled for your repository, Settings>Pages> Enable.
# Make sure that Source is set to `gh-pages` and `/(root)`. Save this setting.
# 3. Ensure that on GitHub workflows have read and write access to your repository
# Settings>Actions>General>Workflow permissions, tick `Read and write permissions`
# and save this setting.
# Change this to the name of your repo
repo_url: https://github.com/ImperialCollegeLondon/ReCoDE-exemplar-template
edit_uri: tree/main/docs/
theme:
name: material
custom_dir: docs
icon:
logo: logos/iclogo
favicon: assets/iclogo.png
font:
text: Roboto
code: Roboto Mono
palette:
- scheme: default
toggle:
icon: material/toggle-switch
name: Switch to dark mode
- scheme: slate
toggle:
icon: material/toggle-switch-off-outline
name: Switch to light mode
# SPA behaviour
features:
- navigation.instant
- navigation.top
- toc.follow
- content.code.annotate
extra:
homepage: https://imperialcollegelondon.github.io/ReCoDE-home/
# Add here all the plugins you want to use.
# Don't forget to add them in requirements.txt as well.
plugins:
- tags
- search
- include-markdown # https://github.com/mondeja/mkdocs-include-markdown-plugin
# Set settings for markdown extensions
markdown_extensions:
- meta
- mdx_math:
enable_dollar_delimiter: True
- pymdownx.highlight:
anchor_linenums: false
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences
# Render math in mkdocs
extra_javascript:
- https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML