Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CI #18

Merged
merged 4 commits into from
Jun 11, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add compiler-docs task to nimble file
HugoGranstrom committed Jun 11, 2023
commit 38eba6b6838412958c08e4fc80770d1e0534bacb
5 changes: 5 additions & 0 deletions nimiSlides.nimble
Original file line number Diff line number Diff line change
@@ -23,3 +23,8 @@ task buildDocs, "build all .nim files in docs/":
if "index" in path:
let buildCommand = "nim r -d:themeWhite " & path
exec buildCommand

task docs, "Generate automatic docs":
exec "nim doc --project --index:on --git.url:https://github.com/HugoGranstrom/nimiSlides --git.commit:master --outdir:docs/docs src/nimiSlides.nim"
exec "echo \"<meta http-equiv=\\\"Refresh\\\" content=\\\"0; url='theindex.html'\\\" />\" >> docs/docs/index.html"