-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnimModule2.html
76 lines (65 loc) · 1.65 KB
/
nimModule2.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!--$ # StaticTea Template -->
<!--$ # This template creates a module's docs from nim doc comments. -->
<!--$ # Also see nimModule.tea -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<!--$ nextline -->
<title>{o.moduleName}</title>
<link rel="stylesheet" type="text/css" href="nimModule.css">
</head>
<body>
<!--$ block -->
<h1>{o.moduleName}</h1>
{o.moduleDescription}
Nim source code: <a href="../../src/{o.moduleName}">{o.moduleName}</a>
<!--$ endblock -->
<h1>Index</h1>
<ul>
<!--$ nextline -->
<!--$ : t.repeat = len(o.entries) -->
<!--$ : entry = o.entries[t.row] -->
<li>{entry.type} <a href="#{entry.anchor}">{entry.name}</a> — {entry.short}</li>
</ul>
<!--$ # Create the function sections. -->
<!--$ block -->
<!--$ : t.repeat = len(o.entries) -->
<!--$ : entry = o.entries[t.row] -->
<h3 id="{entry.anchor}">{entry.name}</h3>
{entry.description}
<pre class="nim-code">
{entry.signature}
</pre>
<!--$ endblock -->
<p>⦿ This page was generated
by <a href="https://github.com/flenniken/statictea/">statictea</a>
from nim doc comments. ⦿</p>
<!--$ # Create a section for testing the different code blocks -->
<!--$ # that contain content. -->
<!--$ block t.repeat = 0 -->
<p>
StaticTea code block:
</p>
<pre class="tea-code">
d = dict("tea", "Earl Grey")
get(d, "tea") => "Earl Grey"
get(d, "coffee", "Tea") => "Tea"
</pre>
<p>
Plain code block:
</p>
<pre class="plain-code">
d = dict("tea", "Earl Grey")
get(d, "tea") => "Earl Grey"
get(d, "coffee", "Tea") => "Tea"
</pre>
<p>
nim code block:
</p>
<pre class="nim-code">
func fun_replace_siiss*(variables: Variables, arguments: seq[Value]): FunResult =
</pre>
<!--$ endblock -->
</body>
</html>