Trying to launch nim doc and nim doc2 on devel, lots of errors:
raise newException(LibraryError, &"Component {component[]} is not supported by {self[]} system")
expression: newException(LibraryError, )
systems.nim(40, 3) Error: only a 'ref object' can be raised
Also some errors
lib/nim/pure/strformat.nim(353, 24) Error: undeclared field: 'validateUtf8'
lib/nim/pure/strformat.nim(353, 24) Error: undeclared field: '.'
lib/nim/pure/strformat.nim(353, 24) Error: expression '.' cannot be called
lib/nim/pure/strformat.nim(353, 46) Error: undeclared field: 'runeLen'
lib/nim/pure/strformat.nim(353, 46) Error: undeclared field: '.'
lib/nim/pure/strformat.nim(353, 46) Error: expression '.' cannot be called
lib/nim/pure/strformat.nim(471, 22) Error: undeclared identifier: 'parseSaturatedNatural'
lib/nim/pure/strformat.nim(471, 43) Error: attempting to call undeclared routine: 'parseSaturatedNatural'
lib/nim/pure/strformat.nim(471, 43) Error: attempting to call undeclared routine: 'parseSaturatedNatural'
lib/nim/pure/strformat.nim(471, 43) Error: expression 'parseSaturatedNatural' cannot be called
lib/nim/pure/strformat.nim(475, 46) Error: attempting to call undeclared routine: 'parseSaturatedNatural'
lib/nim/pure/strformat.nim(475, 46) Error: attempting to call undeclared routine: 'parseSaturatedNatural'
lib/nim/pure/strformat.nim(475, 46) Error: expression 'parseSaturatedNatural' cannot be called
lib/nim/pure/collections/sequtils.nim(714, 14) Error: undeclared identifier: 'copyNimNode'
lib/nim/pure/collections/sequtils.nim(714, 25) Error: attempting to call undeclared routine: 'copyNimNode'
lib/nim/pure/collections/sequtils.nim(714, 25) Error: attempting to call undeclared routine: 'copyNimNode'
lib/nim/pure/collections/sequtils.nim(714, 25) Error: expression 'copyNimNode' cannot be called
lib/nim/pure/collections/sequtils.nim(715, 14) Error: type mismatch: got <NimNode>
lib/nim/pure/collections/sequtils.nim(716, 21) Error: undeclared field: 'kind'
lib/nim/pure/collections/sequtils.nim(716, 21) Error: undeclared field: '.'
lib/nim/pure/collections/sequtils.nim(716, 21) Error: expression '.' cannot be called
lib/nim/pure/collections/sequtils.nim(717, 15) Error: type mismatch: got <NimNode, NimNode>
I get A LOT of errors. Is there a "dumb mode" for nim doc(2), so that it just extracts docstrings and signatures without any "clever" import-following / template-expanding / etc ?
Deja vu: https://forum.nim-lang.org/t/1916