diff --git a/CHANGELOG.md b/CHANGELOG.md index 65376a99..5d5e7ad5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -30,6 +30,7 @@ - Added **Add** button next to the "Teams" label on the Setting page. - Added **Edit** button on the team list on the Setting page. - Added **Help** menu to indicate the application version. +- Added **Mattermost Docs** menu item under **Help** linking to the mattermost docs. - Added auto-reloading when the tab failed to load the team. #### Windows diff --git a/docs/setup.md b/docs/setup.md index 12876a14..721d8cba 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -158,6 +158,7 @@ Below lists menu options (shortcut keys are listed in brackets, `Ctrl` becomes ` - **Select Next Team** (Ctrl+Tab, Alt+Command+Right) - Open the right tab - **Select Previous Team** (Ctrl+Shift+Tab, Alt+Command+Left) - Open the left tab - **Help** + - ***Mattermost Docs*** Links to the official mattermost documentation - ***Version*** Indicate the application version diff --git a/src/main/menus/app.js b/src/main/menus/app.js index 7a81dd76..cb193137 100644 --- a/src/main/menus/app.js +++ b/src/main/menus/app.js @@ -224,6 +224,13 @@ var createTemplate = function(mainWindow, config) { template.push({ label: '&Help', submenu: [{ + label: `${app_name} Docs`, + click: function() { + electron.shell.openExternal('http://docs.mattermost.com') + } + }, { + type: 'separator' + }, { label: `Version ${electron.app.getVersion()}`, enabled: false }, ]