diff options
author | Andrey Makarov <ph.makarov@gmail.com> | 2021-01-11 21:51:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-11 19:51:04 +0100 |
commit | fd5c8ef20845a511ad4e0af8dd8ad4331bf46ffc (patch) | |
tree | 043e7e4f09bb9fe6c82a936dca50d49d7b3737a7 /compiler | |
parent | 335f849c36c4d7e618de277f6da64d8c1fdcc1c9 (diff) | |
download | Nim-fd5c8ef20845a511ad4e0af8dd8ad4331bf46ffc.tar.gz |
RST: implement internal targets (#16614)
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/docgen.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/docgen.nim b/compiler/docgen.nim index d21db7634..f07adc428 100644 --- a/compiler/docgen.nim +++ b/compiler/docgen.nim @@ -560,7 +560,7 @@ proc getAllRunnableExamplesImpl(d: PDoc; n: PNode, dest: var Rope, state: Runnab "\n\\textbf{$1}\n", [msg.rope]) inc d.listingCounter let id = $d.listingCounter - dest.add(d.config.getOrDefault"doc.listing_start" % [id, "langNim"]) + dest.add(d.config.getOrDefault"doc.listing_start" % [id, "langNim", ""]) var dest2 = "" renderNimCode(dest2, code, isLatex = d.conf.cmd == cmdRst2tex) dest.add dest2 |