mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-15 14:20:38 +08:00
14 lines
388 B
JavaScript
14 lines
388 B
JavaScript
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)
|
|
}
|
|
});
|
|
});
|
|
});
|