-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
140 lines (126 loc) · 4.82 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
# basic configuration:
site_name: "atomID"
site_description: "Python package to identify and annotate crystal structure data files"
repo_name: "Materials-Data-Science-and-Informatics/atomID"
site_url: "https://materials-data-science-and-informatics.github.io/atomID"
repo_url: "https://github.com/Materials-Data-Science-and-Informatics/atomID"
edit_uri: "edit/main/docs/"
docs_dir: "docs"
watch: ["README.md"]
# navigation structure (TOC + respective markdown files):
nav:
- Home:
- Overview: index.md
- Changelog: change_log.md
- Credits: credits.md
- Usage:
- Quickstart: quickstart.md
- Development:
- How To Contribute: contributing.md
extra:
# social links in footer:
social:
- icon: 'fontawesome/brands/github'
link: 'https://github.com/Materials-Data-Science-and-Informatics'
- icon: 'fontawesome/solid/globe'
link: 'https://github.com/Materials-Data-Science-and-Informatics'
# versioned docs: https://squidfunk.github.io/mkdocs-material/setup/setting-up-versioning/
version:
provider: mike
# optimization for offline usage:
use_directory_urls: !ENV [OFFLINE, false]
theme:
# See here for customization guide: https://squidfunk.github.io/mkdocs-material/setup/
name: "material"
features:
- content.action.edit
- content.action.view
# https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#adding-annotations
- content.code.annotate
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-the-header/
- header.autohide
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/
- navigation.footer
- navigation.instant
- navigation.tabs
- navigation.tabs.sticky
- navigation.tracking
- navigation.top
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-search/
- search.highlight
- search.suggest
# light/dark mode toggle: https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/brightness-4
name: Switch to light mode
extra_css:
# list of extra CSS files to override and configure defaults:
- css/style.css
markdown_extensions:
# Enable permalink to sections:
- toc:
permalink: true
# Setting HTML/CSS attributes: https://python-markdown.github.io/extensions/attr_list/
- attr_list
# Definitions: https://python-markdown.github.io/extensions/definition_lists/
- def_list
# Footnotes: https://squidfunk.github.io/mkdocs-material/reference/footnotes/
- footnotes
# Various boxes: https://squidfunk.github.io/mkdocs-material/reference/admonitions/
- admonition
- pymdownx.details
- pymdownx.superfences
# smart links: https://facelessuser.github.io/pymdown-extensions/extensions/magiclink/
- pymdownx.magiclink:
repo_url_shorthand: true
# Superscript: https://facelessuser.github.io/pymdown-extensions/extensions/caret/
- pymdownx.caret
# Strikethrough markup: https://facelessuser.github.io/pymdown-extensions/extensions/tilde/
- pymdownx.tilde
# Auto-Unicode for common symbols: https://facelessuser.github.io/pymdown-extensions/extensions/smartsymbols/
- pymdownx.smartsymbols
# Github-style task list: https://squidfunk.github.io/mkdocs-material/setup/extensions/python-markdown-extensions/#tasklist
- pymdownx.tasklist:
custom_checkbox: true
# Tabbed boxes: https://facelessuser.github.io/pymdown-extensions/extensions/tabbed/
- pymdownx.tabbed:
alternate_style: true
# Inlining markdown: https://facelessuser.github.io/pymdown-extensions/extensions/snippets/
- pymdownx.snippets:
check_paths: true
# Icons and Emoji: https://squidfunk.github.io/mkdocs-material/reference/icons-emojis/
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
plugins:
# default search box (must be listed if plugins are added)
- search
# execute code (e.g. generate diagrams): https://pawamoy.github.io/markdown-exec/
- markdown-exec
# automatic API docs: https://mkdocstrings.github.io/recipes/#automatic-code-reference-pages
- literate-nav:
nav_file: SUMMARY.md
- section-index
- mkdocstrings:
handlers:
python:
paths: [src]
options:
members_order: source
separate_signature: true
show_signature_annotations: true
# https://squidfunk.github.io/mkdocs-material/setup/building-for-offline-usage/#built-in-offline-plugin
# To allow building for offline usage, e.g. with: OFFLINE=true mkdocs build
- offline:
enabled: !ENV [OFFLINE, false]
# to make multi-version docs work right
- mike
strict: true