mirror of
https://github.com/DocsHome/microservices.git
synced 2025-11-07 22:16:01 +08:00
testing for new gitbook
This commit is contained in:
14
node_modules/gitbook-plugin-github/assets/plugin.js
generated
vendored
Normal file
14
node_modules/gitbook-plugin-github/assets/plugin.js
generated
vendored
Normal 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)
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user