aboutsummaryrefslogtreecommitdiff
path: root/index.html
diff options
context:
space:
mode:
authorruki <waruqi@gmail.com>2019-06-23 09:38:17 +0800
committerruki <waruqi@gmail.com>2019-06-23 09:38:17 +0800
commit516f960821060415426dfaab2577da29bdfd12cc (patch)
tree51c3b339ad9570681000ae0a5c70b838690f3f78 /index.html
parentbdd4f3e13e16d708b831c540dd4847bfa30f3273 (diff)
downloadxmake-docs-516f960821060415426dfaab2577da29bdfd12cc.tar.gz
xmake-docs-516f960821060415426dfaab2577da29bdfd12cc.zip
fix image path
Diffstat (limited to 'index.html')
-rw-r--r--index.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/index.html b/index.html
index 00348685..3d8f5e3e 100644
--- a/index.html
+++ b/index.html
@@ -3,7 +3,7 @@
<head>
<meta charset="UTF-8">
<title>xmake</title>
- <link rel="icon" href="_media/favicon.ico">
+ <link rel="icon" href="assets/img/favicon.ico">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Description">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
@@ -27,8 +27,16 @@
loadNavbar: true,
mergeNavbar: true,
mergeNavbar: true,
+ relativePath: false,
maxLevel: 6,
subMaxLevel: 4,
+ markdown: {
+ renderer: {
+ image: function(href, title) {
+ return `<img src="${href}"/>`
+ }
+ }
+ },
alias: {
<!-- compatible with previous links -->
'/home': '/old/README',