Add id tags to app.html, improve readability

This commit is contained in:
Martin Rüegg committed 2023-03-06 11:28:54 +01:00
1 parent 9c29e0c06d
commit ae7e941f7a
3 files changed
+96 -46

No files matched your search

+77 -42
View File
@@ -2,53 +2,88 @@
<br>
<p>The namespace of the application contains file paths, version and some details.</p>
<br>
<p>
<h5>app.directory (app.dir)</h5>
Returns the path of <b>Shell</b> directory.
</p>
<br>
<p>
<section id="app.directory" class="my-5">
<h5>app.directory</h5>
<p>Returns the path of <b>Shell</b> directory.</p>
<p>Syntax</p>
<pre><code>app.directory // usage in section context
'@app.directory' // usage inside quoted-string literals</code></pre>
</section>
<section id="app.cfg" class="my-5">
<h5>app.cfg</h5>
Returns the path of the configuration file "shell.shl".
</p>
<br>
<p>
<p>Returns the path of the <a href="../syntax/index.html#shell.nss"
style="border-bottom: 1px solid currentColor;"><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>
<pre><code>app.cfg // usage in section context
'@app.cfg' // usage inside quoted-string literals</code></pre>
</section>
<section id="app.dll" class="my-5">
<h5>app.dll</h5>
Returns the path of "shell.dll".
</p>
<br>
<p>
<p>Returns the path of <code>shell.dll</code>.</p>
<p>Syntax</p>
<pre><code>app.dll // usage in section context
'@app.dll' // usage inside quoted-string literals</code></pre>
</section>
<section id="app.exe" class="my-5">
<h5>app.exe</h5>
Returns the path of "shell.exe".
</p>
<br>
<p>
<p>Returns the path of <code>shell.exe</code>.</p>
<p>Syntax</p>
<pre><code>app.exe // usage in section context
'@app.exe' // usage inside quoted-string literals</code></pre>
</section>
<section id="app.name" class="my-5">
<h5>app.name</h5>
Returns application name.
</p>
<br>
<p>
<h5>app.version (app.ver)</h5>
Revert <b>Shell</b> version.
</p>
<br>
<p>
<p>Returns application name.</p>
<p>Syntax</p>
<pre><code>app.name // usage in section context
'@app.name' // usage inside quoted-string literals</code></pre>
</section>
<section id="app.version" class="my-5">
<h5>app.version</h5>
<p>Returns <b>Shell</b> version.</p>
<p>Syntax</p>
<pre><code>app.version // usage in section context
'@app.version' // usage inside quoted-string literals</code></pre>
</section>
<section id="app.is64" class="my-5">
<h5>app.is64</h5>
Returns the architecture of the application.
</p>
<br>
<p>
<p>Returns the architecture of the application.</p>
<p>Syntax</p>
<pre><code>app.is64 // usage in section context
'@app.is64' // usage inside quoted-string literals</code></pre>
</section>
<section id="app.about" class="my-5">
<h5>app.about</h5>
Returns <b>Shell</b> information.
</p>
<br>
<p>
<p>Returns <b>Shell</b> information.</p>
<p>Syntax</p>
<pre><code>app.about // usage in section context
'@app.about' // usage inside quoted-string literals</code></pre>
</section>
<section id="app.reload" class="my-5">
<h5>app.reload</h5>
Reload the configuration file.
</p>
<br>
<p>
<p>Reload the <a href="../syntax/index.html#shell.nss" style="border-bottom: 1px solid currentColor;"><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>
</section>
<section id="app.unload" class="my-5">
<h5>app.unload</h5>
Unload the configuration file.
</p>
<br>
<p>Unload the <a href="../syntax/index.html#shell.nss" style="border-bottom: 1px solid currentColor;"><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>
</section>
+15 -1
View File
@@ -1,6 +1,7 @@
<h4>Functions</h4>
<p>The functions and variables have unique titles described by fully qualified names that indicate a logical hierarchy.</p>
<p><b>Shell</b> has a number of functions and variables built into it that are always available. They are listed here in alphabetical order.</p>
<section id="if" class="my-5">
<h5>if</h5>
<p>Conditionally executes another statement.</p>
@@ -9,72 +10,84 @@
<code>if(condition-expression, true-expression)</code><br><br>
<code>if(condition-expression, true-expression, false-expression)</code>
</section>
<section id="null" class="my-5">
<h5>null</h5>
<p>Returns a null value.</p>
<p>Syntax</p>
<code>null(expression)</code><br><br>
</section>
<section id="quote" class="my-5">
<h5>quote</h5>
<p>Returns text with a double quotation mark.</p>
<p>Syntax</p>
<code>quote(expression)</code>
</section>
<section id="char" class="my-5">
<h5>char</h5>
<p>Returns the value of the numeric parameter to a character.</p>
<p>Syntax</p>
<code>char(numeric-expression)</code>
</section>
<section id="var" class="my-5">
<h5>var</h5>
<p>Returns the value of the passed variable</p>
<p>Syntax</p>
<code>var(expression)</code>
</section>
<section id="tohex" class="my-5">
<h5>tohex</h5>
<p>Converting the value of the passed numeric expression to hexadecimal string.</p>
<p>Syntax</p>
<code>tohex(numeric-expression)</code>
</section>
<section id="equal" class="my-5">
<h5>equal</h5>
<p>Returns <code>true</code> if the parameters passed are equal.</p>
<p>Syntax</p>
<code>equal(expression-1, expression-2)</code>
</section>
<section id="not" class="my-5">
<h5>not</h5>
<p>Returns <code>true</code> if the parameters passed are not equal.</p>
<p>Syntax</p>
<code>not(expression-1, expression-2)</code>
</section>
<section id="greater" class="my-5">
<h5>greater</h5>
<p>Returns <code>true</code> if the first parameter is greater than the second parameter.</p>
<p>Syntax</p>
<code>greater(expression-1, expression-2)</code>
</section>
<section id="less" class="my-5">
<h5>less</h5>
<p>Returns <code>true</code> if the first parameter is less than the second parameter.</p>
<p>Syntax</p>
<code>less(expression-1, expression-2)</code>
</section>
<section id="shl" class="my-5">
<h5>shl</h5>
<p>bitwise left shift.</p>
<p>Syntax</p>
<code>shl(shift-expression, additive-expression)</code>
</section>
<section id="shr" class="my-5">
<h5>shr</h5>
<p>bitwise right shift.</p>
<p>Syntax</p>
<code>shr(shift-expression, additive-expression)</code>
</section>
<section id="cmd-visibility" class="my-5">
<h5>cmd visibility enumerations</h5>
<p>The flags that specify how an application is to be displayed when it is opened.</p>
@@ -85,6 +98,7 @@ cmd.normal
cmd.maximized
cmd.minimized</code></pre>
</section>
<section id="selection-modes" class="my-5">
<h5>Selection mode enumerations</h5>
<p>Syntax</p>
@@ -94,8 +108,8 @@ mode.multiple
mode.multiunique
mode.multisingle
mode.multi</code></pre>
</section>
<section id="selection-types" class="my-5">
<h5>Selection type enumerations</h5>
<p>Syntax</p>
+4 -3
View File
@@ -2,9 +2,10 @@
<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> is located in the <span
class="is-family-monospace">installation directory</span> of Shell, depending on your <a
href="../installation.html" style="border-bottom: 1px solid currentColor;">installation method</a>.</p>
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="../installation.html"
style="border-bottom: 1px solid currentColor;">installation method</a>.</p>
<h5 id="syntax-general">General rules</h5>
<ul>