mirror of
https://github.com/moudey/Shell.git
synced 2026-11-16 09:04:25 +08:00
Replace a style with uline class
This commit is contained in:
1 parent
9069c76d0b
commit
625e22358d
5 files changed
+177
-221
No files matched your search
@@ -13,8 +13,7 @@
|
||||
|
||||
<section id="app.cfg" class="my-5">
|
||||
<h5>app.cfg</h5>
|
||||
<p>Returns the path of the <a href="/docs/syntax/index.html#shell.nss"
|
||||
style="border-bottom: 1px solid currentColor;"><span
|
||||
<p>Returns the path of the <a href="/docs/syntax/index.html#shell.nss" class="uline"><span
|
||||
class="is-family-monospace">configuration file</span></a> <code>shell.nss</code> (or <code>shell.shl</code>
|
||||
in older installations).</p>
|
||||
<p>Syntax</p>
|
||||
@@ -72,8 +71,8 @@
|
||||
|
||||
<section id="app.reload" class="my-5">
|
||||
<h5>app.reload</h5>
|
||||
<p>Reload the <a href="/docs/syntax/index.html#shell.nss" style="border-bottom: 1px solid currentColor;"><span
|
||||
class="is-family-monospace">configuration file</span></a>.</p>
|
||||
<p>Reload the <a href="/docs/syntax/index.html#shell.nss" class="uline"><span class="is-family-monospace">configuration file</span></a>.
|
||||
</p>
|
||||
<p>Syntax</p>
|
||||
<pre><code>app.reload // usage in section context
|
||||
'@app.reload' // usage inside quoted-string literals</code></pre>
|
||||
@@ -81,8 +80,8 @@
|
||||
|
||||
<section id="app.unload" class="my-5">
|
||||
<h5>app.unload</h5>
|
||||
<p>Unload the <a href="/docs/syntax/index.html#shell.nss" style="border-bottom: 1px solid currentColor;"><span
|
||||
class="is-family-monospace">configuration file</span></a>.</p>
|
||||
<p>Unload the <a href="/docs/syntax/index.html#shell.nss" class="uline"><span class="is-family-monospace">configuration file</span></a>.
|
||||
</p>
|
||||
<p>Syntax</p>
|
||||
<pre><code>app.unload // usage in section context
|
||||
'@app.unload' // usage inside quoted-string literals</code></pre>
|
||||
|
||||
+40
-40
@@ -6,16 +6,16 @@
|
||||
<br>
|
||||
<p>Shell can be installed in the following ways:</p>
|
||||
<ul>
|
||||
<li><a href="#installer" style="border-bottom: 1px solid currentColor;">Installer</a></li>
|
||||
<li><a href="#portable" style="border-bottom: 1px solid currentColor;">Portable</a></li>
|
||||
<li><a href="#winget" style="border-bottom: 1px solid currentColor;">Windows Package Manager</a></li>
|
||||
<li><a href="#scoop" style="border-bottom: 1px solid currentColor;">Scoop</a></li>
|
||||
<li><a href="#chocolatey" style="border-bottom: 1px solid currentColor;">Chocolatey</a></li>
|
||||
<li><a href="#installer" class="uline">Installer</a></li>
|
||||
<li><a href="#portable" class="uline">Portable</a></li>
|
||||
<li><a href="#winget" class="uline">Windows Package Manager</a></li>
|
||||
<li><a href="#scoop" class="uline">Scoop</a></li>
|
||||
<li><a href="#chocolatey" class="uline">Chocolatey</a></li>
|
||||
</ul><br>
|
||||
<p>Please also note the following reference sections:</p>
|
||||
<ul>
|
||||
<li><a href="#cli" style="border-bottom: 1px solid currentColor;">Command-Line Help</a></li>
|
||||
<li><a href="#keys" style="border-bottom: 1px solid currentColor;">Keys to enable/disable Shell functionalities</a></li>
|
||||
<li><a href="#cli" class="uline">Command-Line Help</a></li>
|
||||
<li><a href="#keys" class="uline">Keys to enable/disable Shell functionalities</a></li>
|
||||
</ul>
|
||||
|
||||
<br>
|
||||
@@ -24,18 +24,17 @@
|
||||
<h5>Installer version</h5>
|
||||
<div id="installer-install">
|
||||
<h5>Install</h5>
|
||||
<p><a href="/download" style="border-bottom: 1px solid currentColor;">Download</a> the
|
||||
installation file (<span class="is-family-monospace">Installer/Portable</span>),
|
||||
run <code>setup.exe</code>,
|
||||
follow the installation steps,
|
||||
and agree to restart Windows File Explorer.</p>
|
||||
<p><a href="/download" class="uline">Download</a> the installation file (<span class="is-family-monospace">Installer/Portable</span>),
|
||||
run <code>setup.exe</code>, follow the installation steps, and agree to restart Windows File Explorer.</p>
|
||||
<p>The program will be installed to <code>C:\Program Files\Nilesoft Shell\</code>, unless you have chosen
|
||||
a different installation path during the installation steps.</p>
|
||||
a different installation path during the installation steps.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div id="installer-uninstall">
|
||||
<h5>Uninstall</h5>
|
||||
<p>Inside the Shell program folder (<code>C:\Program Files\Nilesoft Shell\</code> by default), run the <code>unst000.exe</code> or <code>unstall.exe</code> file, then follow the steps, and then agree to restart Windows File Explorer.</p>
|
||||
<p>Inside the Shell program folder (<code>C:\Program Files\Nilesoft Shell\</code> by default), run the <code>unst000.exe</code>
|
||||
or <code>unstall.exe</code> file, then follow the steps, and then agree to restart Windows File Explorer.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -45,31 +44,30 @@
|
||||
<h5>Portable version</h5>
|
||||
<div id="portable-install">
|
||||
<h5>Install</h5>
|
||||
<p><a href="/download" style="border-bottom: 1px solid currentColor;">Download</a> the
|
||||
<p><a href="/download" class="uline">Download</a> the
|
||||
installation file (<span class="is-family-monospace">Installer/Portable</span>),
|
||||
run <code>setup.exe</code>,
|
||||
click <span class="is-family-monospace">Next</span>, chose the folder you want the program to be extracted to,
|
||||
<strong>Check the option <span class="is-family-monospace">Portable Mode</span></strong>, and click
|
||||
click <span class="is-family-monospace">Next</span>, chose the folder you want the program to be extracted
|
||||
to, <strong>Check the option <span class="is-family-monospace">Portable Mode</span></strong>, and click
|
||||
<span class="is-family-monospace">Extract</span>.</p>
|
||||
<p>Open an <strong>elevated command prompt</strong> (or use <a href="https://github.com/gerardog/gsudo" style="border-bottom: 1px solid currentColor;">gsudo</a>),
|
||||
change to the directory you have extracted the program to,
|
||||
and run</p>
|
||||
<p>Open an <strong>elevated command prompt</strong> (or use <a href="https://github.com/gerardog/gsudo"
|
||||
class="uline">gsudo</a>), change to the directory you have extracted the program to, and run</p>
|
||||
<code>shell -register -restart</code>
|
||||
<p>For further details see the chapter <a href="#cli" style="border-bottom: 1px solid currentColor;">Command-Line Help</a> below.</p>
|
||||
<p>For further details see the chapter <a href="#cli" class="uline">Command-Line Help</a> below.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div id="portable-uninstall">
|
||||
<h5>Uninstall</h5>
|
||||
<p>Open an <strong>elevated command prompt</strong> (or use <a href="https://github.com/gerardog/gsudo" style="border-bottom: 1px solid currentColor;">gsudo</a>),
|
||||
change to the directory you have extracted the program to,
|
||||
and run</p>
|
||||
<p>Open an <strong>elevated command prompt</strong> (or use <a href="https://github.com/gerardog/gsudo"
|
||||
class="uline">gsudo</a>), change to the directory you have extracted the program to, and run</p>
|
||||
<code>shell -unregister -restart</code>
|
||||
<br>
|
||||
<div class="notification is-info is-light mt-5">
|
||||
<i>Tip:</i> Close all instances of Windows File Explorer before uninstalling to avoid needing a reboot after it (Shell) has been uninstalled.
|
||||
<i>Tip:</i> Close all instances of Windows File Explorer before uninstalling to avoid needing a reboot after
|
||||
it (Shell) has been uninstalled.
|
||||
</div>
|
||||
<br>
|
||||
<p>For further details see the chapter <a href="#cli" style="border-bottom: 1px solid currentColor;">Command-Line Help</a> below.</p>
|
||||
<p>For further details see the chapter <a href="#cli" class="uline">Command-Line Help</a> below.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -96,7 +94,7 @@
|
||||
|
||||
<div id="scoop">
|
||||
<h5>Scoop</h5>
|
||||
<p>Scoop can be installed following the instructions at <a href="https://scoop.sh/" style="border-bottom: 1px solid currentColor;">scoop.sh</a>.</p>
|
||||
<p>Scoop can be installed following the instructions at <a href="https://scoop.sh/" class="uline">scoop.sh</a>.</p>
|
||||
<div id="scoop-install">
|
||||
<h5>Install</h5>
|
||||
<p>Open a command prompt, and run</p>
|
||||
@@ -108,16 +106,16 @@
|
||||
<code>scoop bucket add extras</code> first.
|
||||
</div>
|
||||
<br>
|
||||
<p>Open an <strong>elevated command prompt</strong> (or use <a href="https://github.com/gerardog/gsudo" style="border-bottom: 1px solid currentColor;">gsudo</a>),
|
||||
and run</p>
|
||||
<p>Open an <strong>elevated command prompt</strong> (or use <a href="https://github.com/gerardog/gsudo"
|
||||
class="uline">gsudo</a>), and run</p>
|
||||
<code>shell -register -restart</code>
|
||||
<p>For further details see the chapter <a href="#cli" style="border-bottom: 1px solid currentColor;">Command-Line Help</a> below.</p>
|
||||
<p>For further details see the chapter <a href="#cli" class="uline">Command-Line Help</a> below.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div id="scoop-uninstall">
|
||||
<h5>Uninstall</h5>
|
||||
<p>Open an <strong>elevated command prompt</strong> (or use <a href="https://github.com/gerardog/gsudo" style="border-bottom: 1px solid currentColor;">gsudo</a>),
|
||||
and run</p>
|
||||
<p>Open an <strong>elevated command prompt</strong> (or use <a href="https://github.com/gerardog/gsudo"
|
||||
class="uline">gsudo</a>), and run</p>
|
||||
<code>shell -unregister -restart</code>
|
||||
<p>Then run</p>
|
||||
<code>scoop uninstall nilesoft-shell</code>
|
||||
@@ -128,27 +126,29 @@
|
||||
|
||||
<div id="chocolatey">
|
||||
<h5>Chocolatey</h5>
|
||||
<p>Chocolatey can be installed following the instructions at <a href="https://chocolatey.org/install#individual" style="border-bottom: 1px solid currentColor;">chocolatey.org</a>.</p>
|
||||
<p>Chocolatey can be installed following the instructions at <a href="https://chocolatey.org/install#individual"
|
||||
class="uline">chocolatey.org</a>.</p>
|
||||
<div id="chocolatey-install">
|
||||
<h5>Install</h5>
|
||||
<div class="notification is-info is-light mt-5">
|
||||
<i>Notice:</i> Until the package has been moderated, you need to add the specific version string to the installer,
|
||||
adding e.g.<br/>
|
||||
<i>Notice:</i> Until the package has been moderated, you need to add the specific version string to the
|
||||
installer, adding e.g.<br/>
|
||||
<code>choco install nilesoft.shell --version=1.8.1</code><br/>
|
||||
Please find the latest published version at <a href="https://community.chocolatey.org/packages/nilesoft.shell#versionhistory" style="border-bottom: 1px solid currentColor;">
|
||||
Please find the latest published version at <a
|
||||
href="https://community.chocolatey.org/packages/nilesoft.shell#versionhistory" class="uline">
|
||||
Chocolatey's Version History</a> and use the latest version number (replacing <code>1.8.1</code>).
|
||||
</div>
|
||||
<br>
|
||||
<p>Open an <strong>elevated command prompt</strong> (or use <a href="https://github.com/gerardog/gsudo" style="border-bottom: 1px solid currentColor;">gsudo</a>),
|
||||
and run</p>
|
||||
<p>Open an <strong>elevated command prompt</strong> (or use <a href="https://github.com/gerardog/gsudo"
|
||||
class="uline">gsudo</a>), and run</p>
|
||||
<code>choco install nilesoft.shell</code>
|
||||
<p>The program will be installed to <code>C:\Program Files\Nilesoft Shell\</code>.</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div id="chocolatey-uninstall">
|
||||
<h5>Uninstall</h5>
|
||||
<p>Open an <strong>elevated command prompt</strong> (or use <a href="https://github.com/gerardog/gsudo" style="border-bottom: 1px solid currentColor;">gsudo</a>),
|
||||
and run</p>
|
||||
<p>Open an <strong>elevated command prompt</strong> (or use <a href="https://github.com/gerardog/gsudo"
|
||||
class="uline">gsudo</a>), and run</p>
|
||||
<code>choco uninstall nilesoft.shell</code>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
+27
-39
@@ -5,36 +5,33 @@
|
||||
<h5 id="dynamic-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" style="border-bottom: 1px solid currentColor;"> <code>var</code> block</a> to
|
||||
define "local" variables.
|
||||
<li>One <a href="variables.html" class="uline"> <code>var</code> block</a> to define "local" variables.
|
||||
</li>
|
||||
<li><span class="is-family-monospace">Menuitems</span>, i.e. one or more of the following:
|
||||
<ul>
|
||||
<li>One or more <a href="#item" style="border-bottom: 1px solid currentColor;"><code>item</code> entries</a>.
|
||||
<li>One or more <a href="#item" class="uline"><code>item</code> entries</a>.
|
||||
These appear as top-level items in a context menu.
|
||||
</li>
|
||||
<li>One or more <a href="#menu" style="border-bottom: 1px solid currentColor;"><code>menu</code> entries</a>.
|
||||
<li>One or more <a href="#menu" class="uline"><code>menu</code> entries</a>.
|
||||
These appear as top-level sub-menus in a context menu.
|
||||
</li>
|
||||
<li>One or more <a href="#separator" style="border-bottom: 1px solid currentColor;"><code>separator</code>
|
||||
entries</a>. These create a horizontal line between the given entries.
|
||||
<li>One or more <a href="#separator" class="uline"><code>separator</code> entries</a>. These create a
|
||||
horizontal line between the given entries.
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>One or more <a href="index.html#import"
|
||||
style="border-bottom: 1px solid currentColor;"><code><code>imports</code></code></a>. The content of the
|
||||
given file will be placed in the position of the import.
|
||||
class="uline"><code><code>imports</code></code></a>. The content of the given file will be placed in the
|
||||
position of the import.
|
||||
</li>
|
||||
</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>
|
||||
<p>In the following example, one top-level <a href="#item"
|
||||
style="border-bottom: 1px solid currentColor;"><code>item</code></a> is created, that is separated with a <a
|
||||
href="#separator" style="border-bottom: 1px solid currentColor;">horizontal line</a> from an adjacent sub-<a
|
||||
href="#menu" style="border-bottom: 1px solid currentColor;"><span class="is-family-monospace">menu</span></a>,
|
||||
which in turn has one sub-<a href="#item" style="border-bottom: 1px solid currentColor;"><span
|
||||
class="is-family-monospace">item</span></a>
|
||||
<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"
|
||||
class="uline"><span class="is-family-monospace">item</span></a>
|
||||
on its own:</p>
|
||||
<pre><code class="lang-shell">shell
|
||||
{
|
||||
@@ -55,9 +52,9 @@
|
||||
<p><span class="is-family-monospace">menuitem</span> is an umbrella term for those entry types, that may appear in a
|
||||
menu. These simply include the following:</p>
|
||||
<ul>
|
||||
<li><a href="#item" style="border-bottom: 1px solid currentColor;"><code>item</code></a></li>
|
||||
<li><a href="#menu" style="border-bottom: 1px solid currentColor;"><code>menu</code></a></li>
|
||||
<li><a href="#separator" style="border-bottom: 1px solid currentColor;"><code>separator</code></a></li>
|
||||
<li><a href="#item" class="uline"><code>item</code></a></li>
|
||||
<li><a href="#menu" class="uline"><code>menu</code></a></li>
|
||||
<li><a href="#separator" class="uline"><code>separator</code></a></li>
|
||||
</ul>
|
||||
|
||||
<br/>
|
||||
@@ -67,11 +64,9 @@
|
||||
<p><span class="is-family-monospace">item</span>s create a single menu entry.</p>
|
||||
|
||||
<h5 id="item-properties">Properties</h5>
|
||||
<p>Either a <a href="properties.html#title"
|
||||
style="border-bottom: 1px solid currentColor;"><code>title</code></a> or a <a
|
||||
href="properties.html#image" style="border-bottom: 1px solid currentColor;"><code>image</code></a>
|
||||
property is mandatory (set to a non-null value). For further details, please refer to the <a href="properties.html"
|
||||
style="border-bottom: 1px solid currentColor;">properties section</a> below.</p>
|
||||
<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>
|
||||
|
||||
<h5 id="item-syntax">Syntax</h5>
|
||||
<pre><code class="lang-shell">item( title = value [property = value [...] ])</code></pre>
|
||||
@@ -83,32 +78,26 @@
|
||||
and sub-entries.</p>
|
||||
|
||||
<h5 id="menu-properties">Properties</h5>
|
||||
<p>Either a <a href="properties.html#title"
|
||||
style="border-bottom: 1px solid currentColor;"><code>title</code></a> or a <a
|
||||
href="properties.html#image" style="border-bottom: 1px solid currentColor;"><code>image</code></a>
|
||||
property is mandatory (set to a non-null value). For further details, please refer to the <a href="properties.html"
|
||||
style="border-bottom: 1px solid currentColor;">properties section</a> below.</p>
|
||||
<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>
|
||||
|
||||
<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
|
||||
<strong>optional</strong>:</p>
|
||||
<ul>
|
||||
<li>One <a href="variables.html" style="border-bottom: 1px solid currentColor;"><code>var</code> block</a> to
|
||||
define "local" variables.
|
||||
<li>One <a href="variables.html" class="uline"><code>var</code> block</a> to define "local" variables.
|
||||
</li>
|
||||
<li><span class="is-family-monospace">Menuitems</span>, i.e. one or more of the following:
|
||||
<ul>
|
||||
<li>One or more <a href="#item" style="border-bottom: 1px solid currentColor;"><code>item</code> entries</a>.
|
||||
</li>
|
||||
<li>One or more sub-<a href="#menu" style="border-bottom: 1px solid currentColor;"><code>menu</code> entries</a>.
|
||||
</li>
|
||||
<li>One or more <a href="#separator" style="border-bottom: 1px solid currentColor;"><code>separator</code>
|
||||
entries</a>. These create a horizontal line between the given entries.
|
||||
<li>One or more <a href="#item" class="uline"><code>item</code> entries</a>.</li>
|
||||
<li>One or more sub-<a href="#menu" class="uline"><code>menu</code> entries</a>.</li>
|
||||
<li>One or more <a href="#separator" class="uline"><code>separator</code> entries</a>. These create a
|
||||
horizontal line between the given entries.
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>One or more <a href="index.html#import"
|
||||
style="border-bottom: 1px solid currentColor;"><code><code>imports</code></code></a>. The content of the
|
||||
<li>One or more <a href="index.html#import" class="uline"><code><code>imports</code></code></a>. The content of the
|
||||
given file will be placed in the position of the import.
|
||||
</li>
|
||||
</ul>
|
||||
@@ -129,8 +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" style="border-bottom: 1px solid currentColor;">properties section</a> below for further
|
||||
details.</p>
|
||||
href="properties.html" class="uline">properties section</a> below for further details.</p>
|
||||
|
||||
<h5 id="separator-syntax">Syntax</h5>
|
||||
<pre><code class="lang-shell">separator
|
||||
|
||||
+34
-44
@@ -1,70 +1,61 @@
|
||||
<h4>Syntax Rules for Configuration Files</h4>
|
||||
<br>
|
||||
<p>This chapter describes the syntax rules for the configuration files.</p>
|
||||
<p>The main configuration file <a href="#shell.nss"
|
||||
style="border-bottom: 1px solid currentColor;"><code>shell.nss</code></a> (or <code>shell.shl</code> in older
|
||||
installations) is located in the <span class="is-family-monospace">installation directory</span> of
|
||||
<strong>Shell</strong>, depending on your <a href="/docs/installation.html"
|
||||
style="border-bottom: 1px solid currentColor;">installation method</a>.</p>
|
||||
<p>The main configuration file <a href="#shell.nss" class="uline"><code>shell.nss</code></a> (or <code>shell.shl</code>
|
||||
in older installations) is located in the <span class="is-family-monospace">installation directory</span> of
|
||||
<strong>Shell</strong>, depending on your <a href="/docs/installation.html" class="uline">installation method</a>.
|
||||
</p>
|
||||
|
||||
<h5 id="syntax-general">General rules</h5>
|
||||
<ul>
|
||||
<li>Syntax is case-insensitive.</li>
|
||||
<li>Spaces around the equal (<code>=</code>) sign are optional and are ignored.</li>
|
||||
<li>The properties of <a href="static.html" style="border-bottom: 1px solid currentColor;"><span
|
||||
class="is-family-monospace">static</span></a> and <a href="dynamic.html"
|
||||
style="border-bottom: 1px solid currentColor;"><span class="is-family-monospace">dynamic</span></a> items
|
||||
are separated by blank spaces or on a <a href="#breaking-long-lines"
|
||||
style="border-bottom: 1px solid currentColor;">separate line</a> and must be
|
||||
placed in parentheses <code>( )</code>.
|
||||
<li>The properties of <a href="static.html" class="uline"><span class="is-family-monospace">static</span></a> and <a
|
||||
href="dynamic.html" class="uline"><span class="is-family-monospace">dynamic</span></a> items are separated
|
||||
by blank spaces or on a <a href="#breaking-long-lines" class="uline">separate line</a> and must be placed in
|
||||
parentheses <code>( )</code>.
|
||||
</li>
|
||||
<li>Other configuration files can be imported using the <a href="#import"
|
||||
style="border-bottom: 1px solid currentColor;"><span class="is-family-monospace">import</span> tag</a>.
|
||||
<li>Other configuration files can be imported using the <a href="#import" class="uline"><span
|
||||
class="is-family-monospace">import</span> tag</a>.
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="notification is-info is-light">
|
||||
<i>Tip:</i> When there is an error, it is recorded in the log file (<code>shell.log</code>, which is also located in
|
||||
your <a href="/docs/installation.html" style="border-bottom: 1px solid currentColor;"><span
|
||||
class="is-family-monospace">installation directory</span></a>.).
|
||||
your <a href="/docs/installation.html" class="uline"><span class="is-family-monospace">installation directory</span></a>.).
|
||||
</div>
|
||||
|
||||
<h5 id="shell.nss">shell.nss structure</h5>
|
||||
<p>The global section <code>shell{}</code> may have the following subsections:</p>
|
||||
<ul>
|
||||
<li>Section <a href="variables.html" style="border-bottom: 1px solid currentColor;"><span
|
||||
class="is-family-monospace">var{}</span></a> for global variables. Optional.
|
||||
<li>Section <a href="variables.html" class="uline"><span class="is-family-monospace">var{}</span></a> for global
|
||||
variables. Optional.
|
||||
</li>
|
||||
<li>Section <a href="set.html" style="border-bottom: 1px solid currentColor;"><span
|
||||
class="is-family-monospace">set{}</span></a> for settings. Optional.
|
||||
<li>Section <a href="set.html" class="uline"><span class="is-family-monospace">set{}</span></a> for settings.
|
||||
Optional.
|
||||
<ul>
|
||||
<li>As of version <code>1.8.0</code>, <span class="is-family-monospace">set{}</span> has replaced the
|
||||
section <a href="default.html" style="border-bottom: 1px solid currentColor;"><span
|
||||
class="is-family-monospace">default{}</span></a> for default values, which is now <strong>deprecated</strong>.
|
||||
Please use <a href="set.html" style="border-bottom: 1px solid currentColor;"><span
|
||||
class="is-family-monospace">set{}</span></a> for new installations.
|
||||
section <a href="default.html" class="uline"><span class="is-family-monospace">default{}</span></a> for
|
||||
default values, which is now <strong>deprecated</strong>. Please use <a href="set.html"
|
||||
class="uline"><span class="is-family-monospace">set{}</span></a> for new installations.
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Section <a href="static.html" style="border-bottom: 1px solid currentColor;"><span
|
||||
class="is-family-monospace">static{}</span></a> with instructions on how to <strong>change existing
|
||||
menuitems</strong>. Optional.
|
||||
<li>Section <a href="static.html" class="uline"><span class="is-family-monospace">static{}</span></a> with
|
||||
instructions on how to <strong>change existing menuitems</strong>. Optional.
|
||||
<ul>
|
||||
<li>Static items are only of one type: item.</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Section <a href="dynamic.html" style="border-bottom: 1px solid currentColor;"><span
|
||||
class="is-family-monospace">dynamic{}</span></a> with definitions for <strong>new <a
|
||||
href="dynamic.html#menuitem" style="border-bottom: 1px solid currentColor;"><span
|
||||
class="is-family-monospace">menuitems</span></a></strong>. Optional.
|
||||
<li>Section <a href="dynamic.html" class="uline"><span class="is-family-monospace">dynamic{}</span></a> with
|
||||
definitions for <strong>new <a href="dynamic.html#menuitem" class="uline"><span class="is-family-monospace">menuitems</span></a></strong>.
|
||||
Optional.
|
||||
<ul>
|
||||
<li>Dynamic <a href="dynamic.html#menuitem" style="border-bottom: 1px solid currentColor;"><span
|
||||
class="is-family-monospace">menuitems</span></a> may have one of three types: <a
|
||||
href="dynamic.html#menu" style="border-bottom: 1px solid currentColor;"><span
|
||||
class="is-family-monospace">menu</span></a>, <a href="dynamic.html#item"
|
||||
style="border-bottom: 1px solid currentColor;"><span class="is-family-monospace">item</span></a>,
|
||||
or <a href="dynamic.html#separator" style="border-bottom: 1px solid currentColor;"><span
|
||||
class="is-family-monospace">separator (sep)</span></a>.
|
||||
<li>Dynamic <a href="dynamic.html#menuitem" class="uline"><span class="is-family-monospace">menuitems</span></a>
|
||||
may have one of three types: <a href="dynamic.html#menu" class="uline"><span
|
||||
class="is-family-monospace">menu</span></a>, <a href="dynamic.html#item" class="uline"><span
|
||||
class="is-family-monospace">item</span></a>, or <a href="dynamic.html#separator"
|
||||
class="uline"><span class="is-family-monospace">separator (sep)</span></a>.
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
@@ -174,11 +165,10 @@
|
||||
The section name is written literally, without any quotes (or the percent signs).
|
||||
</li>
|
||||
<li id="import-syntax-path"><code>%path%</code> is a <a href="/docs/expressions/string.html"
|
||||
style="border-bottom: 1px solid currentColor;"><span class="is-family-monospace">string</span></a> literal,
|
||||
that returns the path to the config file that shall be imported. This can be a relative path to the location of
|
||||
the file where the <span class="is-family-monospace">import</span> tag is used, or it can be an absolute path.
|
||||
Expressions are supported when using <a href="/docs/expressions/string.html#single-quotes"
|
||||
style="border-bottom: 1px solid currentColor;"><span
|
||||
class="uline"><span class="is-family-monospace">string</span></a> literal, that returns the path to the
|
||||
config file that shall be imported. This can be a relative path to the location of the file where the <span
|
||||
class="is-family-monospace">import</span> tag is used, or it can be an absolute path. Expressions are
|
||||
supported when using <a href="/docs/expressions/string.html#single-quotes" class="uline"><span
|
||||
class="is-family-monospace">single quotes</span></a>.
|
||||
</li>
|
||||
</ul>
|
||||
@@ -283,6 +273,6 @@ The result would then look like so:
|
||||
<p>This syntax may be used nearly anywhere: </p>
|
||||
<ul>
|
||||
<li>in any section</li>
|
||||
<li>in the body of <a href="dynamic.html#menu" style="border-bottom: 1px solid currentColor;"><span
|
||||
class="is-family-monospace">menu</span> tags</a></li>
|
||||
<li>in the body of <a href="dynamic.html#menu" class="uline"><span class="is-family-monospace">menu</span> tags</a>
|
||||
</li>
|
||||
</ul>
|
||||
+71
-92
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user