-
Notifications
You must be signed in to change notification settings - Fork 1
/
mkdocs.yml
115 lines (108 loc) · 2.73 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
# Site information
site_name: "Cinéphile: Top Films For All"
site_url: https://hantang.github.io/cinephile/
site_author: hantang
site_description: "Top movie collections"
copyright: Copyright © 2023-2024 Hantang
repo_name: cinephile
repo_url: https://github.com/hantang/cinephile/
# Theme
theme:
name: material
custom_dir: overrides
language: "zh"
favicon: assets/favicon.ico
icon:
logo: material/movie-open
repo: fontawesome/brands/square-github
font:
text: Open Sans, Helvetica Neue, Roboto, sans-serif, serif
code: Fira Mono, Fira Code, Roboto Mono, monospace
palette:
- media: "(prefers-color-scheme)"
toggle:
icon: material/link
name: Switch to light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: teal
accent: teal
toggle:
icon: material/toggle-switch
name: Switch to dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: black
accent: indigo
toggle:
icon: material/toggle-switch-off
name: Switch to system preference
features:
- navigation.footer
- navigation.path
- navigation.tabs
- navigation.top
- navigation.sections
- search.highlight
- search.suggest
- toc.follow
# - toc.integrate
markdown_extensions:
- abbr
- admonition
- attr_list
- def_list
- footnotes
- md_in_html
- mdx_truly_sane_lists
- tables
- toc:
permalink: true
slugify: !!python/object/apply:pymdownx.slugs.slugify
kwds:
case: lower
# Python Markdown Extensions
- pymdownx.arithmatex:
generic: true
- pymdownx.betterem:
smart_enable: all
- 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
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.mark
- pymdownx.smartsymbols
- pymdownx.superfences
- pymdownx.tabbed:
alternate_style: true
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
extra_javascript:
- https://code.jquery.com/jquery-3.7.1.min.js
- https://cdn.datatables.net/2.0.7/js/dataTables.min.js
- https://cdn.datatables.net/plug-ins/2.0.7/i18n/zh.json
- assets/js/datatables.js
extra_css:
- https://cdn.datatables.net/2.0.7/css/dataTables.dataTables.min.css
extra:
social:
- icon: fontawesome/brands/github
link: https://github.com/hantang
plugins:
- search:
lang:
- en
- zh
separator: '[\s\-,:!=\[\]()"/\u200b]+|(?!\b)(?=[A-Z][a-z])|\.(?!\d)|&[lg]t;'
- table-reader
- minify:
minify_html: true
# MORE-NAV
nav:
- 首页:
- index.md