Adds colon to symbols in the index.
The colon makes it easier to get a unique match searching for symbols using words which may also appear as substrings or elsewhere.
This commit is contained in:
parent
f70015bee3
commit
7f090983e9
1 changed files with 1 additions and 1 deletions
|
|
@ -406,7 +406,7 @@ proc generateSymbolIndex(symbols: seq[TIndexEntry]): string =
|
|||
result = ""
|
||||
var i = 0
|
||||
while i < symbols.len:
|
||||
result.addf("<dt><span>$1</span></dt><ul class=\"simple\"><dd>\n",
|
||||
result.addf("<dt><span>$1:</span></dt><ul class=\"simple\"><dd>\n",
|
||||
[symbols[i].keyword])
|
||||
var j = i
|
||||
while j < symbols.len and symbols[i].keyword == symbols[j].keyword:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue