-
Notifications
You must be signed in to change notification settings - Fork 2
/
mkdocs.yml
138 lines (135 loc) · 4.93 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
site_name: uno文档
repo_name: uno
repo_url: https://github.com/ClearXs/uno
site_author: J.x (jiangw1027@gmail.com)
copyright: Copyright © 2023 - 2024 ClearX
nav:
- README.md
- core: core.md
- data: data.md
- rule: rule.md
- web: web.md
- test: test.md
- gis: gis.md
- auto: auto.md
- bom: bom.md
- plugins: plugins.md
- components:
- http: components/http.md
- kafka: components/kafka.md
- media: components/media.md
- netty: components/netty.md
- sequential: components/sequential.md
- websocket: components/websocket.md
- starter: starter.md
theme:
# https://squidfunk.github.io/mkdocs-material/creating-your-site/#configuration
name: material
# https://squidfunk.github.io/mkdocs-material/setup/changing-the-colors/
palette:
- scheme: default
toggle:
icon: material/brightness-7
primary: indigo
accent: light blue
- scheme: slate
toggle:
icon: material/brightness-4
primary: indigo
accent: grey
# https://squidfunk.github.io/mkdocs-material/setup/changing-the-fonts/
font:
text: Nunito Sans
code: Roboto Mono
logo: favicon.png
favicon: favicon.png
features:
# Navigation
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/
- navigation.instant # some features may not work properly with XHR
- navigation.tracking # the URL changes with the active anchor
- navigation.instant.prefetch
- navigation.tabs # first top-level folders are shown as tabs
- navigation.tabs.sticky # tabs always show
- navigation.prune
- navigation.sections # second-level folders are expanded
- navigation.expand # all folders are expanded
- navigation.indexes # link an index page to its parent folder
- navigation.top # show the back-to-top button
- toc.integrate # show the table of contents in the navigation panel
# Search
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-site-search
- search.suggest # display the likeliest completion for the last word
- search.highlight # highlight all occurrences
- search.share # show a share button of the current search
# Header
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-the-header/
- header.autohide # hide the post title when scroll down
# Content
# https://squidfunk.github.io/mkdocs-material/reference/code-blocks/#adding-annotations
- content.code.annotate # add comment to code blocks
- content.tabs.link # link tabs with the same label
- content.tooltips
#
# Plugins
#
plugins:
- tags
- search: # must be included at the first place
lang:
- en
- zh
separator: '[\s\u200b\-]'
- offline
#
# Extensions
#
markdown_extensions:
- abbr # add a small tooltip to elements
- admonition # add call-out blocks
- attr_list # allow to add HTML attributes and CSS classes
- def_list # add description lists
- footnotes # define inline footnotes
- meta # attach arbitrary key-value pairs to a document
- md_in_html # allow to write Markdown inside HTML elements
- tables # create tables in Markdown
- toc: # generate a table of contents from documents
permalink: '#' # anchor
toc_depth: 4 # header 1 to header 4
slugify: !!python/name:pymdownx.slugs.uslugify # convert title to html-compatible text
- sane_lists # make better lists
- smarty: # convert some special characters
smart_angled_quotes: true
- pymdownx.highlight:
anchor_linenums: true
# - pymdownx.betterem: # improve the detection of Markup to emphasize text in Markdown
# smart_enable: all
- pymdownx.caret # define superscript
- pymdownx.mark # highlight text
- pymdownx.tilde # define subscript
- pymdownx.critic # track changes
- pymdownx.details # add collapsible call-outs
- pymdownx.emoji: # add inlines bundled and custom icons and emojis
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
- pymdownx.superfences # define code blocks and nesting of code
- pymdownx.highlight: # highlight of code blocks
linenums_style: pymdownx-inline
# anchor_linenums: true # create anchor link on each line of code
- pymdownx.inlinehilite # highlight inline code blocks
- pymdownx.smartsymbols # convert some sequences of characters into their corresponding symbols
- pymdownx.snippets: # embed content from arbitrary files into a document
check_paths: true
- pymdownx.tabbed: # group related content and code blocks under accessible tabs
alternate_style: true
- pymdownx.tasklist: # define list of task with checkbox
custom_checkbox: true
- pymdownx.escapeall:
hardbreak: true # use \ to create new line
nbsp: true # use \<space> to create
# - pymdownx.keys # syntax ++ctrl+c++ does not look clear in MD document
- pymdownx.progressbar
extra:
version:
provider: mike
disqus: "vuquangtrong-github-io"