diff --git a/packages/frontend/electron/src/main/application-menu/create.ts b/packages/frontend/electron/src/main/application-menu/create.ts index 70a3fa0f0..c2b22688f 100644 --- a/packages/frontend/electron/src/main/application-menu/create.ts +++ b/packages/frontend/electron/src/main/application-menu/create.ts @@ -143,6 +143,16 @@ export function createApplicationMenu() { await checkForUpdates(); }, }, + { + label: 'Documentation', + click: async () => { + // eslint-disable-next-line @typescript-eslint/no-var-requires + const { shell } = require('electron'); + await shell.openExternal( + 'https://docs.affine.pro/docs/hello-bonjour-aloha-你好' + ); + }, + }, ], }, ];