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

@ -12,14 +12,14 @@
##
## A basic example of `diffInt` on 2 arrays of integers:
##
## .. code::nim
## .. code:: Nim
##
## import experimental/diff
## echo diffInt([0, 1, 2, 3, 4, 5, 6, 7, 8], [-1, 1, 2, 3, 4, 5, 666, 7, 42])
##
## Another short example of `diffText` to diff strings:
##
## .. code::nim
## .. code:: Nim
##
## import experimental/diff
## # 2 samples of text for testing (from "The Call of Cthulhu" by Lovecraft)