-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathmkdocs.yml
More file actions
111 lines (101 loc) · 2.74 KB
/
mkdocs.yml
File metadata and controls
111 lines (101 loc) · 2.74 KB
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
site_name: Panic404-wp
site_description: Panic404-wp 收录了队内成员编写的wp
site_author: Panic404 Team
strict: false
# Repository
repo_name: 'CTF-USTB/Panic404-wp'
repo_url: 'https://github.com/CTF-USTB/Panic404-wp'
edit_uri_template: 'edit/main/docs/{path!q}'
# edit_uri: edit/main/docs/
# Copyright
copyright: 'Copyright © 2025 Panic404 Team'
# Theme
theme:
name: material
custom_dir: 'docs/assets/overrides'
static_templates:
- 404.html
language: 'zh'
palette:
# Palette toggle for light mode
- media: "(prefers-color-scheme: light)"
scheme: default
primary: white
accent: red
toggle:
icon: material/weather-sunny
name: Switch to dark mode
# Palette toggle for dark mode
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: blue grey
accent: blue
toggle:
icon: material/weather-night
name: Switch to light mode
include_search_page: false
search_index_only: true
favicon: 'favicon.ico'
icon:
logo: 'material/school'
features:
- content.action.edit
- navigation.tabs
- navigation.instant: false
font:
text: 'Fira Sans'
code: 'Fira Mono'
plugins:
- toggle-sidebar:
theme: material
toggle_button: all
- search
- author_from_json
extra_css:
- https://cdn.jsdelivr.net/npm/@fullcalendar/core@6.1.9/index.global.min.css
- https://cdn.jsdelivr.net/npm/@fullcalendar/daygrid@6.1.9/index.global.min.css
extra_javascript:
- https://cdn.jsdelivr.net/npm/@fullcalendar/core@6.1.9/index.global.min.js
- https://cdn.jsdelivr.net/npm/@fullcalendar/daygrid@6.1.9/index.global.min.js
# 日历渲染
- assets/js/calendar.js
# MathJax
- assets/js/mathjax-config.js
- https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
# Extensions
markdown_extensions:
#- document-offsets-injection:
# debug: true
- admonition
- def_list
- footnotes
- meta
- toc:
permalink: ""
- pymdownx.arithmatex:
generic: true
- pymdownx.caret
- pymdownx.critic
- pymdownx.details
- pymdownx.emoji:
emoji_generator: !!python/name:pymdownx.emoji.to_svg
- pymdownx.highlight:
linenums: true
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.magiclink
- pymdownx.mark
- pymdownx.snippets:
check_paths: true
- pymdownx.progressbar
- pymdownx.smartsymbols
- pymdownx.superfences:
custom_fences:
- name: math
class: arithmatex
format: !!python/name:pymdownx.arithmatex.fence_mathjax_format
- pymdownx.tasklist:
custom_checkbox: true
- pymdownx.tilde
- pymdownx.tabbed:
alternate_style: true