mirror of
https://github.com/daylinmorgan/hwylterm.git
synced 2024-12-21 18:50:44 -06:00
add non-imported module to docs
This commit is contained in:
parent
8f890c3e24
commit
ee241e2d29
3 changed files with 14 additions and 4 deletions
|
@ -11,10 +11,9 @@ task docs, "Deploy doc html + search index to public/ directory":
|
|||
let
|
||||
deployDir = getCurrentDir() / "public"
|
||||
pkgName = "hwylterm"
|
||||
srcFile = getCurrentDir() / fmt"src/{pkgName}.nim"
|
||||
gitUrl = fmt"https://github.com/daylinmorgan/{pkgName}"
|
||||
# selfExec fmt"doc --index:on --git.url:{gitUrl} --git.commit:v{version} --outdir:{deployDir} --project {srcFile}"
|
||||
selfExec fmt"doc --index:on --git.url:{gitUrl} --git.commit:main --outdir:{deployDir} --project {srcFile}"
|
||||
selfExec fmt"doc --docRoot:{getCurrentDir()}/src/ --index:on --outdir:{deployDir} src/hwylterm/cli"
|
||||
selfExec fmt"doc --project --index:on --git.url:{gitUrl} --git.commit:main --outdir:{deployDir} --project src/{pkgName}.nim"
|
||||
withDir deployDir:
|
||||
mvFile(pkgName & ".html", "index.html")
|
||||
for file in walkDirRec(".", {pcFile}):
|
||||
|
|
|
@ -1,2 +1,9 @@
|
|||
##[
|
||||
# Hwylterm
|
||||
|
||||
[see bbansi](./hwylterm/bbansi.html)
|
||||
[see cli](./hwylterm/cli.html)
|
||||
]##
|
||||
|
||||
import hwylterm/[spin, bbansi]
|
||||
export spin, bbansi
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
## adapter to add hwylterm colors to cligen output
|
||||
##[
|
||||
# Hwylterm cligen adapter
|
||||
|
||||
Adapter to add hwylterm colors to cligen output.
|
||||
]##
|
||||
import std/[tables]
|
||||
import cligen
|
||||
import ./bbansi
|
||||
|
|
Loading…
Reference in a new issue