-
Notifications
You must be signed in to change notification settings - Fork 0
/
mkdocs.yml
118 lines (110 loc) · 2.33 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
# Project information
site_name: Social API Docs
site_description: Social API Docs
site_author: Jevon Wang
site_favicon:
# Copyright
copyright: Copyright 2021 Jevon Wang
# Repository
repo_url: https://github.com/Cnily03/social-api
repo_name: Cnily03/social-api
theme:
name: material
palette:
- media: "(prefers-color-scheme: light)"
scheme: default
primary: indigo
toggle:
icon: material/weather-sunny
name: Light
- media: "(prefers-color-scheme: dark)"
scheme: slate
primary: deep orange
toggle:
icon: material/weather-night
name: Dark
# Default Language
language: zh
direction: ltr
# Icon
icon:
repo: fontawesome/brands/git-alt
# Features
features:
# Navigation
- navigation.tabs
- navigation.indexes
# - navigation.sections
- navigation.top
- navigation.expand
# Content Table
- content.tabs.link
# No Right Side Bar
# - toc.integrate
# Nav Bar
nav:
- 主页: index.md
- API:
- api/index.md
- 工具类:
- api/util/pinyin.md
- 网络平台:
- BiliBili:
- api/web/bilibili/userinfo.md
# - Social:
extra:
alternate:
- name: 中文(简体)
link: /
lang: zh
# - name: English
# link: /en/
# lang: en
social:
- icon: fontawesome/brands/github
link: https://github.com/Cnily03
extra_css:
- stylesheets/extra.css
- stylesheets/extra_admonitions.css
- stylesheets/extra_others.css
# Plugins
plugins:
- minify:
minify_html: true
markdown_extensions:
# Code Blocks
- pymdownx.highlight:
anchor_linenums: true
- pymdownx.inlinehilite
- pymdownx.snippets
- pymdownx.superfences
# List
- def_list
- pymdownx.tasklist:
custom_checkbox: true
# Buttons
- attr_list
# Tables
- tables
# Content Table
- pymdownx.superfences
- pymdownx.tabbed:
alternate_style: true
# Icons + Emojis
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
# Formatting
- pymdownx.critic
- pymdownx.caret
- pymdownx.keys
- pymdownx.mark
- pymdownx.tilde
# Admonitions
- admonition
- pymdownx.details
- pymdownx.superfences
# Permanent Link
- toc:
permalink: true
permalink_title: 锚点连接至此节