fixes #20526; use nimPreviewSlimSystem for documentation build (#20714)

* fixes #20526; use `nimPreviewSlimSystem` for `koch docs`

* fixes documentation errors

* fixes remaning issues
This commit is contained in:
ringabout 2022-11-01 19:53:14 +08:00 • committed by GitHub
commit 75ece74bdd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 39 additions and 5 deletions

View file

@ -200,6 +200,9 @@ batchable: false
# block. Perhaps something can be done about this - some way of re-allocating
# the state and transferring the old...
when defined(nimPreviewSlimSystem):
import std/assertions
when not defined(js) and (defined(hotcodereloading) or
defined(createNimHcr) or
defined(testNimHcr)):