Skip to content

Commit 6dbd559

Browse files
author
JavasHub
committed
update theme
1 parent 689186b commit 6dbd559

File tree

3 files changed

+45
-27
lines changed

3 files changed

+45
-27
lines changed

config/config.json

Lines changed: 11 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,13 @@
11
{
2-
"index_name": "imlyk",
3-
"rateLimit": 8,
4-
"start_urls": [
5-
"https://imlyk.cn/"
6-
],
7-
"discoveryPatterns": ["https://imlyk.cn/**"],
8-
"recordProps": {
9-
"lvl0": {
10-
"selectors": ".sidebar-heading.active",
11-
"defaultValue": "Documentation"
12-
},
13-
"lvl1": ".theme-hope-content h1",
14-
"lvl2": ".theme-hope-content h2",
15-
"lvl3": ".theme-hope-content h3",
16-
"lvl4": ".theme-hope-content h4",
17-
"lvl5": ".theme-hope-content h5",
18-
"lvl6": ".theme-hope-content h6",
19-
"content": ".theme-hope-content p, .theme-hope-content ul, .theme-hope-content li"
20-
},
21-
"indexHeadings": true,
22-
"scrape_start_urls": false,
23-
"strip_chars": " .,;:#",
24-
"custom_settings": {
25-
"attributesForFaceting": [
26-
"lang"
27-
]
28-
}
2+
"index_name": "imlyk",
3+
"start_urls": ["https://imlyk.cn/", "https://www.imlyk.cn/"],
4+
"selectors": {
5+
"lvl0": "#content header h1",
6+
"lvl1": "#content article h1",
7+
"lvl2": "#content section h3",
8+
"lvl3": "#content section h4",
9+
"lvl4": "#content section h5",
10+
"lvl5": "#content section h6",
11+
"text": "#content header p,#content section p,#content section ol"
12+
}
2913
}

config/config.json.bak

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"index_name": "imlyk",
3+
"rateLimit": 8,
4+
"start_urls": [
5+
"https://imlyk.cn/"
6+
],
7+
"discoveryPatterns": ["https://imlyk.cn/**"],
8+
"recordProps": {
9+
"lvl0": {
10+
"selectors": ".sidebar-heading.active",
11+
"defaultValue": "Documentation"
12+
},
13+
"lvl1": ".theme-hope-content h1",
14+
"lvl2": ".theme-hope-content h2",
15+
"lvl3": ".theme-hope-content h3",
16+
"lvl4": ".theme-hope-content h4",
17+
"lvl5": ".theme-hope-content h5",
18+
"lvl6": ".theme-hope-content h6",
19+
"content": ".theme-hope-content p, .theme-hope-content ul, .theme-hope-content li"
20+
},
21+
"indexHeadings": true,
22+
"scrape_start_urls": false,
23+
"strip_chars": " .,;:#",
24+
"custom_settings": {
25+
"attributesForFaceting": [
26+
"lang"
27+
]
28+
}
29+
}

src/demo/markdown.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ VuePress 主要从 Markdown 文件生成页面。因此,你可以使用它轻
1414

1515
<!-- more -->
1616

17+
# 一级标题
18+
## 二级标题
19+
### 三级标题
20+
21+
1722
## Markdown 介绍
1823

1924
如果你是一个新手,还不会编写 Markdown,请先阅读 [Markdown 介绍](https://theme-hope.vuejs.press/zh/cookbook/markdown/)[Markdown 演示](https://theme-hope.vuejs.press/zh/cookbook/markdown/demo.html)

0 commit comments

Comments
 (0)