mirror of
https://github.com/catppuccin/nim.git
synced 2024-11-13 20:47:53 -06:00
docs: link to latest version git tag
This commit is contained in:
parent
3b1a12d744
commit
0024a3ad39
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ task docs, "Deploy doc html + search index to public/ directory":
|
||||||
pkgName = "catppuccin"
|
pkgName = "catppuccin"
|
||||||
srcFile = getCurrentDir() / "src" / (pkgName & ".nim")
|
srcFile = getCurrentDir() / "src" / (pkgName & ".nim")
|
||||||
gitUrl = "https://github.com/daylinmorgan/catppuccin-nim"
|
gitUrl = "https://github.com/daylinmorgan/catppuccin-nim"
|
||||||
selfExec &"doc --index:on --git.url:{gitUrl} --outdir:{deployDir} --project {srcFile}"
|
selfExec &"doc --index:on --git.url:{gitUrl} --git.commit:v{version} --outdir:{deployDir} --project {srcFile}"
|
||||||
withDir deployDir:
|
withDir deployDir:
|
||||||
mvFile(pkgName & ".html", "index.html")
|
mvFile(pkgName & ".html", "index.html")
|
||||||
for file in walkDirRec(".", {pcFile}):
|
for file in walkDirRec(".", {pcFile}):
|
||||||
|
|
Loading…
Reference in a new issue