Commit 0a731698 authored by carlosperate's avatar carlosperate

Update menus for the documentation.

parent 7b20a5c2
......@@ -88,6 +88,7 @@
<li id="menu_save"><a href="#">Save<i class="mdi-file-file-download left"></i></a></li>
<li id="menu_delete"><a href="#">Delete All<i class="mdi-action-delete left"></i></a></li>
<li id="menu_settings"><a href="#">Settings<i class="mdi-action-settings left"></i></a></li>
<li id="menu_bug"><a href="https://github.com/carlosperate/ardublockly/wiki" target="_blank">Documentation<i class="mdi-action-help left"></i></a></li>
<li id="menu_bug"><a href="http://github.com/carlosperate/ardublockly/issues" target="_blank">Report Bug<i class="mdi-action-bug-report left"></i></a></li>
</ul>
<li class="no-padding">
......
......@@ -341,15 +341,14 @@ var getHelpMenuData = function() {
submenu: [
{
label: 'Quick Start',
click: function() {
click: function() {
shell.openExternal(
'http://localhost:8000/documentation/Quick-Start');
'http://localhost:8000/docs/Quick-Start');
}
}, {
label: 'Manual',
click: function() {
shell.openExternal(
'http://localhost:8000/documentation/Quick-Start');
shell.openExternal('http://localhost:8000/docs/');
}
}, {
type: 'separator'
......@@ -365,7 +364,7 @@ var getHelpMenuData = function() {
'https://github.com/carlosperate/ardublockly');
}
}, {
label: 'Report bug',
label: 'Report a bug',
click: function() {
shell.openExternal(
'https://github.com/carlosperate/ardublockly/issues');
......@@ -374,7 +373,9 @@ var getHelpMenuData = function() {
type: 'separator'
}, {
label: 'About',
click: functionNotImplemented
click: function() {
shell.openExternal('http://localhost:8000/docs/About');
}
}
]
};
......@@ -388,7 +389,8 @@ var getDevMenuData = function() {
label: 'Reload',
accelerator: 'CmdOrCtrl+F5',
click: function() {
BrowserWindow.getFocusedWindow().webContents.reloadIgnoringCache();
BrowserWindow.getFocusedWindow().webContents
.reloadIgnoringCache();
}
}, {
label: 'Toggle DevTools',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment