forked from pypa/sampleproject
-
Notifications
You must be signed in to change notification settings - Fork 3
/
mkdocs.yaml
127 lines (120 loc) · 3.11 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
site_name: Project Template for Python
repo_url: https://github.com/jannismain/python-project-template
repo_name: python-project-template
site_url: https://jannismain.github.io/python-project-template/
edit_uri: -/edit/main/docs/
site_dir: build/docs
theme: # https://squidfunk.github.io/mkdocs-material/setup/
name: material
icon:
logo: material/satellite-variant
tag:
doc: material/book-open-page-variant
test: material/test-tube
vcs: octicons/git-branch-16
default: material/tag
favicon: assets/material-satellite-variant.svg
features:
- navigation.instant
- navigation.tracking
- navigation.indexes
- navigation.top
- navigation.tabs
- navigation.sections
- navigation.prune
- content.code.annotate
- toc.follow
- navigation.footer
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: teal
accent: deep orange
toggle:
icon: material/weather-sunny
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: teal
accent: amber
toggle:
icon: material/weather-night
name: Switch to light mode
plugins:
- search
- git-revision-date-localized:
type: timeago
fallback_to_build_date: true
- exclude:
glob:
- util/*
- literate-nav:
nav_file: _nav.md
implicit_index: true
- macros: # see https://mkdocs-macros-plugin.readthedocs.io/
include_dir: .
module_name: docs/util/macros
modules: [includex]
- autorefs
- tags:
enabled: !ENV [CI, true]
tags_file: reference/tooling/index.md
markdown_extensions:
- abbr
- meta
- pymdownx.inlinehilite
- pymdownx.snippets:
check_paths: true
url_download: true
auto_append:
- docs/util/abbreviations.md
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.superfences:
custom_fences:
- name: mermaid
class: mermaid
format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.magiclink:
hide_protocol: True
provider: gitlab
user: mkj
repo: project-template
repo_url_shortener: True
repo_url_shorthand: True
- footnotes
- pymdownx.tabbed:
alternate_style: true
- admonition
- pymdownx.details
- md_in_html
- toc:
marker: ""
permalink: "#"
permalink_title: "Link to this section"
toc_depth: 3
# emoji support: https://squidfunk.github.io/mkdocs-material/reference/icons-emojis/
- attr_list
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.keys
- def_list
- pymdownx.critic
extra_javascript:
- assets/magiclink.js
extra_css:
- assets/magiclink.css
- assets/custom.css
extra:
generator: false
URL_EXAMPLE_FILE:
!ENV [
URL_EXAMPLE_FILE,
https://github.com/jannismain/python-project-template-example/blob/main,
]
tags:
Documentation: doc
Testing: test
Continuous Integration: ci
Version Control: vcs