File tree Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change 20
20
}
21
21
22
22
</ style >
23
+
24
+ <!-- Plugins needed before app definition. -->
25
+ < script src ="//unpkg.com/docsify-edit-on-github/index.js "> </ script >
26
+
23
27
</ head >
24
28
25
29
< body >
26
30
< div id ="app "> </ div >
31
+
27
32
< script >
33
+ var repo = 'https://github.com/MichaelCurrin/python-twitter-guide' ;
34
+
28
35
window . $docsify = {
29
36
name : 'DocsifyJS Tutorial' ,
30
- repo : 'https://github.com/michaelcurrin/docsify-js-tutorial' ,
37
+ repo : repo ,
31
38
auto2top : true , // This helps a lot when switching between sections by menu.
32
39
coverpage : true ,
33
- loadSidebar : false
34
- }
40
+ loadSidebar : false ,
41
+
42
+ plugins : [
43
+ EditOnGithubPlugin . create (
44
+ repo + '/blob/master/docs/'
45
+ )
46
+ ] ,
47
+ } ;
35
48
36
49
</ script >
37
50
38
51
< script src ="//unpkg.com/docsify/lib/docsify.min.js "> </ script >
52
+
39
53
</ body >
40
54
41
55
</ html >
You can’t perform that action at this time.
0 commit comments