Skip to content

Commit

Permalink
fix: regenerating docs and schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Maietta committed Jul 4, 2022
1 parent 4c867aa commit f70abf1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
5 changes: 4 additions & 1 deletion docs/configuration/snap.md
Expand Up @@ -28,7 +28,7 @@ The top-level [snap](configuration.md#Configuration-snap) key contains set of op
<p><code id="SnapOptions-hooks">hooks</code> = <code>build/snap-hooks</code> String | “undefined” - The <a href="https://docs.snapcraft.io/build-snaps/hooks">hooks</a> directory, relative to <code>build</code> (build resources directory).</p>
</li>
<li>
<p><code id="SnapOptions-plugs">plugs</code> Array&lt;String | SnapOptions.PlugDescriptor&gt; - The list of <a href="https://snapcraft.io/docs/reference/interfaces">plugs</a>. Defaults to <code>[&quot;desktop&quot;, &quot;desktop-legacy&quot;, &quot;home&quot;, &quot;x11&quot;, &quot;unity7&quot;, &quot;browser-support&quot;, &quot;network&quot;, &quot;gsettings&quot;, &quot;audio-playback&quot;, &quot;pulseaudio&quot;, &quot;opengl&quot;]</code>.</p>
<p><code id="SnapOptions-plugs">plugs</code> Array&lt;String | SnapOptions.PlugDescriptor&gt; - The list of <a href="https://snapcraft.io/docs/reference/interfaces">plugs</a>. Defaults to <code>[&quot;desktop&quot;, &quot;desktop-legacy&quot;, &quot;home&quot;, &quot;x11&quot;, &quot;wayland&quot;, &quot;unity7&quot;, &quot;browser-support&quot;, &quot;network&quot;, &quot;gsettings&quot;, &quot;audio-playback&quot;, &quot;pulseaudio&quot;, &quot;opengl&quot;]</code>.</p>
<p>If list contains <code>default</code>, it will be replaced to default list, so, <code>[&quot;default&quot;, &quot;foo&quot;]</code> can be used to add custom plug <code>foo</code> in addition to defaults.</p>
<p>Additional attributes can be specified using object instead of just name of plug: <code>[ { &quot;browser-sandbox&quot;: { &quot;interface&quot;: &quot;browser-support&quot;, &quot;allow-sandbox&quot;: true }, }, &quot;another-simple-plug-name&quot; ]</code></p>
</li>
Expand Down Expand Up @@ -60,6 +60,9 @@ The top-level [snap](configuration.md#Configuration-snap) key contains set of op
<li>
<p><code id="SnapOptions-compression">compression</code> “xz” | “lzo” | “undefined” - Sets the compression type for the snap. Can be xz, lzo, or null.</p>
</li>
<li>
<p><code id="SnapOptions-allowNativeWayland">allowNativeWayland</code> Boolean | “undefined” - Allow running the program with native wayland support with --ozone-platform=wayland. Disabled by default because of this issue in older Electron/Snap versions: <a href="https://github.com/electron-userland/electron-builder/issues/4007">https://github.com/electron-userland/electron-builder/issues/4007</a></p>
</li>
</ul>
<p>Inherited from <code>CommonLinuxOptions</code>:</p>
<ul>
Expand Down
9 changes: 8 additions & 1 deletion packages/app-builder-lib/scheme.json
Expand Up @@ -4919,6 +4919,13 @@
],
"description": "Specifies any [parts](https://snapcraft.io/docs/reference/parts) that should be built before this part.\nDefaults to `[\"desktop-gtk2\"\"]`.\n\nIf list contains `default`, it will be replaced to default list, so, `[\"default\", \"foo\"]` can be used to add custom parts `foo` in addition to defaults."
},
"allowNativeWayland": {
"description": "Allow running the program with native wayland support with --ozone-platform=wayland.\nDisabled by default because of this issue in older Electron/Snap versions: https://github.com/electron-userland/electron-builder/issues/4007",
"type": [
"null",
"boolean"
]
},
"appPartStage": {
"anyOf": [
{
Expand Down Expand Up @@ -5124,7 +5131,7 @@
"type": "null"
}
],
"description": "The list of [plugs](https://snapcraft.io/docs/reference/interfaces).\nDefaults to `[\"desktop\", \"desktop-legacy\", \"home\", \"x11\", \"unity7\", \"browser-support\", \"network\", \"gsettings\", \"audio-playback\", \"pulseaudio\", \"opengl\"]`.\n\nIf list contains `default`, it will be replaced to default list, so, `[\"default\", \"foo\"]` can be used to add custom plug `foo` in addition to defaults.\n\nAdditional attributes can be specified using object instead of just name of plug:\n```\n[\n {\n \"browser-sandbox\": {\n \"interface\": \"browser-support\",\n \"allow-sandbox\": true\n },\n },\n \"another-simple-plug-name\"\n]\n```"
"description": "The list of [plugs](https://snapcraft.io/docs/reference/interfaces).\nDefaults to `[\"desktop\", \"desktop-legacy\", \"home\", \"x11\", \"wayland\", \"unity7\", \"browser-support\", \"network\", \"gsettings\", \"audio-playback\", \"pulseaudio\", \"opengl\"]`.\n\nIf list contains `default`, it will be replaced to default list, so, `[\"default\", \"foo\"]` can be used to add custom plug `foo` in addition to defaults.\n\nAdditional attributes can be specified using object instead of just name of plug:\n```\n[\n {\n \"browser-sandbox\": {\n \"interface\": \"browser-support\",\n \"allow-sandbox\": true\n },\n },\n \"another-simple-plug-name\"\n]\n```"
},
"publish": {
"anyOf": [
Expand Down

0 comments on commit f70abf1

Please sign in to comment.