Skip to content

Commit a4d4c13

Browse files
committed
[feat]add edit on github and copy code
1 parent f1f0341 commit a4d4c13

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
<body>
1616
<div id="app"></div>
17+
<!-- docsify-edit-on-github -->
18+
<script src="//unpkg.com/docsify-edit-on-github/index.js"></script>
1719
<script>
1820
window.$docsify = {
1921
name: 'JavaGuide',
@@ -32,7 +34,7 @@
3234
depth: 3,
3335
},
3436
plugins: [
35-
EditOnGithubPlugin.create('https://github.com/Snailclimb/JavaGuide/tree/master/docs')
37+
EditOnGithubPlugin.create('https://github.com/Snailclimb/JavaGuide/blob/master/')
3638
],
3739

3840
}
@@ -48,8 +50,6 @@
4850
-->
4951
<!-- 复制到剪贴板 -->
5052
<script src="//unpkg.com/docsify-copy-code"></script>
51-
<!-- docsify-edit-on-github -->
52-
<script src="//unpkg.com/docsify-edit-on-github/index.js"></script>
5353
</body>
5454

5555
</html>

0 commit comments

Comments
 (0)