docs: update links to catppuccin/nim

This commit is contained in:
Daylin Morgan 2023-04-28 11:53:37 -05:00
parent 74f1e87217
commit 8f22686e3c
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F
2 changed files with 2 additions and 2 deletions

View file

@ -39,7 +39,7 @@ Output of `nim r examples/term.nim`:
## 🙋 FAQ ## 🙋 FAQ
- Q: **_"Where can I find the doc?"_**\ - Q: **_"Where can I find the doc?"_**\
A: [Documentation](https://gh.dayl.in/catppuccin-nim) A: [Documentation](https://catppuccin.github.io./nim)
## 💝 Thanks to ## 💝 Thanks to

View file

@ -24,7 +24,7 @@ task docs, "Deploy doc html + search index to public/ directory":
deployDir = getCurrentDir() / "public" deployDir = getCurrentDir() / "public"
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/catppuccin/nim"
selfExec &"doc --index:on --git.url:{gitUrl} --git.commit:v{version} --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")