-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
146 lines (135 loc) · 3.45 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
141
142
143
144
145
146
# yaml-language-server: $schema=https://squidfunk.github.io/mkdocs-material/schema.json
site_name: aria2-wheel
site_url: https://WSH032.github.io/aria2-wheel/
repo_url: https://github.com/WSH032/aria2-wheel/
repo_name: WSH032/aria2-wheel
edit_uri: edit/main/docs/
theme:
name: material
icon:
logo: octicons/rocket-24
favicon: images/rocket-24.svg
features:
- content.code.copy
- content.code.annotate
- navigation.instant
- navigation.instant.progress
- navigation.tabs
- search.suggest
- search.highlight
- search.share
- navigation.footer
- content.action.edit
- content.action.view
- content.tabs.link
- content.tooltips
- navigation.top
# - navigation.expand
# - navigation.tracking
# https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/#system-preference
palette:
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
toggle:
icon: material/brightness-7
name: Switch to dark mode
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
toggle:
icon: material/brightness-4
name: Switch to light mode
markdown_extensions:
# Python Markdown
- abbr
- admonition
- attr_list
- def_list
- footnotes
- md_in_html
- tables
- toc:
permalink: true
# Python Markdown Extensions
- pymdownx.arithmatex:
generic: true
- pymdownx.betterem:
smart_enable: all
- pymdownx.critic
- pymdownx.caret
- pymdownx.details
- pymdownx.emoji:
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg
- pymdownx.highlight:
anchor_linenums: true
line_spans: __span
pygments_lang_class: true
- pymdownx.snippets
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.superfences
# - pymdownx.superfences:
# custom_fences:
# - name: mermaid
# class: mermaid
# format: !!python/name:pymdownx.superfences.fence_code_format
- pymdownx.tabbed:
alternate_style: true
slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
plugins:
# - offline
- search
- gen-files:
scripts:
- scripts/gen_ref_pages.py
- literate-nav:
nav_file: SUMMARY.md
- section-index
- mkdocstrings:
default_handler: python
handlers:
python:
import: []
options:
docstring_style: google
paths: [src]
# Remember: https://github.com/timvink/mkdocs-git-revision-date-localized-plugin#note-when-using-build-environments
- git-revision-date-localized:
fallback_to_build_date: true
enable_creation_date: true
type: timeago
- git-committers:
repository: WSH032/aria2-wheel
branch: main
extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/WSH032/
watch:
- src/
- README.md
- CONTRIBUTING.md
- CHANGELOG.md
validation:
omitted_files: warn
absolute_links: warn
unrecognized_links: warn
# Don't change the name "reference/"
# It's used in scripts/gen_ref_pages.py
nav:
- Home: index.md
- Usage: []
- API Reference: reference/
- CONTRIBUTING:
- CONTRIBUTING/CONTRIBUTING.md
- CHANGELOG:
- CHANGELOG/CHANGELOG.md