Commit 0a731698 authored by carlosperate's avatar carlosperate

Update menus for the documentation.

parent 7b20a5c2
...@@ -88,6 +88,7 @@ ...@@ -88,6 +88,7 @@
<li id="menu_save"><a href="#">Save<i class="mdi-file-file-download left"></i></a></li> <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_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_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> <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> </ul>
<li class="no-padding"> <li class="no-padding">
......
...@@ -343,13 +343,12 @@ var getHelpMenuData = function() { ...@@ -343,13 +343,12 @@ var getHelpMenuData = function() {
label: 'Quick Start', label: 'Quick Start',
click: function() { click: function() {
shell.openExternal( shell.openExternal(
'http://localhost:8000/documentation/Quick-Start'); 'http://localhost:8000/docs/Quick-Start');
} }
}, { }, {
label: 'Manual', label: 'Manual',
click: function() { click: function() {
shell.openExternal( shell.openExternal('http://localhost:8000/docs/');
'http://localhost:8000/documentation/Quick-Start');
} }
}, { }, {
type: 'separator' type: 'separator'
...@@ -365,7 +364,7 @@ var getHelpMenuData = function() { ...@@ -365,7 +364,7 @@ var getHelpMenuData = function() {
'https://github.com/carlosperate/ardublockly'); 'https://github.com/carlosperate/ardublockly');
} }
}, { }, {
label: 'Report bug', label: 'Report a bug',
click: function() { click: function() {
shell.openExternal( shell.openExternal(
'https://github.com/carlosperate/ardublockly/issues'); 'https://github.com/carlosperate/ardublockly/issues');
...@@ -374,7 +373,9 @@ var getHelpMenuData = function() { ...@@ -374,7 +373,9 @@ var getHelpMenuData = function() {
type: 'separator' type: 'separator'
}, { }, {
label: 'About', label: 'About',
click: functionNotImplemented click: function() {
shell.openExternal('http://localhost:8000/docs/About');
}
} }
] ]
}; };
...@@ -388,7 +389,8 @@ var getDevMenuData = function() { ...@@ -388,7 +389,8 @@ var getDevMenuData = function() {
label: 'Reload', label: 'Reload',
accelerator: 'CmdOrCtrl+F5', accelerator: 'CmdOrCtrl+F5',
click: function() { click: function() {
BrowserWindow.getFocusedWindow().webContents.reloadIgnoringCache(); BrowserWindow.getFocusedWindow().webContents
.reloadIgnoringCache();
} }
}, { }, {
label: 'Toggle DevTools', 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