diff --git a/.changes/utils-fix-plugin-reference.md b/.changes/utils-fix-plugin-reference.md new file mode 100644 index 000000000..3f7baa4ff --- /dev/null +++ b/.changes/utils-fix-plugin-reference.md @@ -0,0 +1,5 @@ +--- +"tauri-utils": patch:bug +--- + +Fix plugin permissions documentation heading for permissions table. diff --git a/core/tauri-utils/src/acl/build.rs b/core/tauri-utils/src/acl/build.rs index 3e1b686c3..7cadf044d 100644 --- a/core/tauri-utils/src/acl/build.rs +++ b/core/tauri-utils/src/acl/build.rs @@ -242,7 +242,7 @@ pub fn generate_docs( ) -> Result<(), Error> { let mut permission_table = "".to_string(); let permission_table_header = - "### Permission Table \n\n\n\n\n\n\n" + "## Permission Table \n\n
IdentifierDescription
\n\n\n\n\n" .to_string(); let mut default_permission = "## Default Permission\n\n".to_string(); diff --git a/core/tauri/permissions/app/autogenerated/reference.md b/core/tauri/permissions/app/autogenerated/reference.md index 93e6e66d3..078901e45 100644 --- a/core/tauri/permissions/app/autogenerated/reference.md +++ b/core/tauri/permissions/app/autogenerated/reference.md @@ -6,7 +6,7 @@ Default permissions for the plugin. - `allow-name` - `allow-tauri-version` -### Permission Table +## Permission Table
IdentifierDescription
diff --git a/core/tauri/permissions/event/autogenerated/reference.md b/core/tauri/permissions/event/autogenerated/reference.md index b541931a3..23bbd93f4 100644 --- a/core/tauri/permissions/event/autogenerated/reference.md +++ b/core/tauri/permissions/event/autogenerated/reference.md @@ -7,7 +7,7 @@ Default permissions for the plugin. - `allow-emit` - `allow-emit-to` -### Permission Table +## Permission Table
diff --git a/core/tauri/permissions/image/autogenerated/reference.md b/core/tauri/permissions/image/autogenerated/reference.md index b38fd327a..1b31bc922 100644 --- a/core/tauri/permissions/image/autogenerated/reference.md +++ b/core/tauri/permissions/image/autogenerated/reference.md @@ -8,7 +8,7 @@ Default permissions for the plugin. - `allow-rgba` - `allow-size` -### Permission Table +## Permission Table
diff --git a/core/tauri/permissions/menu/autogenerated/reference.md b/core/tauri/permissions/menu/autogenerated/reference.md index 4f1f1a3a4..94b73f6ab 100644 --- a/core/tauri/permissions/menu/autogenerated/reference.md +++ b/core/tauri/permissions/menu/autogenerated/reference.md @@ -25,7 +25,7 @@ Default permissions for the plugin. - `allow-set-checked` - `allow-set-icon` -### Permission Table +## Permission Table
diff --git a/core/tauri/permissions/path/autogenerated/reference.md b/core/tauri/permissions/path/autogenerated/reference.md index 36a9c8ade..cce9db73a 100644 --- a/core/tauri/permissions/path/autogenerated/reference.md +++ b/core/tauri/permissions/path/autogenerated/reference.md @@ -11,7 +11,7 @@ Default permissions for the plugin. - `allow-basename` - `allow-is-absolute` -### Permission Table +## Permission Table
diff --git a/core/tauri/permissions/resources/autogenerated/reference.md b/core/tauri/permissions/resources/autogenerated/reference.md index 247d70287..aadfb4512 100644 --- a/core/tauri/permissions/resources/autogenerated/reference.md +++ b/core/tauri/permissions/resources/autogenerated/reference.md @@ -4,7 +4,7 @@ Default permissions for the plugin. - `allow-close` -### Permission Table +## Permission Table
diff --git a/core/tauri/permissions/tray/autogenerated/reference.md b/core/tauri/permissions/tray/autogenerated/reference.md index a1cb0eb01..0db00c21b 100644 --- a/core/tauri/permissions/tray/autogenerated/reference.md +++ b/core/tauri/permissions/tray/autogenerated/reference.md @@ -14,7 +14,7 @@ Default permissions for the plugin. - `allow-set-icon-as-template` - `allow-set-show-menu-on-left-click` -### Permission Table +## Permission Table
diff --git a/core/tauri/permissions/webview/autogenerated/reference.md b/core/tauri/permissions/webview/autogenerated/reference.md index 1b47019a8..025723215 100644 --- a/core/tauri/permissions/webview/autogenerated/reference.md +++ b/core/tauri/permissions/webview/autogenerated/reference.md @@ -6,7 +6,7 @@ Default permissions for the plugin. - `allow-webview-size` - `allow-internal-toggle-devtools` -### Permission Table +## Permission Table
diff --git a/core/tauri/permissions/window/autogenerated/reference.md b/core/tauri/permissions/window/autogenerated/reference.md index d77549a26..52e77561c 100644 --- a/core/tauri/permissions/window/autogenerated/reference.md +++ b/core/tauri/permissions/window/autogenerated/reference.md @@ -26,7 +26,7 @@ Default permissions for the plugin. - `allow-theme` - `allow-internal-toggle-maximize` -### Permission Table +## Permission Table