fix(core): plugin permissions documentation heading (#10547)

Co-authored-by: Tillmann <28728469+tweidinger@users.noreply.github.com>
This commit is contained in:
Lucas Fernandes Nogueira 2024-08-12 21:58:44 -03:00 committed by GitHub
parent 20be073bc4
commit 9fe846615b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
11 changed files with 15 additions and 10 deletions

View File

@ -0,0 +1,5 @@
---
"tauri-utils": patch:bug
---
Fix plugin permissions documentation heading for permissions table.

View File

@ -242,7 +242,7 @@ pub fn generate_docs(
) -> Result<(), Error> {
let mut permission_table = "".to_string();
let permission_table_header =
"### Permission Table \n\n<table>\n<tr>\n<th>Identifier</th>\n<th>Description</th>\n</tr>\n"
"## Permission Table \n\n<table>\n<tr>\n<th>Identifier</th>\n<th>Description</th>\n</tr>\n"
.to_string();
let mut default_permission = "## Default Permission\n\n".to_string();

View File

@ -6,7 +6,7 @@ Default permissions for the plugin.
- `allow-name`
- `allow-tauri-version`
### Permission Table
## Permission Table
<table>
<tr>

View File

@ -7,7 +7,7 @@ Default permissions for the plugin.
- `allow-emit`
- `allow-emit-to`
### Permission Table
## Permission Table
<table>
<tr>

View File

@ -8,7 +8,7 @@ Default permissions for the plugin.
- `allow-rgba`
- `allow-size`
### Permission Table
## Permission Table
<table>
<tr>

View File

@ -25,7 +25,7 @@ Default permissions for the plugin.
- `allow-set-checked`
- `allow-set-icon`
### Permission Table
## Permission Table
<table>
<tr>

View File

@ -11,7 +11,7 @@ Default permissions for the plugin.
- `allow-basename`
- `allow-is-absolute`
### Permission Table
## Permission Table
<table>
<tr>

View File

@ -4,7 +4,7 @@ Default permissions for the plugin.
- `allow-close`
### Permission Table
## Permission Table
<table>
<tr>

View File

@ -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
<table>
<tr>

View File

@ -6,7 +6,7 @@ Default permissions for the plugin.
- `allow-webview-size`
- `allow-internal-toggle-devtools`
### Permission Table
## Permission Table
<table>
<tr>

View File

@ -26,7 +26,7 @@ Default permissions for the plugin.
- `allow-theme`
- `allow-internal-toggle-maximize`
### Permission Table
## Permission Table
<table>
<tr>