When I call 'nim doc foo.nim' with version 1.4.4 the following error shows up:
> Error: unknown substition variable: attype A quick search revealed the problem in '/etc/nim/nimdoc.cfg' ... # Chunk of HTML emitted for each entry in the HTML table of contents. # See doc.item for available substitution variables. doc.item.toc = """ <li><a class="reference" href="#$itemSymOrIDEnc" 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> """ ... Run I installed nim with the archlinux package manager and there might be something missing. Any help is appreciated ...