Browse Source

WIP

v0.0.11
John Haverlack 3 years ago
parent
commit
4f80aba91e
  1. 0
      download/skqitam-setup.js
  2. 2
      package-lock.json
  3. 2
      package.json
  4. 193
      web/root/docs/js/skq-it-am.js
  5. 16
      web/root/site/bootstrap.html
  6. 6
      web/root/site/build.html
  7. 9
      web/root/site/cloning.html
  8. 52
      web/root/site/code.html
  9. 3
      web/root/site/editing.html
  10. 9
      web/root/site/equations.html
  11. 3
      web/root/site/footnotes.html
  12. 3
      web/root/site/icons.html
  13. 14
      web/root/site/install.html
  14. 193
      web/root/site/js/skq-it-am.js
  15. 10
      web/root/site/menu.html
  16. 12
      web/root/site/optional.html
  17. 3
      web/root/site/pdf.html
  18. 2
      web/root/site/search.html
  19. 8
      web/root/site/sitemap.xml
  20. BIN
      web/root/site/sitemap.xml.gz
  21. 2
      web/root/site/swipe.html
  22. 9
      web/root/site/test.html
  23. 3
      web/root/site/version.html

0
download/skqitam-setup.js

2
package-lock.json

@ -1,6 +1,6 @@
{
"name": "skq-it-am",
"version": "1.0.0",
"version": "0.0.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

2
package.json

@ -1,7 +1,7 @@
{
"name": "skq-it-am",
"version": "0.0.2",
"version_date":"2021-06-07",
"version_date": "2021-06-07",
"description": "Sikuliaq IT Asset Manager",
"main": "index.js",
"dependencies": {

193
web/root/docs/js/skq-it-am.js

@ -44,6 +44,7 @@ load_webconf.get('api/webconfig', function(response) {
})
var checkcd = setTimeout(it_am_load_webconf, 10)
var varparse = setTimeout(it_am_var_parser, 100)
function it_am_load_webconf() {
// console.log('DEBUG: run load_webconf')
@ -61,123 +62,125 @@ function it_am_load_webconf() {
var clipboard = new ClipboardJS('.cpcmd');
if (itam_debug) {
if (document.getElementById('debug-config')) {
let webconf = JSON.parse(sessionStorage.webconf)
// console.log(JSON.stringify(webconf, null, 2))
function it_am_var_parser() {
if (itam_debug) {
if (document.getElementById('debug-config')) {
let webconf = JSON.parse(sessionStorage.webconf)
// console.log(JSON.stringify(webconf, null, 2))
let html = ''
html += "<hr>"
html += "<h1>DEBUG</h1>"
html += "<h2>Config</h2>"
html +='<pre>' + "\n"
html +='<code class="language-json hljs">' + "\n"
let html = ''
html += "<hr>"
html += "<h1>DEBUG</h1>"
html += "<h2>Config</h2>"
html +='<pre>' + "\n"
html +='<code class="language-json hljs">' + "\n"
html += JSON.stringify(webconf, null, 2)
html += JSON.stringify(webconf, null, 2)
html +='</code>' + "\n"
html +='</pre>' + "\n"
html +='</code>' + "\n"
html +='</pre>' + "\n"
html += '<br>'
html += '<br>'
html += '<h2>Server Config</h2>'
html += '<ul>'
html += '<li><a target="_blank" href="' + webconf['BROWSER']['BASE_URL'] + '/api/config' + '">' + webconf['BROWSER']['BASE_URL'] + '/api/config' + '</a></li>'
html += '</ul>'
html += '<h2>Server Config</h2>'
html += '<ul>'
html += '<li><a target="_blank" href="' + webconf['BROWSER']['BASE_URL'] + '/api/config' + '">' + webconf['BROWSER']['BASE_URL'] + '/api/config' + '</a></li>'
html += '</ul>'
html += '<h2>WebUI Config</h2>'
html += '<ul>'
html += '<li><a target="_blank" href="' + webconf['BROWSER']['BASE_URL'] + '/api/webconfig' + '">' + webconf['BROWSER']['BASE_URL'] + '/api/webconfig' + '</a></li>'
html += '</ul>'
html += '<h2>WebUI Config</h2>'
html += '<ul>'
html += '<li><a target="_blank" href="' + webconf['BROWSER']['BASE_URL'] + '/api/webconfig' + '">' + webconf['BROWSER']['BASE_URL'] + '/api/webconfig' + '</a></li>'
html += '</ul>'
document.getElementById('debug-config').innerHTML = html
document.getElementById('debug-config').innerHTML = html
}
}
}
if (document.getElementsByClassName("IP_ADDR")) {
let webconf = JSON.parse(sessionStorage.webconf)
for (e=0; e<document.getElementsByClassName("IP_ADDR").length; e++) {
// console.log("DEBUG e: "+ e)
document.getElementsByClassName("IP_ADDR")[e].innerHTML = webconf['BROWSER']['HOSTNAME']
if (document.getElementsByClassName("IP_ADDR")) {
let webconf = JSON.parse(sessionStorage.webconf)
for (e=0; e<document.getElementsByClassName("IP_ADDR").length; e++) {
// console.log("DEBUG e: "+ e)
document.getElementsByClassName("IP_ADDR")[e].innerHTML = webconf['BROWSER']['HOSTNAME']
}
}
}
if (document.getElementsByClassName("WEB_PORT")) {
let webconf = JSON.parse(sessionStorage.webconf)
for (e=0; e<document.getElementsByClassName("WEB_PORT").length; e++) {
// console.log("DEBUG e: "+ e)
document.getElementsByClassName("WEB_PORT")[e].innerHTML = webconf['BROWSER']['PORT']
if (document.getElementsByClassName("WEB_PORT")) {
let webconf = JSON.parse(sessionStorage.webconf)
for (e=0; e<document.getElementsByClassName("WEB_PORT").length; e++) {
// console.log("DEBUG e: "+ e)
document.getElementsByClassName("WEB_PORT")[e].innerHTML = webconf['BROWSER']['PORT']
}
}
}
if (document.getElementsByClassName("BASE_URL")) {
let webconf = JSON.parse(sessionStorage.webconf)
for (e=0; e<document.getElementsByClassName("BASE_URL").length; e++) {
// console.log("DEBUG e: "+ e)
document.getElementsByClassName("BASE_URL")[e].innerHTML = webconf['BROWSER']['BASE_URL']
if (document.getElementsByClassName("BASE_URL")) {
let webconf = JSON.parse(sessionStorage.webconf)
for (e=0; e<document.getElementsByClassName("BASE_URL").length; e++) {
// console.log("DEBUG e: "+ e)
document.getElementsByClassName("BASE_URL")[e].innerHTML = webconf['BROWSER']['BASE_URL']
}
}
}
if (document.getElementsByClassName("POSIX_WGET_CMD")) {
let webconf = JSON.parse(sessionStorage.webconf)
for (e=0; e<document.getElementsByClassName("POSIX_WGET_CMD").length; e++) {
let html = ''
let cmd = 'wget -qO- ' + webconf['BROWSER']['BASE_URL'] + '/download/skqitam-setup.sh | bash -s ' + webconf['BROWSER']['BASE_URL']
// console.log (cmd)
html +='<div class="input-group mb-3">' + "\n"
html +=' <input type="text" class="form-control" placeholder="WGET Command" aria-label="WGET Command" aria-describedby="button-addon2" value="' + cmd + '" disabled>' + "\n"
html +=' <div class="input-group-append">' + "\n"
html +=' <a title="Copy Command to Clipboard" class="btn btn-default cpcmd" type="button" id="btn-cp-wget" data-clipboard-text="' + cmd + '" onclick="alert(' + "'" + 'Copied Command to Clipboard' +"'" + ')"><span class="far fa-copy"></span></a>' + "\n"
html +=' </div>' + "\n"
html +='</div>' + "\n"
document.getElementsByClassName("POSIX_WGET_CMD")[e].innerHTML = html
if (document.getElementsByClassName("POSIX_WGET_CMD")) {
let webconf = JSON.parse(sessionStorage.webconf)
for (e=0; e<document.getElementsByClassName("POSIX_WGET_CMD").length; e++) {
let html = ''
let cmd = 'wget -qO- ' + webconf['BROWSER']['BASE_URL'] + '/download/skqitam-setup.sh | bash -s ' + webconf['BROWSER']['BASE_URL']
// console.log (cmd)
html +='<div class="input-group mb-3">' + "\n"
html +=' <input type="text" class="form-control" placeholder="WGET Command" aria-label="WGET Command" aria-describedby="button-addon2" value="' + cmd + '" disabled>' + "\n"
html +=' <div class="input-group-append">' + "\n"
html +=' <a title="Copy Command to Clipboard" class="btn btn-default cpcmd" type="button" id="btn-cp-wget" data-clipboard-text="' + cmd + '" onclick="alert(' + "'" + 'Copied Command to Clipboard' +"'" + ')"><span class="far fa-copy"></span></a>' + "\n"
html +=' </div>' + "\n"
html +='</div>' + "\n"
document.getElementsByClassName("POSIX_WGET_CMD")[e].innerHTML = html
}
}
}
if (document.getElementsByClassName("POSIX_CURL_CMD")) {
let webconf = JSON.parse(sessionStorage.webconf)
for (e=0; e<document.getElementsByClassName("POSIX_CURL_CMD").length; e++) {
let html = ''
let cmd = 'curl -o- ' + webconf['BROWSER']['BASE_URL'] + '/download/skqitam-setup.sh | bash -s ' + webconf['BROWSER']['BASE_URL']
// console.log (cmd)
html +='<div class="input-group mb-3">' + "\n"
html +=' <input type="text" class="form-control" placeholder="WGET Command" aria-label="WGET Command" aria-describedby="button-addon2" value="' + cmd + '" disabled>' + "\n"
html +=' <div class="input-group-append">' + "\n"
html +=' <a title="Copy Command to Clipboard" class="btn btn-default cpcmd" type="button" id="btn-cp-curl" data-clipboard-text="' + cmd + '" onclick="alert(' + "'" + 'Copied Command to Clipboard' +"'" + ')"><span class="far fa-copy"></span></a>' + "\n"
html +=' </div>' + "\n"
html +='</div>' + "\n"
document.getElementsByClassName("POSIX_CURL_CMD")[e].innerHTML = html
if (document.getElementsByClassName("POSIX_CURL_CMD")) {
let webconf = JSON.parse(sessionStorage.webconf)
for (e=0; e<document.getElementsByClassName("POSIX_CURL_CMD").length; e++) {
let html = ''
let cmd = 'curl -o- ' + webconf['BROWSER']['BASE_URL'] + '/download/skqitam-setup.sh | bash -s ' + webconf['BROWSER']['BASE_URL']
// console.log (cmd)
html +='<div class="input-group mb-3">' + "\n"
html +=' <input type="text" class="form-control" placeholder="WGET Command" aria-label="WGET Command" aria-describedby="button-addon2" value="' + cmd + '" disabled>' + "\n"
html +=' <div class="input-group-append">' + "\n"
html +=' <a title="Copy Command to Clipboard" class="btn btn-default cpcmd" type="button" id="btn-cp-curl" data-clipboard-text="' + cmd + '" onclick="alert(' + "'" + 'Copied Command to Clipboard' +"'" + ')"><span class="far fa-copy"></span></a>' + "\n"
html +=' </div>' + "\n"
html +='</div>' + "\n"
document.getElementsByClassName("POSIX_CURL_CMD")[e].innerHTML = html
}
}
}
// Example From: https://chocolatey.org/install
// Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
if (document.getElementsByClassName("WIN_CMD_CMD")) {
let webconf = JSON.parse(sessionStorage.webconf)
for (e=0; e<document.getElementsByClassName("WIN_CMD_CMD").length; e++) {
let html = ''
// let cmd = encodeURIComponent('PowerShell -ExecutionPolicy Unrestricted Invoke-WebRequest \"' + webconf['BROWSER']['BASE_URL'] + '/download/skqitam-setup.ps1\" -Outfile "~\Downloads\skqitam-setup.ps1"; PowerShell -ExecutionPolicy Unrestricted -command "~\Downloads\skqitam-setup.ps1"')
let cmd = 'PowerShell -ExecutionPolicy Unrestricted Invoke-WebRequest \"' + webconf['BROWSER']['BASE_URL'] + '/download/skqitam-setup.ps1\" -Outfile "~\Downloads\skqitam-setup.ps1"; PowerShell -ExecutionPolicy Unrestricted -command "~\Downloads\skqitam-setup.ps1 ' + webconf['BROWSER']['BASE_URL'] + '"'
console.log (cmd)
// Example From: https://chocolatey.org/install
// Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
html +='<div class="input-group mb-3">' + "\n"
html +=' <input id="WIN_CMD_CMD" type="text" class="form-control" placeholder="WGET Command" aria-label="WGET Command" aria-describedby="button-addon2" value="' + cmd + '" disabled>' + "\n"
html +=' <div class="input-group-append">' + "\n"
html +=' <a title="Copy Command to Clipboard" class="btn btn-default cpcmd" type="button" id="btn-cp-win" data-clipboard-text="" onclick="alert(' + "'" + 'Copied Command to Clipboard' +"'" + ')"><span class="far fa-copy"></span></a>' + "\n"
html +=' </div>' + "\n"
html +='</div>' + "\n"
document.getElementsByClassName("WIN_CMD_CMD")[e].innerHTML = html
document.getElementById("WIN_CMD_CMD").value = cmd
document.getElementById("btn-cp-win").setAttribute('data-clipboard-text', cmd)
if (document.getElementsByClassName("WIN_CMD_CMD")) {
let webconf = JSON.parse(sessionStorage.webconf)
for (e=0; e<document.getElementsByClassName("WIN_CMD_CMD").length; e++) {
let html = ''
// let cmd = encodeURIComponent('PowerShell -ExecutionPolicy Unrestricted Invoke-WebRequest \"' + webconf['BROWSER']['BASE_URL'] + '/download/skqitam-setup.ps1\" -Outfile "~\Downloads\skqitam-setup.ps1"; PowerShell -ExecutionPolicy Unrestricted -command "~\Downloads\skqitam-setup.ps1"')
let cmd = 'PowerShell -ExecutionPolicy Unrestricted Invoke-WebRequest \"' + webconf['BROWSER']['BASE_URL'] + '/download/skqitam-setup.ps1\" -Outfile "~\Downloads\skqitam-setup.ps1"; PowerShell -ExecutionPolicy Unrestricted -command "~\Downloads\skqitam-setup.ps1 ' + webconf['BROWSER']['BASE_URL'] + '"'
console.log (cmd)
html +='<div class="input-group mb-3">' + "\n"
html +=' <input id="WIN_CMD_CMD" type="text" class="form-control" placeholder="WGET Command" aria-label="WGET Command" aria-describedby="button-addon2" value="' + cmd + '" disabled>' + "\n"
html +=' <div class="input-group-append">' + "\n"
html +=' <a title="Copy Command to Clipboard" class="btn btn-default cpcmd" type="button" id="btn-cp-win" data-clipboard-text="" onclick="alert(' + "'" + 'Copied Command to Clipboard' +"'" + ')"><span class="far fa-copy"></span></a>' + "\n"
html +=' </div>' + "\n"
html +='</div>' + "\n"
document.getElementsByClassName("WIN_CMD_CMD")[e].innerHTML = html
document.getElementById("WIN_CMD_CMD").value = cmd
document.getElementById("btn-cp-win").setAttribute('data-clipboard-text', cmd)
}
}
}

16
web/root/site/bootstrap.html

@ -122,7 +122,7 @@
</ul>
<h3 id="examples">Examples</h3>
<h5 id="alerts">Alerts</h5>
<pre><code class="language-markdown">&lt;div class=&quot;alert alert-primary&quot; role=&quot;alert&quot;&gt;
<pre><code class="markdown">&lt;div class=&quot;alert alert-primary&quot; role=&quot;alert&quot;&gt;
This is a primary alert—check it out!
&lt;/div&gt;
&lt;div class=&quot;alert alert-secondary&quot; role=&quot;alert&quot;&gt;
@ -147,33 +147,41 @@
This is a dark alert—check it out!
&lt;/div&gt;
</code></pre>
<div class="alert alert-primary" role="alert">
This is a primary alert—check it out!
</div>
<div class="alert alert-secondary" role="alert">
This is a secondary alert—check it out!
</div>
<div class="alert alert-success" role="alert">
This is a success alert—check it out!
</div>
<div class="alert alert-danger" role="alert">
This is a danger alert—check it out!
</div>
<div class="alert alert-warning" role="alert">
This is a warning alert—check it out!
</div>
<div class="alert alert-info" role="alert">
This is a info alert—check it out!
</div>
<div class="alert alert-light" role="alert">
This is a light alert—check it out!
</div>
<div class="alert alert-dark" role="alert">
This is a dark alert—check it out!
</div>
<h5 id="buttons">Buttons</h5>
<pre><code class="language-markdown">&lt;button type=&quot;button&quot; class=&quot;btn btn-primary&quot;&gt;Primary&lt;/button&gt;
<pre><code class="markdown">&lt;button type=&quot;button&quot; class=&quot;btn btn-primary&quot;&gt;Primary&lt;/button&gt;
&lt;button type=&quot;button&quot; class=&quot;btn btn-secondary&quot;&gt;Secondary&lt;/button&gt;
&lt;button type=&quot;button&quot; class=&quot;btn btn-success&quot;&gt;Success&lt;/button&gt;
&lt;button type=&quot;button&quot; class=&quot;btn btn-danger&quot;&gt;Danger&lt;/button&gt;
@ -183,6 +191,7 @@
&lt;button type=&quot;button&quot; class=&quot;btn btn-dark&quot;&gt;Dark&lt;/button&gt;
&lt;button type=&quot;button&quot; class=&quot;btn btn-link&quot;&gt;Link&lt;/button&gt;
</code></pre>
<p><button type="button" class="btn btn-primary">Primary</button>
<button type="button" class="btn btn-secondary">Secondary</button>
<button type="button" class="btn btn-success">Success</button>
@ -194,8 +203,9 @@
<button type="button" class="btn btn-link">Link</button></p>
<h6 id="link-buttons">Link Buttons</h6>
<p>You can also turn HTML Links into Buttons</p>
<pre><code class="language-markdown">&lt;a class=&quot;btn btn-primary&quot; href=&quot;&quot;&gt;HTML Link&lt;/a&gt;
<pre><code class="markdown">&lt;a class=&quot;btn btn-primary&quot; href=&quot;&quot;&gt;HTML Link&lt;/a&gt;
</code></pre>
<p><a class="btn btn-primary" href="">HTML Link</a></p></div>
</div>
</div>

6
web/root/site/build.html

@ -115,15 +115,17 @@
<div class="col-md-12" role="main" style="top: -50px;">
<h2 id="building-the-website">Building the Website</h2>
<pre><code class="language-bash">[$] cd skq-mkdocs-templates
<pre><code class="bash">[$] cd skq-mkdocs-templates
</code></pre>
<p>To rebuild a clean HTML <code>site</code> directory run <code>mkdocs build --clean</code></p>
<pre><code class="language-bash">[$] mkdocs build --clean
<pre><code class="bash">[$] mkdocs build --clean
WARNING - Config value: 'version'. Warning: Unrecognised configuration name: version
PDF export is disabled (set environment variable ENABLE_PDF_EXPORT to 1 to enable)
INFO - Cleaning site directory
INFO - Building documentation to directory: /home/jehaverlack/Devel/Sikuliaq/docs/skq-mkdocs-template/site
</code></pre>
<div class="alert alert-info">
Each time you edit the site source content files you will need to run the <code>mkdocs build --clean</code> command to rebuild the <code>site</code> directory and test your edits.
</div>

9
web/root/site/cloning.html

@ -120,18 +120,21 @@ A UA Github (<a href="https://github.alaska.edu">https://github.alaska.edu</a>)
</div>
<h4 id="git-clone">Git clone</h4>
<pre><code class="language-bash">git clone https://github.alaska.edu/skq/skq-mkdocs-template.git
<pre><code class="bash">git clone https://github.alaska.edu/skq/skq-mkdocs-template.git
</code></pre>
<h4 id="download-zip">Download Zip</h4>
<p>Or <a href="https://github.alaska.edu/skq/skq-mkdocs-template/archive/master.zip">download as a zip</a> file.</p>
<h3 id="shipside-git-repository">Shipside Git Repository</h3>
<p>No login required</p>
<h4 id="git-clone_1">Git clone</h4>
<pre><code class="language-bash">git clone https://git.sikuliaq.alaska.edu/scm/git/skq/skq-mkdocs-template
<pre><code class="bash">git clone https://git.sikuliaq.alaska.edu/scm/git/skq/skq-mkdocs-template
</code></pre>
<h3 id="files-and-directories">Files and Directories</h3>
<pre><code class="language-bash">cd skq-mkdocs-templates
<pre><code class="bash">cd skq-mkdocs-templates
</code></pre>
<h4 id="inputs">Inputs</h4>
<ul>
<li><strong>mkdocs.yml</strong> - master Configuration File</li>

52
web/root/site/code.html

@ -120,82 +120,88 @@
</div>
<h3 id="plain-text">Plain Text</h3>
<pre><code class="language-plaintext">Hello World
<pre><code class="plaintext">Hello World
</code></pre>
<h3 id="html">HTML</h3>
<pre><code class="language-html">&lt;h2&gt;Hello World&lt;/h2&gt;
<pre><code class="html">&lt;h2&gt;Hello World&lt;/h2&gt;
</code></pre>
<h3 id="javascript">JavaScript</h3>
<pre><code class="language-javascript">console.log(&quot;Hello World&quot;)
<pre><code class="javascript">console.log(&quot;Hello World&quot;)
</code></pre>
<h3 id="css">CSS</h3>
<pre><code class="language-css">.helloworld {
<pre><code class="css">.helloworld {
color: #567;
}
</code></pre>
<h3 id="markdown">Markdown</h3>
<pre><code class="language-markdown">## Hello World
<pre><code class="markdown">## Hello World
</code></pre>
<h3 id="bash">Bash</h3>
<pre><code class="language-bash">#!/bin/bash
<pre><code class="bash">#!/bin/bash
echo &quot;Hello World&quot;
</code></pre>
<h3 id="json">JSON</h3>
<pre><code class="language-json">{
<pre><code class="json">{
&quot;Hello&quot;:&quot;World&quot;
}
</code></pre>
<hr />
<h4 id="marddown-code-highlight-source">Marddown Code Highlight Source</h4>
<div class="alert alert-warning">
<pre><code class="markdown">
### Plain Text
&#96;&#96;&#96; {.plaintext}
&#96&#96&#96 {.plaintext}
Hello World
&#96;&#96;&#96;
&#96&#96&#96
### HTML
&#96;&#96;&#96; {.html}
&#60;h2&#62;Hello World&#60;/h2&#62;
&#96;&#96;&#96;
&#96&#96&#96 {.html}
&#60h2&#62Hello World&#60/h2&#62
&#96&#96&#96
### JavaScript
&#96;&#96;&#96; {.javascript}
&#96&#96&#96 {.javascript}
console.log("Hello World")
&#96;&#96;&#96;
&#96&#96&#96
### CSS
&#96;&#96;&#96; {.css}
&#96&#96&#96 {.css}
.helloworld {
color: #567;
}
&#96;&#96;&#96;
&#96&#96&#96
### Markdown
&#96;&#96;&#96; {.markdown}
&#96&#96&#96 {.markdown}
## Hello World
&#96;&#96;&#96;
&#96&#96&#96
### Bash
&#96;&#96;&#96; {.bash}
&#96&#96&#96 {.bash}
#!/bin/bash
echo "Hello World"
&#96;&#96;&#96;
&#96&#96&#96
### JSON
&#96;&#96;&#96; {.json}
&#96&#96&#96 {.json}
{
"Hello":"World"
}
&#96;&#96;&#96;
&#96&#96&#96
</code></pre>
</div></div>
</div>

3
web/root/site/editing.html

@ -127,7 +127,7 @@
To modify the navigation menu find the following section in <code>mkdocs.yml</code>. NOTE the <b>top level nav menu</b> items such as <b>Setup</b>, <b>Features</b>, and <b>About</b>. And the paged under each top level nav item.
</div>
<pre><code class="language-yml">nav:
<pre><code class="yml">nav:
- &lt;span class=&quot;fas fa-home&quot;&gt;&lt;/span&gt;: index.md
- Setup:
- Install: install.md
@ -150,6 +150,7 @@
- About:
- Contact: contact.md
</code></pre>
<div class="alert alert-info">
See how the HTML renders a <a target="_blank" href="https://getbootstrap.com/docs/3.3/components/#navbar-default">Bootstrap</a> menu.
</div>

9
web/root/site/equations.html

@ -122,16 +122,18 @@ Markdown supports inline [LaTeX](https://en.wikipedia.org/wiki/LaTeX) equations
<h4 id="inline-equations">Inline Equations</h4>
<p>Inline LaTeX starts and ends with <code>\(</code> LaTex Code <code>\)</code></p>
<h5 id="code">Code</h5>
<pre><code class="language-latex">The square root of 2 is \(\sqrt{2} = 1.141421....\).
<pre><code class="latex">The square root of 2 is \(\sqrt{2} = 1.141421....\).
</code></pre>
<p>The square root of 2 is <script type="math/tex">\sqrt{2} = 1.141421....</script>.</p>
<hr />
<h4 id="centered-equations">Centered Equations</h4>
<p>To center an equation on the page use:</p>
<p><code>\[</code> LaTex Code <code>\]</code></p>
<h5 id="code_1">Code</h5>
<pre><code class="language-latex">\[\sqrt{2} = 1.141421....\]
<pre><code class="latex">\[\sqrt{2} = 1.141421....\]
</code></pre>
<p>
<script type="math/tex; mode=display">\sqrt{2} = 1.141421....</script>
</p>
@ -140,8 +142,9 @@ Markdown supports inline [LaTeX](https://en.wikipedia.org/wiki/LaTeX) equations
<p>To left justify an equation use:</p>
<p><code>\(</code> LaTex Code <code>\)</code></p>
<h5 id="code_2">Code</h5>
<pre><code class="language-latex">\(\sqrt{2} = 1.141421....\)
<pre><code class="latex">\(\sqrt{2} = 1.141421....\)
</code></pre>
<p>
<script type="math/tex">\sqrt{2} = 1.141421....</script>
</p>

3
web/root/site/footnotes.html

@ -116,12 +116,13 @@
<h2 id="footnotes">Footnotes</h2>
<p>To use the footnotes plugin <sup id="fnref:1"><a class="footnote-ref" href="#fn:1">1</a></sup>, simply include <code>[^footnoteid]</code> inline in your text, and <code>[^footnoteid]:</code> at the end of your markdown file. Also be sure to enable the footnote plugin in your <code>mkdocs.yml</code> file.</p>
<pre><code class="language-markdown">To use the footnotes plugin [^1], simply include ...
<pre><code class="markdown">To use the footnotes plugin [^1], simply include ...
...
[^1]: [Footnotes Plugin](https://www.markdownguide.org/extended-syntax#footnotes)
</code></pre>
<div class="footnote">
<hr />
<ol>

3
web/root/site/icons.html

@ -129,6 +129,7 @@
<p>To use an FA Icon, embed it as a <code>&lt;span&gt;</code> element with the appropriate class.</p>
<pre><code>&lt;span class=&quot;fas fa-user&quot;&gt;&lt;/span&gt;
</code></pre>
<p><span class="fas fa-user"></span></p>
<h4 id="example-1">Example 1</h4>
<p>Search for <strong><em>question</em></strong> on the <a href="https://fontawesome.com/icons?d=gallery&amp;s=brands,regular,solid&amp;m=free">Font Awesome</a> icon page. You will see 3 search interesting results:
@ -140,6 +141,7 @@
- &lt;span class=&quot;fas fa-question-circle&quot;&gt;&lt;/span&gt; Solid Question Circle
- &lt;span class=&quot;far fa-question-circle&quot;&gt;&lt;/span&gt; Regular Question Circle
</code></pre>
<ul>
<li><span class="fas fa-question"></span> Solid Question Mark</li>
<li><span class="fas fa-question-circle"></span> Solid Question Circle</li>
@ -151,6 +153,7 @@
- &lt;span class=&quot;fab fa-apple&quot;&gt;&lt;/span&gt; Mac
- &lt;span class=&quot;fab fa-windows&quot;&gt;&lt;/span&gt; Windows
</code></pre>
<ul>
<li><span class="fab fa-linux"></span> Linux</li>
<li><span class="fab fa-apple"></span> Mac</li>

14
web/root/site/install.html

@ -115,10 +115,9 @@
<div class="col-md-12" role="main" style="top: -50px;">
<h2 id="installing-requirements">Installing Requirements</h2>
<div class="alert alert-info">
<p><div class="alert alert-info">
The following tools can be installed and used cross platform on <b>Windows</b>, <b>Mac</b> and <b>Linux</b> computers to build <b>MkDocs</b> websites.
</div>
</div></p>
<div class="alert alert-warning">
You may need to adapt the following notes for you operating system platform.
</div>
@ -129,12 +128,13 @@
<li><a href="https://www.python.org/">Python</a> Version 3 recommended</li>
</ul>
<h5 id="testing-python-version">Testing Python Version</h5>
<pre><code class="language-bash">[$] python3 --version
<pre><code class="bash">[$] python3 --version
Python 3.6.8
[$] pip3 --version
pip 9.0.3 from /usr/lib/python3.6/site-packages (python 3.6)
</code></pre>
<h3 id="mkdocs">MkDocs</h3>
<ul>
<li><a href="https://www.mkdocs.org/">MkDocs</a> Website</li>
@ -144,16 +144,18 @@ pip 9.0.3 from /usr/lib/python3.6/site-packages (python 3.6)
</div>
<h4 id="installing-mkdocs-and-common-plugins">Installing MkDocs and common plugins</h4>
<pre><code class="language-bash">sudo pip install mkdocs
<pre><code class="bash">sudo pip install mkdocs
sudo pip install mkdocs-pdf-export-plugin
sudo pip install mkdocs-bootstrap
sudo pip install python-markdown-math
sudo pip install https://github.com/mitya57/python-markdown-math/archive/master.zip
</code></pre>
<h5 id="testing-mkdocs-version">Testing MkDocs Version</h5>
<pre><code class="language-bash">[$] mkdocs --version
<pre><code class="bash">[$] mkdocs --version
mkdocs, version 1.1 from /usr/local/lib/python3.6/site-packages/mkdocs (Python 3.6)
</code></pre>
<p>For windows you can omit <code>sudo</code> in the above commands.</p>
<div class="alert alert-warning">
NOTE: You will need MkDocs version 1.1 to work with this template. If you have an older version try upgrading with:

193
web/root/site/js/skq-it-am.js

@ -44,6 +44,7 @@ load_webconf.get('api/webconfig', function(response) {
})
var checkcd = setTimeout(it_am_load_webconf, 10)
var varparse = setTimeout(it_am_var_parser, 100)
function it_am_load_webconf() {
// console.log('DEBUG: run load_webconf')
@ -61,123 +62,125 @@ function it_am_load_webconf() {
var clipboard = new ClipboardJS('.cpcmd');
if (itam_debug) {
if (document.getElementById('debug-config')) {
let webconf = JSON.parse(sessionStorage.webconf)
// console.log(JSON.stringify(webconf, null, 2))
function it_am_var_parser() {
if (itam_debug) {
if (document.getElementById('debug-config')) {
let webconf = JSON.parse(sessionStorage.webconf)
// console.log(JSON.stringify(webconf, null, 2))
let html = ''
html += "<hr>"
html += "<h1>DEBUG</h1>"
html += "<h2>Config</h2>"
html +='<pre>' + "\n"
html +='<code class="language-json hljs">' + "\n"
let html = ''
html += "<hr>"
html += "<h1>DEBUG</h1>"
html += "<h2>Config</h2>"
html +='<pre>' + "\n"
html +='<code class="language-json hljs">' + "\n"
html += JSON.stringify(webconf, null, 2)
html += JSON.stringify(webconf, null, 2)
html +='</code>' + "\n"
html +='</pre>' + "\n"
html +='</code>' + "\n"
html +='</pre>' + "\n"
html += '<br>'
html += '<br>'
html += '<h2>Server Config</h2>'
html += '<ul>'
html += '<li><a target="_blank" href="' + webconf['BROWSER']['BASE_URL'] + '/api/config' + '">' + webconf['BROWSER']['BASE_URL'] + '/api/config' + '</a></li>'
html += '</ul>'
html += '<h2>Server Config</h2>'
html += '<ul>'
html += '<li><a target="_blank" href="' + webconf['BROWSER']['BASE_URL'] + '/api/config' + '">' + webconf['BROWSER']['BASE_URL'] + '/api/config' + '</a></li>'
html += '</ul>'
html += '<h2>WebUI Config</h2>'
html += '<ul>'
html += '<li><a target="_blank" href="' + webconf['BROWSER']['BASE_URL'] + '/api/webconfig' + '">' + webconf['BROWSER']['BASE_URL'] + '/api/webconfig' + '</a></li>'
html += '</ul>'
html += '<h2>WebUI Config</h2>'
html += '<ul>'
html += '<li><a target="_blank" href="' + webconf['BROWSER']['BASE_URL'] + '/api/webconfig' + '">' + webconf['BROWSER']['BASE_URL'] + '/api/webconfig' + '</a></li>'
html += '</ul>'
document.getElementById('debug-config').innerHTML = html
document.getElementById('debug-config').innerHTML = html
}
}
}
if (document.getElementsByClassName("IP_ADDR")) {
let webconf = JSON.parse(sessionStorage.webconf)
for (e=0; e<document.getElementsByClassName("IP_ADDR").length; e++) {
// console.log("DEBUG e: "+ e)
document.getElementsByClassName("IP_ADDR")[e].innerHTML = webconf['BROWSER']['HOSTNAME']
if (document.getElementsByClassName("IP_ADDR")) {
let webconf = JSON.parse(sessionStorage.webconf)
for (e=0; e<document.getElementsByClassName("IP_ADDR").length; e++) {
// console.log("DEBUG e: "+ e)
document.getElementsByClassName("IP_ADDR")[e].innerHTML = webconf['BROWSER']['HOSTNAME']
}
}
}
if (document.getElementsByClassName("WEB_PORT")) {
let webconf = JSON.parse(sessionStorage.webconf)
for (e=0; e<document.getElementsByClassName("WEB_PORT").length; e++) {
// console.log("DEBUG e: "+ e)
document.getElementsByClassName("WEB_PORT")[e].innerHTML = webconf['BROWSER']['PORT']
if (document.getElementsByClassName("WEB_PORT")) {
let webconf = JSON.parse(sessionStorage.webconf)
for (e=0; e<document.getElementsByClassName("WEB_PORT").length; e++) {
// console.log("DEBUG e: "+ e)
document.getElementsByClassName("WEB_PORT")[e].innerHTML = webconf['BROWSER']['PORT']
}
}
}
if (document.getElementsByClassName("BASE_URL")) {
let webconf = JSON.parse(sessionStorage.webconf)
for (e=0; e<document.getElementsByClassName("BASE_URL").length; e++) {
// console.log("DEBUG e: "+ e)
document.getElementsByClassName("BASE_URL")[e].innerHTML = webconf['BROWSER']['BASE_URL']
if (document.getElementsByClassName("BASE_URL")) {
let webconf = JSON.parse(sessionStorage.webconf)
for (e=0; e<document.getElementsByClassName("BASE_URL").length; e++) {
// console.log("DEBUG e: "+ e)
document.getElementsByClassName("BASE_URL")[e].innerHTML = webconf['BROWSER']['BASE_URL']
}
}
}
if (document.getElementsByClassName("POSIX_WGET_CMD")) {
let webconf = JSON.parse(sessionStorage.webconf)
for (e=0; e<document.getElementsByClassName("POSIX_WGET_CMD").length; e++) {
let html = ''
let cmd = 'wget -qO- ' + webconf['BROWSER']['BASE_URL'] + '/download/skqitam-setup.sh | bash -s ' + webconf['BROWSER']['BASE_URL']
// console.log (cmd)
html +='<div class="input-group mb-3">' + "\n"
html +=' <input type="text" class="form-control" placeholder="WGET Command" aria-label="WGET Command" aria-describedby="button-addon2" value="' + cmd + '" disabled>' + "\n"
html +=' <div class="input-group-append">' + "\n"
html +=' <a title="Copy Command to Clipboard" class="btn btn-default cpcmd" type="button" id="btn-cp-wget" data-clipboard-text="' + cmd + '" onclick="alert(' + "'" + 'Copied Command to Clipboard' +"'" + ')"><span class="far fa-copy"></span></a>' + "\n"
html +=' </div>' + "\n"
html +='</div>' + "\n"
document.getElementsByClassName("POSIX_WGET_CMD")[e].innerHTML = html
if (document.getElementsByClassName("POSIX_WGET_CMD")) {
let webconf = JSON.parse(sessionStorage.webconf)
for (e=0; e<document.getElementsByClassName("POSIX_WGET_CMD").length; e++) {
let html = ''
let cmd = 'wget -qO- ' + webconf['BROWSER']['BASE_URL'] + '/download/skqitam-setup.sh | bash -s ' + webconf['BROWSER']['BASE_URL']
// console.log (cmd)
html +='<div class="input-group mb-3">' + "\n"
html +=' <input type="text" class="form-control" placeholder="WGET Command" aria-label="WGET Command" aria-describedby="button-addon2" value="' + cmd + '" disabled>' + "\n"
html +=' <div class="input-group-append">' + "\n"
html +=' <a title="Copy Command to Clipboard" class="btn btn-default cpcmd" type="button" id="btn-cp-wget" data-clipboard-text="' + cmd + '" onclick="alert(' + "'" + 'Copied Command to Clipboard' +"'" + ')"><span class="far fa-copy"></span></a>' + "\n"
html +=' </div>' + "\n"
html +='</div>' + "\n"
document.getElementsByClassName("POSIX_WGET_CMD")[e].innerHTML = html
}
}
}
if (document.getElementsByClassName("POSIX_CURL_CMD")) {
let webconf = JSON.parse(sessionStorage.webconf)
for (e=0; e<document.getElementsByClassName("POSIX_CURL_CMD").length; e++) {
let html = ''
let cmd = 'curl -o- ' + webconf['BROWSER']['BASE_URL'] + '/download/skqitam-setup.sh | bash -s ' + webconf['BROWSER']['BASE_URL']
// console.log (cmd)
html +='<div class="input-group mb-3">' + "\n"
html +=' <input type="text" class="form-control" placeholder="WGET Command" aria-label="WGET Command" aria-describedby="button-addon2" value="' + cmd + '" disabled>' + "\n"
html +=' <div class="input-group-append">' + "\n"
html +=' <a title="Copy Command to Clipboard" class="btn btn-default cpcmd" type="button" id="btn-cp-curl" data-clipboard-text="' + cmd + '" onclick="alert(' + "'" + 'Copied Command to Clipboard' +"'" + ')"><span class="far fa-copy"></span></a>' + "\n"
html +=' </div>' + "\n"
html +='</div>' + "\n"
document.getElementsByClassName("POSIX_CURL_CMD")[e].innerHTML = html
if (document.getElementsByClassName("POSIX_CURL_CMD")) {
let webconf = JSON.parse(sessionStorage.webconf)
for (e=0; e<document.getElementsByClassName("POSIX_CURL_CMD").length; e++) {
let html = ''
let cmd = 'curl -o- ' + webconf['BROWSER']['BASE_URL'] + '/download/skqitam-setup.sh | bash -s ' + webconf['BROWSER']['BASE_URL']
// console.log (cmd)
html +='<div class="input-group mb-3">' + "\n"
html +=' <input type="text" class="form-control" placeholder="WGET Command" aria-label="WGET Command" aria-describedby="button-addon2" value="' + cmd + '" disabled>' + "\n"
html +=' <div class="input-group-append">' + "\n"
html +=' <a title="Copy Command to Clipboard" class="btn btn-default cpcmd" type="button" id="btn-cp-curl" data-clipboard-text="' + cmd + '" onclick="alert(' + "'" + 'Copied Command to Clipboard' +"'" + ')"><span class="far fa-copy"></span></a>' + "\n"
html +=' </div>' + "\n"
html +='</div>' + "\n"
document.getElementsByClassName("POSIX_CURL_CMD")[e].innerHTML = html
}
}
}
// Example From: https://chocolatey.org/install
// Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
if (document.getElementsByClassName("WIN_CMD_CMD")) {
let webconf = JSON.parse(sessionStorage.webconf)
for (e=0; e<document.getElementsByClassName("WIN_CMD_CMD").length; e++) {
let html = ''
// let cmd = encodeURIComponent('PowerShell -ExecutionPolicy Unrestricted Invoke-WebRequest \"' + webconf['BROWSER']['BASE_URL'] + '/download/skqitam-setup.ps1\" -Outfile "~\Downloads\skqitam-setup.ps1"; PowerShell -ExecutionPolicy Unrestricted -command "~\Downloads\skqitam-setup.ps1"')
let cmd = 'PowerShell -ExecutionPolicy Unrestricted Invoke-WebRequest \"' + webconf['BROWSER']['BASE_URL'] + '/download/skqitam-setup.ps1\" -Outfile "~\Downloads\skqitam-setup.ps1"; PowerShell -ExecutionPolicy Unrestricted -command "~\Downloads\skqitam-setup.ps1 ' + webconf['BROWSER']['BASE_URL'] + '"'
console.log (cmd)
// Example From: https://chocolatey.org/install
// Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
html +='<div class="input-group mb-3">' + "\n"
html +=' <input id="WIN_CMD_CMD" type="text" class="form-control" placeholder="WGET Command" aria-label="WGET Command" aria-describedby="button-addon2" value="' + cmd + '" disabled>' + "\n"
html +=' <div class="input-group-append">' + "\n"
html +=' <a title="Copy Command to Clipboard" class="btn btn-default cpcmd" type="button" id="btn-cp-win" data-clipboard-text="" onclick="alert(' + "'" + 'Copied Command to Clipboard' +"'" + ')"><span class="far fa-copy"></span></a>' + "\n"
html +=' </div>' + "\n"
html +='</div>' + "\n"
document.getElementsByClassName("WIN_CMD_CMD")[e].innerHTML = html
document.getElementById("WIN_CMD_CMD").value = cmd
document.getElementById("btn-cp-win").setAttribute('data-clipboard-text', cmd)
if (document.getElementsByClassName("WIN_CMD_CMD")) {
let webconf = JSON.parse(sessionStorage.webconf)
for (e=0; e<document.getElementsByClassName("WIN_CMD_CMD").length; e++) {
let html = ''
// let cmd = encodeURIComponent('PowerShell -ExecutionPolicy Unrestricted Invoke-WebRequest \"' + webconf['BROWSER']['BASE_URL'] + '/download/skqitam-setup.ps1\" -Outfile "~\Downloads\skqitam-setup.ps1"; PowerShell -ExecutionPolicy Unrestricted -command "~\Downloads\skqitam-setup.ps1"')
let cmd = 'PowerShell -ExecutionPolicy Unrestricted Invoke-WebRequest \"' + webconf['BROWSER']['BASE_URL'] + '/download/skqitam-setup.ps1\" -Outfile "~\Downloads\skqitam-setup.ps1"; PowerShell -ExecutionPolicy Unrestricted -command "~\Downloads\skqitam-setup.ps1 ' + webconf['BROWSER']['BASE_URL'] + '"'
console.log (cmd)
html +='<div class="input-group mb-3">' + "\n"
html +=' <input id="WIN_CMD_CMD" type="text" class="form-control" placeholder="WGET Command" aria-label="WGET Command" aria-describedby="button-addon2" value="' + cmd + '" disabled>' + "\n"
html +=' <div class="input-group-append">' + "\n"
html +=' <a title="Copy Command to Clipboard" class="btn btn-default cpcmd" type="button" id="btn-cp-win" data-clipboard-text="" onclick="alert(' + "'" + 'Copied Command to Clipboard' +"'" + ')"><span class="far fa-copy"></span></a>' + "\n"
html +=' </div>' + "\n"
html +='</div>' + "\n"
document.getElementsByClassName("WIN_CMD_CMD")[e].innerHTML = html
document.getElementById("WIN_CMD_CMD").value = cmd
document.getElementById("btn-cp-win").setAttribute('data-clipboard-text', cmd)
}
}
}

10
web/root/site/menu.html

@ -115,12 +115,11 @@
<div class="col-md-12" role="main" style="top: -50px;">
<h2 id="menu-navigation">Menu navigation</h2>
<p>As described on the <a href="editing.html">Editing</a> page</p>
<p>As described on the <a href="editing.html">Editing</a> page
<div class="alert alert-info">
To modify the navigation menu find the following section in <code>mkdocs.yml</code>.
</div>
<pre><code class="language-yml">nav:
</div></p>
<pre><code class="yml">nav:
- &lt;span class=&quot;fas fa-home&quot;&gt;&lt;/span&gt;: index.md
- Setup:
- Install: install.md
@ -131,11 +130,12 @@
- Swipe Nav: swipe.md
-...
</code></pre>
<div class="alert alert-info">
However both top and sub nav menu items can also be both Markdown or URL links. For example:
</div>
<pre><code class="language-yml">nav:
<pre><code class="yml">nav:
- Home: index.md
- Sikuliaq: https://www.sikuliaq.alaska.edu
- UAF:

12
web/root/site/optional.html

@ -116,31 +116,35 @@
<h2 id="optional-recommended-tools">Optional Recommended Tools</h2>
<p>MkDocs provides a test webserver that can be used to test the static HTML website.</p>
<pre><code class="language-bash">mkdocs serve
<pre><code class="bash">mkdocs serve
</code></pre>
<p>However you might prefer the Node.js http-server for this purpose.</p>
<h3 id="nodejs">Node.js</h3>
<ul>
<li><a href="https://nodejs.org/en/">Node.js</a></li>
</ul>
<h5 id="or-via-nvm-no-admin-privs-needed">or via <a href="https://github.com/nvm-sh/nvm#installing-and-updating">NVM</a> (No Admin Privs Needed)</h5>
<pre><code class="language-bash">curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
<pre><code class="bash">curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.2/install.sh | bash
nvm install --lts
</code></pre>
<pre><code class="language-bash">[$] node --version
<pre><code class="bash">[$] node --version
v12.14.1
[$] npm --version
6.13.4
</code></pre>
<h3 id="http-server">http-server</h3>
<p>(Requires Node.js)</p>
<ul>
<li><a href="https://github.com/http-party/http-server#readme">http-server</a></li>
</ul>
<pre><code class="language-bash">npm install --global http-server
<pre><code class="bash">npm install --global http-server
</code></pre>
<h3 id="atom-editor">Atom Editor</h3>
<ul>
<li><a href="https://atom.io/">https://atom.io/</a></li>

3
web/root/site/pdf.html

@ -121,13 +121,14 @@
</ul>
<h4 id="enable-the-plugin">Enable the Plugin</h4>
<p>In your <code>mkdocs.yml</code> Config File</p>
<pre><code class="language-yml">plugins:
<pre><code class="yml">plugins:
- pdf-export:
verbose: true
media_type: print
combined: true
combined_output_path: pdf/skq-docs.pdf
</code></pre>
<div class="alert alert-warning">
Not all HTML code renders well as PDF.
</div>

2
web/root/site/search.html

@ -123,7 +123,7 @@
To enable site <b>Search</b> add the <code>- search</code> to the <code>mkdocs.yml</code> plugins section.
</div>
<pre><code class="language-yml">plugins:
<pre><code class="yml">plugins:
- search
</code></pre></div>
</div>

8
web/root/site/sitemap.xml

@ -1,19 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><url>
<loc>None</loc>
<lastmod>2021-06-07</lastmod>
<lastmod>2021-06-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>None</loc>
<lastmod>2021-06-07</lastmod>
<lastmod>2021-06-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>None</loc>
<lastmod>2021-06-07</lastmod>
<lastmod>2021-06-08</lastmod>
<changefreq>daily</changefreq>
</url><url>
<loc>None</loc>
<lastmod>2021-06-07</lastmod>
<lastmod>2021-06-08</lastmod>
<changefreq>daily</changefreq>
</url>
</urlset>

BIN
web/root/site/sitemap.xml.gz

2
web/root/site/swipe.html

@ -125,7 +125,7 @@ Swipe navigation is not a feature of MkDocs but is a custom modification include
<h3 id="customjsswipenavjs">custom/js/swipenav.js</h3>
<p>For details see the following JavaScript code.</p>
<pre><code class="language-javascript">var links = document.getElementsByTagName(&quot;a&quot;);
<pre><code class="javascript">var links = document.getElementsByTagName(&quot;a&quot;);
for (l in links) {
if (String(links[l].innerHTML).match(/fa-arrow-left.*Previous/)) {

9
web/root/site/test.html

@ -115,8 +115,9 @@
<div class="col-md-12" role="main" style="top: -50px;">
<h2 id="testing-the-site">Testing the Site</h2>
<pre><code class="language-bash">[$] cd skq-mkdocs-templates
<pre><code class="bash">[$] cd skq-mkdocs-templates
</code></pre>
<div class="alert alert-info">
There is more than one way to test a mkdocs website.
</div>
@ -130,7 +131,7 @@ There is more than one way to test a mkdocs website.
</div>
<h3 id="run-the-mkdocs-serve-test-server">Run the <code>mkdocs serve</code> test server</h3>
<pre><code class="language-bash">[$] mkdocs serve
<pre><code class="bash">[$] mkdocs serve
INFO - Building documentation...
PDF export is disabled (set environment variable ENABLE_PDF_EXPORT to 1 to enable)
INFO - Cleaning site directory
@ -139,6 +140,7 @@ INFO - Cleaning site directory
[I 200208 15:58:49 handlers:64] Start detecting changes
[I 200208 15:59:08 handlers:135] Browser Connected: http://127.0.0.1:8000/
</code></pre>
<ul>
<li>Point your browser to: <a href="http://127.0.0.1:8000">http://127.0.0.1:8000</a></li>
</ul>
@ -148,13 +150,14 @@ INFO - Cleaning site directory
</ul>
<h3 id="run-the-http-server-test-server">Run the <code>http-server</code> test server</h3>
<p>See: <a href="optional.html">Optional Tools</a> to install.</p>
<pre><code class="language-bash">[$ skq-mkdocs-template] http-server site
<pre><code class="bash">[$ skq-mkdocs-template] http-server site
Starting up http-server, serving site
Available on:
http://127.0.0.1:8080
http://10.1.0.242:8080
Hit CTRL-C to stop the server
</code></pre>
<p>Point your browser to:</p>
<ul>
<li><a href="http://127.0.0.1:8080">http://127.0.0.1:8080</a></li>

3
web/root/site/version.html

@ -119,9 +119,10 @@
A custom site <b>version</b> date has been added to the <code>mkdocs.yml</code> configuration file.
</div>
<pre><code class="language-yml">extra:
<pre><code class="yml">extra:
version: 2020-02-08
</code></pre>
<p>The <strong>Version</strong> is rendered in the footer of all MkDocs site page.</p>
<p><a href="img/Version.png"><img src="img/Version.png" class="img-responsive img-rounded" style="width: 600px;" alt="MenuNaV" ></a></p></div>
</div>

Loading…
Cancel
Save