Skip to content

Commit 574ac76

Browse files
authored
Merge pull request #108 from enthus1ast/devel
Devel
2 parents b69fafe + 5decd86 commit 574ac76

27 files changed

+1978
-2579
lines changed

docs/dochack.js

+1,015-1,447
Large diffs are not rendered by default.

docs/nimdoc.out.css

+155-145
Large diffs are not rendered by default.

docs/nimja.html

+56-110
Original file line numberDiff line numberDiff line change
@@ -1,147 +1,93 @@
11
<?xml version="1.0" encoding="utf-8" ?>
2-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
43
<!-- This file is generated by Nim. -->
5-
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4+
<html xmlns="https://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
65
<head>
76
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8-
97
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8+
<title>nimja</title>
109

1110
<!-- Favicon -->
1211
<link rel="shortcut icon" href="data:image/x-icon;base64,AAABAAEAEBAAAAEAIABoBAAAFgAAACgAAAAQAAAAIAAAAAEAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAUAAAAF////AP///wD///8A////AP///wD///8A////AP///wD///8A////AAAAAAIAAABbAAAAlQAAAKIAAACbAAAAmwAAAKIAAACVAAAAWwAAAAL///8A////AP///wD///8A////AAAAABQAAADAAAAAYwAAAA3///8A////AP///wD///8AAAAADQAAAGMAAADAAAAAFP///wD///8A////AP///wAAAACdAAAAOv///wD///8A////AP///wD///8A////AP///wD///8AAAAAOgAAAJ3///8A////AP///wAAAAAnAAAAcP///wAAAAAoAAAASv///wD///8A////AP///wAAAABKAAAAKP///wAAAABwAAAAJ////wD///8AAAAAgQAAABwAAACIAAAAkAAAAJMAAACtAAAAFQAAABUAAACtAAAAkwAAAJAAAACIAAAAHAAAAIH///8A////AAAAAKQAAACrAAAAaP///wD///8AAAAARQAAANIAAADSAAAARf///wD///8AAAAAaAAAAKsAAACk////AAAAADMAAACcAAAAnQAAABj///8A////AP///wAAAAAYAAAAGP///wD///8A////AAAAABgAAACdAAAAnAAAADMAAAB1AAAAwwAAAP8AAADpAAAAsQAAAE4AAAAb////AP///wAAAAAbAAAATgAAALEAAADpAAAA/wAAAMMAAAB1AAAAtwAAAOkAAAD/AAAA/wAAAP8AAADvAAAA3gAAAN4AAADeAAAA3gAAAO8AAAD/AAAA/wAAAP8AAADpAAAAtwAAAGUAAAA/AAAA3wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAAD/AAAA/wAAAP8AAADfAAAAPwAAAGX///8A////AAAAAEgAAADtAAAAvwAAAL0AAADGAAAA7wAAAO8AAADGAAAAvQAAAL8AAADtAAAASP///wD///8A////AP///wD///8AAAAAO////wD///8A////AAAAAIcAAACH////AP///wD///8AAAAAO////wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A////AP///wD///8A//8AAP//AAD4HwAA7/cAAN/7AAD//wAAoYUAAJ55AACf+QAAh+EAAAAAAADAAwAA4AcAAP5/AAD//wAA//8AAA=="/>
1312
<link rel="icon" type="image/png" sizes="32x32" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAA3XAAAN1wFCKJt4AAAAB3RJTUUH4QQQEwksSS9ZWwAAAk1JREFUWMPtll2ITVEUx39nn/O7Y5qR8f05wtCUUr6ZIS++8pEnkZInPImneaCQ5METNdOkeFBKUhMPRIkHKfEuUZSUlGlKPN2TrgfncpvmnntnmlEyq1Z7t89/rf9a6+y99oZxGZf/XeIq61EdtgKXgdXA0xrYAvBjOIF1AI9zvjcC74BSpndrJPkBWDScTF8Aa4E3wDlgHbASaANmVqlcCnwHvgDvgVfAJ+AikAAvgfVZwLnSVZHZaOuKoQi3ZOMi4NkYkpe1p4J7A8BpYAD49hfIy/oqG0+hLomiKP2L5L+1ubn5115S+3OAn4EnwBlgMzCjyt6ZAnQCJ4A7wOs88iRJHvw50HoujuPBoCKwHWiosy8MdfZnAdcHk8dxXFJ3VQbQlCTJvRBCGdRbD4M6uc5glpY3eAihpN5S5w12diSEcCCEcKUO4ljdr15T76ur1FDDLIQQ3qv71EdDOe3Kxj3leRXyk+pxdWnFWod6Wt2bY3de3aSuUHcPBVimHs7mK9WrmeOF6lR1o9qnzskh2ar2qm1qizpfXaPeVGdlmGN5pb09qMxz1Xb1kLqgzn1RyH7JUXW52lr5e/Kqi9qpto7V1atuUzfnARrV7jEib1T76gG2qxdGmXyiekkt1GswPTtek0aBfJp6YySGBfWg2tPQ0FAYgf1stUfdmdcjarbYJEniKIq6gY/Aw+zWHAC+p2labGpqiorFYgGYCEzN7oQdQClN07O1/EfDyGgC0ALMBdYAi4FyK+4H3gLPsxfR1zRNi+NP7nH5J+QntnXe5B5mpfQAAAAASUVORK5CYII=">
1413

15-
<!-- Google fonts -->
16-
<link href='https://fonts.googleapis.com/css?family=Lato:400,600,900' rel='stylesheet' type='text/css'/>
17-
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro:400,500,600' rel='stylesheet' type='text/css'/>
18-
1914
<!-- CSS -->
20-
<title>nimja</title>
21-
<link rel="stylesheet" type="text/css" href="nimdoc.out.css">
22-
23-
<script type="text/javascript" src="dochack.js"></script>
24-
25-
<script type="text/javascript">
26-
function main() {
27-
var pragmaDots = document.getElementsByClassName("pragmadots");
28-
for (var i = 0; i < pragmaDots.length; i++) {
29-
pragmaDots[i].onclick = function(event) {
30-
// Hide tease
31-
event.target.parentNode.style.display = "none";
32-
// Show actual
33-
event.target.parentNode.nextElementSibling.style.display = "inline";
34-
}
35-
}
36-
37-
function switchTheme(e) {
38-
if (e.target.checked) {
39-
document.documentElement.setAttribute('data-theme', 'dark');
40-
localStorage.setItem('theme', 'dark');
41-
} else {
42-
document.documentElement.setAttribute('data-theme', 'light');
43-
localStorage.setItem('theme', 'light');
44-
}
45-
}
46-
47-
const toggleSwitch = document.querySelector('.theme-switch input[type="checkbox"]');
48-
if (toggleSwitch !== null) {
49-
toggleSwitch.addEventListener('change', switchTheme, false);
50-
}
51-
52-
var currentTheme = localStorage.getItem('theme');
53-
if (!currentTheme && window.matchMedia('(prefers-color-scheme: dark)').matches) {
54-
currentTheme = 'dark';
55-
}
56-
if (currentTheme) {
57-
document.documentElement.setAttribute('data-theme', currentTheme);
58-
59-
if (currentTheme === 'dark' && toggleSwitch !== null) {
60-
toggleSwitch.checked = true;
61-
}
62-
}
63-
}
64-
65-
window.addEventListener('DOMContentLoaded', main);
66-
</script>
15+
<link rel="stylesheet" type="text/css" href="nimdoc.out.css?v=2.0.8">
6716

17+
<!-- JS -->
18+
<script type="text/javascript" src="dochack.js?v=2.0.8"></script>
6819
</head>
6920
<body>
70-
<div class="document" id="documentId">
71-
<div class="container">
72-
<h1 class="title">nimja</h1>
73-
<div class="row">
21+
<div class="document" id="documentId">
22+
<div class="container">
23+
<h1 class="title">nimja</h1>
24+
<div class="row">
7425
<div class="three columns">
75-
<div class="theme-switch-wrapper">
76-
<label class="theme-switch" for="checkbox">
77-
<input type="checkbox" id="checkbox" />
78-
<div class="slider round"></div>
79-
</label>
80-
&nbsp;&nbsp;&nbsp; <em>Dark Mode</em>
81-
</div>
82-
<div id="global-links">
83-
<ul class="simple">
84-
<li>
85-
<a href="theindex.html">Index</a>
86-
</li>
87-
</ul>
88-
</div>
89-
<div id="searchInputDiv">
90-
Search: <input type="text" id="searchInput"
91-
onkeyup="search()" />
92-
</div>
93-
<div>
94-
Group by:
95-
<select onchange="groupBy(this.value)">
96-
<option value="section">Section</option>
97-
<option value="type">Type</option>
98-
</select>
99-
</div>
100-
<ul class="simple simple-toc" id="toc-list">
101-
<li>
26+
<div class="theme-select-wrapper">
27+
<label for="theme-select">Theme:&nbsp;</label>
28+
<select id="theme-select" onchange="setTheme(this.value)">
29+
<option value="auto">🌗 Match OS</option>
30+
<option value="dark">🌑 Dark</option>
31+
<option value="light">🌕 Light</option>
32+
</select>
33+
</div>
34+
<div id="global-links">
35+
<ul class="simple">
36+
<li><a id="indexLink" href="theindex.html">Index</a></li>
37+
</ul>
38+
</div>
39+
<div id="searchInputDiv">
40+
Search: <input type="search" id="searchInput" onkeyup="search()"/>
41+
</div>
42+
<div>
43+
Group by:
44+
<select onchange="groupBy(this.value)">
45+
<option value="section">Section</option>
46+
<option value="type">Type</option>
47+
</select>
48+
</div>
49+
<ul class="simple simple-toc" id="toc-list">
50+
<li>
10251
<a class="reference reference-toplevel" href="#6" id="56">Imports</a>
103-
<ul class="simple simple-toc-section">
104-
105-
</ul>
10652
</li>
10753
<li>
10854
<a class="reference reference-toplevel" href="#19" id="69">Exports</a>
109-
<ul class="simple simple-toc-section">
110-
111-
</ul>
11255
</li>
11356

11457
</ul>
11558

11659
</div>
117-
11860
<div class="nine columns" id="content">
119-
<div id="tocRoot"></div>
120-
121-
<p class="module-desc"></p>
122-
<div class="section" id="6">
123-
<h1><a class="toc-backref" href="#6">Imports</a></h1>
124-
<dl class="item">
125-
<a class="reference external" href="nimja/parser.html">nimja/parser</a>, <a class="reference external" href="nimja/nimjautils.html">nimja/nimjautils</a>
126-
</dl></div>
61+
62+
<div id="tocRoot"></div>
63+
64+
<p class="module-desc"></p>
65+
<div class="section" id="6">
66+
<h1><a class="toc-backref" href="#6">Imports</a></h1>
67+
<dl class="item">
68+
<a class="reference external" href="nimja/parser.html">nimja/parser</a>, <a class="reference external" href="nimja/nimjautils.html">nimja/nimjautils</a>
69+
</dl>
70+
</div>
12771
<div class="section" id="19">
128-
<h1><a class="toc-backref" href="#19">Exports</a></h1>
129-
<dl class="item">
130-
<a href="nimja/parser.html#compileTemplateStr.m,typed,staticbool,staticstring,untyped"><span class="Identifier">compileTemplateStr</span></a>, <a href="nimja/parser.html#compileTemplateFile.m,staticstring,staticbool,staticstring,untyped"><span class="Identifier">compileTemplateFile</span></a>, <a href="nimja/sharedhelper.html#getScriptDir.t"><span class="Identifier">getScriptDir</span></a>, <a href="nimja/parser.html#tmpls.m,staticstring,untyped"><span class="Identifier">tmpls</span></a>, <a href="nimja/parser.html#tmplf.m,staticstring,untyped"><span class="Identifier">tmplf</span></a>, <a href="nimja/nimjautils.html#Loop"><span class="Identifier">Loop</span></a>, <a href="nimja/nimjautils.html#includeRaw,string"><span class="Identifier">includeRaw</span></a>, <a href="nimja/nimjautils.html#slugify,string,string"><span class="Identifier">slugify</span></a>, <a href="nimja/nimjautils.html#|.m,untyped,untyped"><span class="Identifier">|</span></a>, <a href="nimja/nimjautils.html#Loopable"><span class="Identifier">Loopable</span></a>, <a href="nimja/nimjautils.html#allowedCharsInSlug"><span class="Identifier">allowedCharsInSlug</span></a>, <a href="nimja/nimjautils.html#loop.i,openArray[T]"><span class="Identifier">loop</span></a>, <a href="nimja/nimjautils.html#nl2br,string"><span class="Identifier">nl2br</span></a>, <a href="nimja/nimjautils.html#includeStaticAsDataurl,staticstring,staticstring"><span class="Identifier">includeStaticAsDataurl</span></a>, <a href="nimja/nimjautils.html#includeRawStatic,staticstring"><span class="Identifier">includeRawStatic</span></a>, <a href="nimja/nimjautils.html#~.t,untyped,untyped"><span class="Identifier">~</span></a>, <a href="nimja/nimjautils.html#?.t,untyped,untyped"><span class="Identifier">?</span></a>, <a href="nimja/nimjautils.html#cycle,Loop,openArray[T]"><span class="Identifier">cycle</span></a>, <a href="nimja/nimjautils.html#truncate,string,Natural,string"><span class="Identifier">truncate</span></a>, <a href="nimja/nimjautils.html#spaceless,string"><span class="Identifier">spaceless</span></a>
131-
</dl></div>
72+
<h1><a class="toc-backref" href="#19">Exports</a></h1>
73+
<dl class="item">
74+
<a href="nimja/parser.html#compileTemplateStr.m,typed,staticstring,staticbool,staticstring,untyped"><span class="Identifier">compileTemplateStr</span></a>, <a href="nimja/parser.html#compileTemplateFile.m,staticstring,staticstring,staticbool,staticstring,untyped"><span class="Identifier">compileTemplateFile</span></a>, <a href="nimja/sharedhelper.html#getScriptDir.t"><span class="Identifier">getScriptDir</span></a>, <a href="nimja/parser.html#tmpls.m,staticstring,staticstring,untyped"><span class="Identifier">tmpls</span></a>, <a href="nimja/parser.html#tmplf.m,staticstring,staticstring,untyped"><span class="Identifier">tmplf</span></a>, <a href="nimja/nimjautils.html#Loop"><span class="Identifier">Loop</span></a>, <a href="nimja/nimjautils.html#includeRaw,string"><span class="Identifier">includeRaw</span></a>, <a href="nimja/nimjautils.html#slugify,string,string"><span class="Identifier">slugify</span></a>, <a href="nimja/nimjautils.html#|.m,untyped,untyped"><span class="Identifier">|</span></a>, <a href="nimja/nimjautils.html#Loopable"><span class="Identifier">Loopable</span></a>, <a href="nimja/nimjautils.html#allowedCharsInSlug"><span class="Identifier">allowedCharsInSlug</span></a>, <a href="nimja/nimjautils.html#loop.i,openArray[T]"><span class="Identifier">loop</span></a>, <a href="nimja/nimjautils.html#nl2br,string"><span class="Identifier">nl2br</span></a>, <a href="nimja/nimjautils.html#includeStaticAsDataurl,staticstring,staticstring"><span class="Identifier">includeStaticAsDataurl</span></a>, <a href="nimja/nimjautils.html#includeRawStatic,staticstring"><span class="Identifier">includeRawStatic</span></a>, <a href="nimja/nimjautils.html#~.t,untyped,untyped"><span class="Identifier">~</span></a>, <a href="nimja/nimjautils.html#?.t,untyped,untyped"><span class="Identifier">?</span></a>, <a href="nimja/nimjautils.html#cycle,Loop,openArray[T]"><span class="Identifier">cycle</span></a>, <a href="nimja/nimjautils.html#truncate,string,Natural,string"><span class="Identifier">truncate</span></a>, <a href="nimja/nimjautils.html#spaceless,string"><span class="Identifier">spaceless</span></a>
75+
</dl>
76+
</div>
13277

13378
</div>
13479
</div>
13580

136-
<div class="row">
13781
<div class="twelve-columns footer">
13882
<span class="nim-sprite"></span>
139-
<br/>
140-
<small style="color: var(--hint);">Made with Nim. Generated: 2022-09-14 19:09:04 UTC</small>
83+
<br>
84+
<small style="color: var(--hint);">Made with Nim. Generated: 2024-08-12 07:43:26 UTC</small>
14185
</div>
14286
</div>
14387
</div>
144-
</div>
145-
88+
89+
<!-- Google fonts -->
90+
<link href='https://fonts.googleapis.com/css?family=Lato:400,600,900' rel='stylesheet' type='text/css'/>
91+
<link href='https://fonts.googleapis.com/css?family=Source+Code+Pro:400,500,600' rel='stylesheet' type='text/css'/>
14692
</body>
14793
</html>

docs/nimja.idx

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nimTitle nimja nimja.html module nimja 0

0 commit comments

Comments
 (0)