File tree 3 files changed +49
-0
lines changed
3 files changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ require ( [
2
+ 'gitbook' ,
3
+ 'jquery'
4
+ ] , function ( gitbook , $ ) {
5
+ var link = $ ( '.gitbook-link' )
6
+ link . attr ( 'href' , 'http://zbcc.net.cn' )
7
+ link . text ( 'Published by Zimy' )
8
+ } )
Original file line number Diff line number Diff line change
1
+ module . exports = {
2
+ book :{
3
+ assets :'./assets' ,
4
+ js :[
5
+ 'rmlink.js'
6
+ ]
7
+ }
8
+ }
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " gitbook-plugin-custom" ,
3
+ "version" : " 0.0.1" ,
4
+ "description" : " a plugin to remove link 'published with gitbook'" ,
5
+ "main" : " index.js" ,
6
+ "engines" : {
7
+ "gitbook" : " >1.x.x"
8
+ },
9
+ "scripts" : {
10
+ "test" : " echo \" Error: no test specified\" && exit 1"
11
+ },
12
+ "keywords" : [
13
+ " gitbook" ,
14
+ " gibook-plugin" ,
15
+ " plugin"
16
+ ],
17
+ "author" : " XXX" ,
18
+ "license" : " ISC" ,
19
+ "gitbook" : {
20
+ "properties" : {
21
+ "publisher" : {
22
+ "type" : " string" ,
23
+ "default" : " Zimy" ,
24
+ "description" : " describe who publish this doc!"
25
+ },
26
+ "link" : {
27
+ "type" : " string" ,
28
+ "default" : " http://zbcc.net.cn" ,
29
+ "description" : " the link when you click"
30
+ }
31
+ }
32
+ }
33
+ }
You can’t perform that action at this time.
0 commit comments