testing for new gitbook

This commit is contained in:
Oopsguy
2019-07-13 03:00:33 +08:00
parent 345544dc32
commit 41ce752637
683 changed files with 115459 additions and 7 deletions

14
node_modules/gitbook-plugin-github/assets/plugin.js generated vendored Normal file
View File

@ -0,0 +1,14 @@
require([ 'gitbook' ], function (gitbook) {
gitbook.events.bind('start', function (e, config) {
var githubURL = config.github.url;
gitbook.toolbar.createButton({
icon: 'fa fa-github',
label: 'GitHub',
position: 'right',
onClick: function() {
window.open(githubURL)
}
});
});
});