Skip to content

Commit

Permalink
whitspace in permissions docs
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir committed Sep 26, 2024
1 parent a59973c commit dc6ccfd
Show file tree
Hide file tree
Showing 11 changed files with 62 additions and 10 deletions.
2 changes: 1 addition & 1 deletion crates/tauri-utils/src/acl/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ commands.deny = ["{command}"]
}

const PERMISSION_TABLE_HEADER: &str =
"## 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";

/// Generate a markdown documentation page containing the list of permissions of the plugin.
pub fn generate_docs(
Expand Down
2 changes: 1 addition & 1 deletion crates/tauri/permissions/app/autogenerated/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Default permissions for the plugin.
- `allow-name`
- `allow-tauri-version`

## Permission Table
## Permission Table

<table>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion crates/tauri/permissions/event/autogenerated/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Default permissions for the plugin.
- `allow-emit`
- `allow-emit-to`

## Permission Table
## Permission Table

<table>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion crates/tauri/permissions/image/autogenerated/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Default permissions for the plugin.
- `allow-rgba`
- `allow-size`

## Permission Table
## Permission Table

<table>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion crates/tauri/permissions/menu/autogenerated/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Default permissions for the plugin.
- `allow-set-checked`
- `allow-set-icon`

## Permission Table
## Permission Table

<table>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion crates/tauri/permissions/path/autogenerated/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Default permissions for the plugin.
- `allow-basename`
- `allow-is-absolute`

## Permission Table
## Permission Table

<table>
<tr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Default permissions for the plugin.

- `allow-close`

## Permission Table
## Permission Table

<table>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion crates/tauri/permissions/tray/autogenerated/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
52 changes: 52 additions & 0 deletions crates/tauri/permissions/webview/autogenerated/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,32 @@ Denies the get_all_webviews command without any pre-configured scope.
<tr>
<td>

`core:webview:allow-hide-webview`

</td>
<td>

Enables the hide_webview command without any pre-configured scope.

</td>
</tr>

<tr>
<td>

`core:webview:deny-hide-webview`

</td>
<td>

Denies the hide_webview command without any pre-configured scope.

</td>
</tr>

<tr>
<td>

`core:webview:allow-internal-toggle-devtools`

</td>
Expand Down Expand Up @@ -305,6 +331,32 @@ Denies the set_webview_zoom command without any pre-configured scope.
<tr>
<td>

`core:webview:allow-show-webview`

</td>
<td>

Enables the show_webview command without any pre-configured scope.

</td>
</tr>

<tr>
<td>

`core:webview:deny-show-webview`

</td>
<td>

Denies the show_webview command without any pre-configured scope.

</td>
</tr>

<tr>
<td>

`core:webview:allow-webview-close`

</td>
Expand Down
2 changes: 1 addition & 1 deletion crates/tauri/permissions/window/autogenerated/reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Default permissions for the plugin.
- `allow-theme`
- `allow-internal-toggle-maximize`

## Permission Table
## Permission Table

<table>
<tr>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

## Permission Table
## Permission Table

<table>
<tr>
Expand Down

0 comments on commit dc6ccfd

Please sign in to comment.