Skip to content

Commit 4a0cfa7

Browse files
committed
move settings into a single object
1 parent 2c2ac5f commit 4a0cfa7

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

dev.html

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,14 @@
2323
'/zh-cn/changelog': '/changelog',
2424
'/changelog': 'https://raw.githubusercontent.com/QingWei-Li/docsify/master/CHANGELOG'
2525
},
26+
auto2top: true,
27+
basePath: '/docs/',
28+
executeScript: true,
2629
loadNavbar: true,
27-
executeScript: true
30+
loadSidebar: true,
31+
name: 'docsify',
32+
subMaxLevel: 2
2833
}
2934
</script>
30-
<script
31-
src="/lib/docsify.js"
32-
data-name="docsify"
33-
data-base-path="/docs/"
34-
data-load-sidebar
35-
data-sub-max-level="2"
36-
data-auto2top></script>
35+
<script src="/lib/docsify.min.js"></script>
3736
</html>

0 commit comments

Comments
 (0)