diff --git a/package.json b/package.json index af96077bc..b2cf4758b 100644 --- a/package.json +++ b/package.json @@ -102,13 +102,6 @@ "esm": "3.2.25", "jasmine": "4.5.0", "jsdoc": "4.0.1", - "build-api-docs": "./bin/build-api-docs.sh", - "postinstall": "node src-build/fix_pdfjs.js" - "better-sqlite3": "8.1.0", - "canvas": "2.11.0", - "ocrad.js": "antimatter15/ocrad.js#master", - "pdfjs-dist": "3.3.122", - "electron": "23.1.0", "lorem-ipsum": "2.0.8", "rcedit": "3.0.1", "webpack": "5.75.0", diff --git a/src/public/app/components/root_command_executor.js b/src/public/app/components/root_command_executor.js index d5403d990..12bf68156 100644 --- a/src/public/app/components/root_command_executor.js +++ b/src/public/app/components/root_command_executor.js @@ -106,6 +106,10 @@ export default class RootCommandExecutor extends Component { await this.showAndHoistSubtree('_search'); } + async showUserGuideCommand() { + await this.showAndHoistSubtree('_userGuide'); + } + async showAndHoistSubtree(subtreeNoteId) { await appContext.tabManager.openContextWithNote(subtreeNoteId, { activate: true, diff --git a/src/public/app/widgets/buttons/global_menu.js b/src/public/app/widgets/buttons/global_menu.js index 8108655b7..653cb684a 100644 --- a/src/public/app/widgets/buttons/global_menu.js +++ b/src/public/app/widgets/buttons/global_menu.js @@ -75,7 +75,7 @@ const TPL = ` margin-right: 5px; } - body.mobile .show-help-button, body.mobile .show-about-dialog-button { + body.mobile .show-user-guide-button, body.mobile .show-about-dialog-button { /* hidden because these dialogs are not available for mobile */ display: none; } @@ -195,10 +195,10 @@ const TPL = ` -