mirror of
https://github.com/moudey/Shell.git
synced 2026-11-16 09:04:25 +08:00
Move static properties section to properties.html
This commit is contained in:
1 parent
89854aaf0b
commit
aca92962f4
3 files changed
+302
-465
No files matched your search
@@ -1,8 +1,8 @@
|
||||
<h4 id="dynamic-items">Dynamic Items</h4>
|
||||
<h4 id="_top">Dynamic Items</h4>
|
||||
<br/>
|
||||
<p>The <code>dynamic</code> section adds <strong>new menu items</strong> to the context menu.</p>
|
||||
<p>The optional <code>dynamic</code> section adds <strong>new menu items</strong> to the context menu.</p>
|
||||
|
||||
<h5 id="dynamic-sub-items">Sub-items</h5>
|
||||
<h5 id="sub-items">Sub-items</h5>
|
||||
<p>The section can have the following entry types, all of which are <strong>optional</strong>:</p>
|
||||
<ul>
|
||||
<li>One <a href="variables.html" class="uline"> <code>var</code> block</a> to define "local" variables.
|
||||
@@ -27,7 +27,7 @@
|
||||
</ul>
|
||||
<p>While the <code>var</code> block should be at the top of the section, the other entries can appear in any order.</p>
|
||||
|
||||
<h5 id="dynamic-items-examples">Example</h5>
|
||||
<h5 id="example">Example</h5>
|
||||
<p>In the following example, one top-level <a href="#item" class="uline"><code>item</code></a> is created, that is
|
||||
separated with a <a href="#separator" class="uline">horizontal line</a> from an adjacent sub-<a href="#menu"
|
||||
class="uline"><span class="is-family-monospace">menu</span></a>, which in turn has one sub-<a href="#item"
|
||||
@@ -66,7 +66,7 @@
|
||||
<h5 id="item-properties">Properties</h5>
|
||||
<p>Either a <a href="properties.html#title" class="uline"><code>title</code></a> or a <a href="properties.html#image"
|
||||
class="uline"><code>image</code></a> property is mandatory (set to a non-null value). For further details,
|
||||
please refer to the <a href="properties.html" class="uline">properties section</a> below.</p>
|
||||
please refer to the <a href="properties.html" class="uline">properties page</a>.</p>
|
||||
|
||||
<h5 id="item-syntax">Syntax</h5>
|
||||
<pre><code class="lang-shell">item( title = value [property = value [...] ])</code></pre>
|
||||
@@ -80,7 +80,7 @@
|
||||
<h5 id="menu-properties">Properties</h5>
|
||||
<p>Either a <a href="properties.html#title" class="uline"><code>title</code></a> or a <a href="properties.html#image"
|
||||
class="uline"><code>image</code></a> property is mandatory (set to a non-null value). For further details,
|
||||
please refer to the <a href="properties.html" class="uline">properties section</a> below.</p>
|
||||
please refer to the <a href="properties.html" class="uline">properties page</a>.</p>
|
||||
|
||||
<h5 id="menu-sub-items">Sub-items</h5>
|
||||
<p><span class="is-family-monospace">menu</span>s can have the following entry types, all of which are
|
||||
@@ -118,7 +118,7 @@
|
||||
|
||||
<h5 id="separator-properties">Properties</h5>
|
||||
<p><span class="is-family-monospace">separator</span>s do not have any mandatory properties. Please refer to the <a
|
||||
href="properties.html" class="uline">properties section</a> below for further details.</p>
|
||||
href="properties.html" class="uline">properties page</a> for further details.</p>
|
||||
|
||||
<h5 id="separator-syntax">Syntax</h5>
|
||||
<pre><code class="lang-shell">separator
|
||||
|
||||
+280
-119
File diff suppressed because it is too large.
Load diff
+15
-339
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user