further progress on rst roles & directives (fix #17646) (#17659)

* further progress on rst roles & dir-s (fix #17646)

* fix documents according to the messages

* fix bug 17 from #17340
This commit is contained in:
Andrey Makarov 2021-04-08 20:00:14 +03:00 • committed by GitHub
commit 42687457b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 129 additions and 51 deletions

View file

@ -304,7 +304,7 @@ iterator fieldPairs*[T: tuple|object](x: T): tuple[key: string, val: RootObj] {.
## picking the appropriate code to a secondary proc which you overload for
## each field type and pass the `value` to.
##
## .. warning::: This really transforms the 'for' and unrolls the loop. The
## .. warning:: This really transforms the 'for' and unrolls the loop. The
## current implementation also has a bug that affects symbol binding in the
## loop body.
runnableExamples: