mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-19 22:10:33 +00:00
build documentation for checksums/md5 and checksums/sha1 (#21791)
* build documentation for md5 and sha1 * fixes documentation reference
This commit is contained in:
2
koch.nim
2
koch.nim
@@ -13,7 +13,7 @@ const
|
||||
NimbleStableCommit = "168416290e49023894fc26106799d6f1fc964a2d" # master
|
||||
# examples of possible values: #head, #ea82b54, 1.2.3
|
||||
FusionStableHash = "#372ee4313827ef9f2ea388840f7d6b46c2b1b014"
|
||||
ChecksumsStableCommit = "3fa15df7d27ecef624ed932d60f63d6a8949618d"
|
||||
ChecksumsStableCommit = "b4c73320253f78e3a265aec6d9e8feb83f97c77b"
|
||||
HeadHash = "#head"
|
||||
when not defined(windows):
|
||||
const
|
||||
|
||||
@@ -62,7 +62,7 @@ runnableExamples:
|
||||
## ========
|
||||
## * `md5 module <md5.html>`_ for the MD5 checksum algorithm
|
||||
## * `base64 module <base64.html>`_ for a Base64 encoder and decoder
|
||||
## * `std/sha1 module <sha1.html>`_ for the SHA-1 checksum algorithm
|
||||
## * `sha1 module <sha1.html>`_ for the SHA-1 checksum algorithm
|
||||
## * `tables module <tables.html>`_ for hash tables
|
||||
|
||||
import std/private/since
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
## See also
|
||||
## ========
|
||||
## * `base64 module<base64.html>`_ for a Base64 encoder and decoder
|
||||
## * `std/sha1 module <sha1.html>`_ for the SHA-1 checksum algorithm
|
||||
## * `sha1 module <sha1.html>`_ for the SHA-1 checksum algorithm
|
||||
## * `hashes module<hashes.html>`_ for efficient computations of hash values
|
||||
## for diverse Nim types
|
||||
|
||||
|
||||
@@ -150,6 +150,8 @@ lib/posix/posix_other_consts.nim
|
||||
lib/posix/posix_freertos_consts.nim
|
||||
lib/posix/posix_openbsd_amd64.nim
|
||||
lib/posix/posix_haiku.nim
|
||||
lib/pure/md5.nim
|
||||
lib/std/sha1.nim
|
||||
""".splitWhitespace()
|
||||
|
||||
officialPackagesList = """
|
||||
@@ -161,6 +163,8 @@ pkgs/db_connector/src/db_connector/db_mysql.nim
|
||||
pkgs/db_connector/src/db_connector/db_odbc.nim
|
||||
pkgs/db_connector/src/db_connector/db_postgres.nim
|
||||
pkgs/db_connector/src/db_connector/db_sqlite.nim
|
||||
pkgs/checksums/src/checksums/md5.nim
|
||||
pkgs/checksums/src/checksums/sha1.nim
|
||||
""".splitWhitespace()
|
||||
|
||||
officialPackagesListWithoutIndex = """
|
||||
@@ -335,7 +339,7 @@ proc buildJS(): string =
|
||||
proc buildDocsDir*(args: string, dir: string) =
|
||||
let args = nimArgs & " " & args
|
||||
let docHackJsSource = buildJS()
|
||||
gitClonePackages(@["asyncftpclient", "punycode", "smtp", "db_connector"])
|
||||
gitClonePackages(@["asyncftpclient", "punycode", "smtp", "db_connector", "checksums"])
|
||||
createDir(dir)
|
||||
buildDocSamples(args, dir)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user