mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-11-24 04:03:52 +03:00
fix(core): plugin permissions documentation heading (#10547)
Co-authored-by: Tillmann <28728469+tweidinger@users.noreply.github.com>
This commit is contained in:
parent
20be073bc4
commit
9fe846615b
5
.changes/utils-fix-plugin-reference.md
Normal file
5
.changes/utils-fix-plugin-reference.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-utils": patch:bug
|
||||
---
|
||||
|
||||
Fix plugin permissions documentation heading for permissions table.
|
@ -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();
|
||||
|
@ -6,7 +6,7 @@ Default permissions for the plugin.
|
||||
- `allow-name`
|
||||
- `allow-tauri-version`
|
||||
|
||||
### Permission Table
|
||||
## Permission Table
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
|
@ -7,7 +7,7 @@ Default permissions for the plugin.
|
||||
- `allow-emit`
|
||||
- `allow-emit-to`
|
||||
|
||||
### Permission Table
|
||||
## Permission Table
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
|
@ -8,7 +8,7 @@ Default permissions for the plugin.
|
||||
- `allow-rgba`
|
||||
- `allow-size`
|
||||
|
||||
### Permission Table
|
||||
## Permission Table
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
|
@ -25,7 +25,7 @@ Default permissions for the plugin.
|
||||
- `allow-set-checked`
|
||||
- `allow-set-icon`
|
||||
|
||||
### Permission Table
|
||||
## Permission Table
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
|
@ -11,7 +11,7 @@ Default permissions for the plugin.
|
||||
- `allow-basename`
|
||||
- `allow-is-absolute`
|
||||
|
||||
### Permission Table
|
||||
## Permission Table
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
|
@ -4,7 +4,7 @@ Default permissions for the plugin.
|
||||
|
||||
- `allow-close`
|
||||
|
||||
### Permission Table
|
||||
## Permission Table
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
|
@ -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>
|
||||
|
@ -6,7 +6,7 @@ Default permissions for the plugin.
|
||||
- `allow-webview-size`
|
||||
- `allow-internal-toggle-devtools`
|
||||
|
||||
### Permission Table
|
||||
## Permission Table
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
|
@ -26,7 +26,7 @@ Default permissions for the plugin.
|
||||
- `allow-theme`
|
||||
- `allow-internal-toggle-maximize`
|
||||
|
||||
### Permission Table
|
||||
## Permission Table
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
|
Loading…
Reference in New Issue
Block a user