forked from LouisdeBruijn/Medium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
97 lines (87 loc) · 2.66 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: Everything Python
repo_name: 'Github Repository'
repo_url: 'https://github.com/LouisdeBruijn/Medium'
copyright: 'Made by <a href="https://louisdebruijn.me/">Louis de Bruijn</a>'
extra:
social:
- icon: fontawesome/brands/medium
link: https://medium.com/@leddebruijn
# Navigation
# There is no 'nav' in this config because we use mkdocs-awesome-pages-plugin
# The ordering of pages in the docs folder are now in a `.pages` file instead
theme:
name: material
custom_dir: docs_assets/theme/
palette:
# scheme: preference uses dark or light mode based on user (OS) preference
scheme: preference
primary: deep-orange
accent: deep-purple
icon:
logo: fontawesome/solid/code
favicon: '/docs_assets/images/favicon.ico'
language: 'en'
plugins:
- search
- minify:
minify_html: true
- git-revision-date-localized:
type: timeago
- git-authors:
show_contribution: True
- table-reader
- img2fig
- mknotebooks:
execute: false
# mkdocs-material theme has nicer cell styling
enable_default_jupyter_cell_styling: false
enable_default_pandas_dataframe_styling: true
- awesome-pages
# - enumerate-headings
- print-site:
exclude:
- archive/*
markdown_extensions:
- codehilite
- markdown.extensions.admonition
- markdown.extensions.attr_list
- markdown.extensions.codehilite:
guess_lang: false
- markdown.extensions.def_list
- markdown.extensions.footnotes
- markdown.extensions.meta
- markdown.extensions.toc:
permalink: true
- pymdownx.arithmatex:
generic: true
- pymdownx.betterem:
smart_enable: all
- pymdownx.caret
- pymdownx.critic
- pymdownx.details
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.snippets:
check_paths: true
- pymdownx.superfences
- pymdownx.tabbed
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
# Lots of other settings
edit_uri: edit/MkDocs/docs/
use_directory_urls: false
# Better PDF styling for when you create PDFs using mkdocs-pdf-export-plugin
extra_css:
- docs_assets/stylesheets/pdf-export.css
# Setup mathjax, see
# https://squidfunk.github.io/mkdocs-material/reference/mathjax/
extra_javascript:
- javascripts/config.js
- https://polyfill.io/v3/polyfill.min.js?features=es6
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js