docgen: produce links for proc names

This commit is contained in:
Araq 2019-01-25 09:11:06 +01:00
commit 13d667ee53
4 changed files with 26 additions and 15 deletions

View file

@ -26,7 +26,8 @@ proc test(dir: string; fixup = false) =
copyFile(produced, expected)
else:
echo "SUCCESS: files identical: ", produced
removeDir(dir / "htmldocs")
if failures == 0:
removeDir(dir / "htmldocs")
test("nimdoc/testproject", defined(fixup))
if failures > 0: quit($failures & " failures occurred.")