Fix broken links in docs (#16336)
* Fix broken links in docs * Fix rand HSlice links
This commit is contained in:
parent
e843492b13
commit
f3d57761ab
21 changed files with 126 additions and 120 deletions
|
|
@ -99,7 +99,7 @@ proc debugRecv*(smtp: Smtp | AsyncSmtp): Future[TaintedString] {.multisync.} =
|
|||
## this is if you are implementing any
|
||||
## `SMTP extensions<https://en.wikipedia.org/wiki/Extended_SMTP>`_.
|
||||
##
|
||||
## See `checkReply(reply)<#checkReply,,string>`_.
|
||||
## See `checkReply(reply)<#checkReply,AsyncSmtp,string>`_.
|
||||
|
||||
result = await smtp.sock.recvLine()
|
||||
if smtp.debug:
|
||||
|
|
@ -211,7 +211,7 @@ proc quitExcpt(smtp: AsyncSmtp, msg: string): Future[void] =
|
|||
return retFuture
|
||||
|
||||
proc checkReply*(smtp: Smtp | AsyncSmtp, reply: string) {.multisync.} =
|
||||
## Calls `debugRecv<#debugRecv>`_ and checks that the received
|
||||
## Calls `debugRecv<#debugRecv,AsyncSmtp>`_ and checks that the received
|
||||
## data starts with ``reply``. If the received data does not start
|
||||
## with ``reply``, then a ``QUIT`` command will be sent to the SMTP
|
||||
## server and a ``ReplyError`` exception will be raised.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue