diff --git a/packages/js-api-generator/build.ts b/packages/js-api-generator/build.ts index 59c121a8c0..a8bdae4d73 100644 --- a/packages/js-api-generator/build.ts +++ b/packages/js-api-generator/build.ts @@ -41,7 +41,8 @@ const typeDocConfigBaseOptions: Partial = { hideInPageTOC: true, identifiersAsCodeBlocks: true, propertiesFormat: 'table', - enumMembersFormat: 'table', + // Tables do not create links for members so disabling for now to prevent broken links + // enumMembersFormat: 'table', typeDeclarationFormat: 'table', }; @@ -60,13 +61,7 @@ async function generator() { console.log('Tauri submodule is not initialized, respective API routes will not be rendered.'); } - // TODO: the following plugins don't have a JS API: - // 'localhost', - // 'persisted-scope', - // 'single-instance', - const plugins = [ - 'app', 'authenticator', 'autostart', 'barcode-scanner', @@ -89,7 +84,6 @@ async function generator() { 'updater', 'upload', 'websocket', - 'window', 'window-state', ]; diff --git a/packages/plugins-workspace b/packages/plugins-workspace index 8e8ba52766..d4d1633c4d 160000 --- a/packages/plugins-workspace +++ b/packages/plugins-workspace @@ -1 +1 @@ -Subproject commit 8e8ba52766c9ed44774df2e7e8e537241b98cb4a +Subproject commit d4d1633c4d0b63b26db987037d1ed7e57d5cefbe diff --git a/packages/tauri b/packages/tauri index 713f84db2b..3acf0d2ba4 160000 --- a/packages/tauri +++ b/packages/tauri @@ -1 +1 @@ -Subproject commit 713f84db2b5bf17e4217053a229f9c11cbb22c74 +Subproject commit 3acf0d2ba4353c0209568d38863062dc50200ed6 diff --git a/src/components/list/JavaScript.astro b/src/components/list/JavaScript.astro index 00e2819ff8..a5aaa8af80 100644 --- a/src/components/list/JavaScript.astro +++ b/src/components/list/JavaScript.astro @@ -6,7 +6,6 @@ const base = '2/reference/js'; const entries = [ 'core', - 'app', 'authenticator', 'autostart', 'barcode-scanner', @@ -29,7 +28,6 @@ const entries = [ 'updater', 'upload', 'websocket', - 'window', 'window-state', ]; diff --git a/src/content/docs/guides/plugins/develop-mobile.mdx b/src/content/docs/guides/plugins/develop-mobile.mdx index b240f24d31..01f731c4cb 100644 --- a/src/content/docs/guides/plugins/develop-mobile.mdx +++ b/src/content/docs/guides/plugins/develop-mobile.mdx @@ -367,7 +367,7 @@ class ExamplePlugin: Plugin { -The helper functionss can then be called from the NPM package by using the [`addPluginListener`](/2/reference/js/core/namespacetauri/#addpluginlistener) helper function: +The helper functionss can then be called from the NPM package by using the [`addPluginListener`](/2/reference/js/core/namespaceprimitives/#addpluginlistener) helper function: ```javascript import { addPluginListener, PluginListener } from '@tauri-apps/api/tauri'; diff --git a/src/content/docs/zh-cn/guides/plugins/develop-mobile.mdx b/src/content/docs/zh-cn/guides/plugins/develop-mobile.mdx index c0c745cff4..b9934606fc 100644 --- a/src/content/docs/zh-cn/guides/plugins/develop-mobile.mdx +++ b/src/content/docs/zh-cn/guides/plugins/develop-mobile.mdx @@ -368,7 +368,7 @@ class ExamplePlugin: Plugin { -辅助函数可以通过使用 [`addPluginListener`](/2/reference/js/core/namespacetauri/#addpluginlistener) 函数在 NPM 包中找到并使用。 +辅助函数可以通过使用 [`addPluginListener`](/2/reference/js/core/namespaceprimitives/#addpluginlistener) 函数在 NPM 包中找到并使用。 ```javascript import { addPluginListener, PluginListener } from '@tauri-apps/api/tauri';