mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 14:00:35 +00:00
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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user