* 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:
parent
4d3f9d3536
commit
42687457b0
12 changed files with 129 additions and 51 deletions
|
|
@ -21,7 +21,7 @@
|
|||
## In order to begin any sort of transfer of files you must first
|
||||
## connect to an FTP server. You can do so with the `connect` procedure.
|
||||
##
|
||||
## .. code-block::nim
|
||||
## .. code-block:: Nim
|
||||
## import std/[asyncdispatch, asyncftpclient]
|
||||
## proc main() {.async.} =
|
||||
## var ftp = newAsyncFtpClient("example.com", user = "test", pass = "test")
|
||||
|
|
@ -41,7 +41,7 @@
|
|||
## working directory before you do so with the `pwd` procedure, you can also
|
||||
## instead specify an absolute path.
|
||||
##
|
||||
## .. code-block::nim
|
||||
## .. code-block:: Nim
|
||||
## import std/[asyncdispatch, asyncftpclient]
|
||||
## proc main() {.async.} =
|
||||
## var ftp = newAsyncFtpClient("example.com", user = "test", pass = "test")
|
||||
|
|
@ -62,7 +62,7 @@
|
|||
## Procs that take an `onProgressChanged` callback will call this every
|
||||
## `progressInterval` milliseconds.
|
||||
##
|
||||
## .. code-block::nim
|
||||
## .. code-block:: Nim
|
||||
## import std/[asyncdispatch, asyncftpclient]
|
||||
##
|
||||
## proc onProgressChanged(total, progress: BiggestInt,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue