mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-09 14:32:53 +00:00
Fix many broken links
Note that contrary to what docgen.rst currently says, the ids have
to match exactly or else most web browsers will not jump to the
intended symbol.
(cherry picked from commit 93461aee34)
This commit is contained in:
@@ -211,7 +211,7 @@ proc secureHashFile*(filename: string): SecureHash =
|
||||
## Generates a ``SecureHash`` from a file.
|
||||
##
|
||||
## **See also:**
|
||||
## * `secureHash proc <#secureHash,string>`_ for generating a ``SecureHash`` from a string
|
||||
## * `secureHash proc <#secureHash,openArray[char]>`_ for generating a ``SecureHash`` from a string
|
||||
## * `parseSecureHash proc <#parseSecureHash,string>`_ for converting a string ``hash`` to ``SecureHash``
|
||||
secureHash(readFile(filename))
|
||||
|
||||
@@ -219,7 +219,7 @@ proc `$`*(self: SecureHash): string =
|
||||
## Returns the string representation of a ``SecureHash``.
|
||||
##
|
||||
## **See also:**
|
||||
## * `secureHash proc <#secureHash,string>`_ for generating a ``SecureHash`` from a string
|
||||
## * `secureHash proc <#secureHash,openArray[char]>`_ for generating a ``SecureHash`` from a string
|
||||
runnableExamples:
|
||||
let hash = secureHash("Hello World")
|
||||
assert $hash == "0A4D55A8D778E5022FAB701977C5D840BBC486D0"
|
||||
@@ -231,7 +231,7 @@ proc parseSecureHash*(hash: string): SecureHash =
|
||||
## Converts a string ``hash`` to ``SecureHash``.
|
||||
##
|
||||
## **See also:**
|
||||
## * `secureHash proc <#secureHash,string>`_ for generating a ``SecureHash`` from a string
|
||||
## * `secureHash proc <#secureHash,openArray[char]>`_ for generating a ``SecureHash`` from a string
|
||||
## * `secureHashFile proc <#secureHashFile,string>`_ for generating a ``SecureHash`` from a file
|
||||
runnableExamples:
|
||||
let
|
||||
|
||||
Reference in New Issue
Block a user