summary refs log tree commit diff stats
path: root/config/nimdoc.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'config/nimdoc.cfg')
-rw-r--r--config/nimdoc.cfg14
1 files changed, 14 insertions, 0 deletions
diff --git a/config/nimdoc.cfg b/config/nimdoc.cfg
index 9a56fdaae..a6a402bab 100644
--- a/config/nimdoc.cfg
+++ b/config/nimdoc.cfg
@@ -24,6 +24,12 @@ doc.section.toc = """
 </li>
 """
 
+doc.section.toc2 = """
+  <ul class="simple nested-toc-section">$plainName
+    $content
+  </ul>
+"""
+
 # Chunk of HTML emitted for each entry in the HTML table of contents.
 # Available variables are:
 # * $desc: the actual docstring of the item.
@@ -54,6 +60,14 @@ doc.item.toc = """
     title="$header_plain">$name<span class="attachedType">$attype</span></a></li>
 """
 
+# This is used for TOC items which are grouped by the same name (e.g. procs).
+doc.item.tocTable = """
+  <li><a class="reference" href="#$itemSymOrIDEnc"
+    title="$header_plain">$itemSymOrID<span class="attachedType">$attype</span></a></li>
+"""
+
+
+
 # HTML rendered for doc.item's seeSrc variable. Note that this will render to
 # the empty string if you don't pass anything through --git.url. Available
 # substitutaion variables here are:
9 17:35:07 +0100 Appveyor integration config (#5295)' href='/ahoang/Nim/commit/appveyor.yml?h=devel&id=9f6f78ac6136a2d793fd20ca81e8cfaa8d1e1f28'>9f6f78ac6 ^
05fe52383 ^
9f6f78ac6 ^
05fe52383 ^
96c571dd9 ^
05fe52383 ^



9f6f78ac6 ^






c525dfabc ^
9f6f78ac6 ^

26568dff0 ^

d2208091f ^



2da0341b4 ^
d2208091f ^
9f6f78ac6 ^

931496770 ^
f078f272e ^
57f4abf6f ^

9f6f78ac6 ^

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