build documentation for htmlparser (#22879)

I have added a note for installment
https://github.com/nim-lang/htmlparser/pull/5

> In order to use this module, run `nimble install htmlparser`.
This commit is contained in:
ringabout
2023-10-28 06:34:53 +08:00
committed by GitHub
parent d66f3febd1
commit fbc801d1d1

View File

@@ -154,6 +154,7 @@ lib/posix/posix_openbsd_amd64.nim
lib/posix/posix_haiku.nim
lib/pure/md5.nim
lib/std/sha1.nim
lib/pure/htmlparser.nim
""".splitWhitespace()
officialPackagesList = """
@@ -170,6 +171,7 @@ pkgs/checksums/src/checksums/sha1.nim
pkgs/checksums/src/checksums/sha2.nim
pkgs/checksums/src/checksums/sha3.nim
pkgs/checksums/src/checksums/bcrypt.nim
pkgs/htmlparser/src/htmlparser.nim
""".splitWhitespace()
officialPackagesListWithoutIndex = """
@@ -188,6 +190,7 @@ when (NimMajor, NimMinor) < (1, 1) or not declared(isRelativeTo):
result = path.len > 0 and not ret.startsWith ".."
proc getDocList(): seq[string] =
##
var docIgnore: HashSet[string]
for a in withoutIndex: docIgnore.incl a
for a in ignoredModules: docIgnore.incl a
@@ -344,7 +347,7 @@ proc buildJS(): string =
proc buildDocsDir*(args: string, dir: string) =
let args = nimArgs & " " & args
let docHackJsSource = buildJS()
gitClonePackages(@["asyncftpclient", "punycode", "smtp", "db_connector", "checksums", "atlas"])
gitClonePackages(@["asyncftpclient", "punycode", "smtp", "db_connector", "checksums", "atlas", "htmlparser"])
createDir(dir)
buildDocSamples(args, dir)