-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from HugoGranstrom/fixDraculaPlusUseSets
Fix dracula + Use sets for `animateCode`
- Loading branch information
Showing
4 changed files
with
54 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
# Package | ||
|
||
version = "0.2.2" | ||
version = "0.2.3" | ||
author = "Hugo Granström" | ||
description = "Reveal.js theme for nimib" | ||
license = "MIT" | ||
|
@@ -14,22 +14,21 @@ requires "nimib >= 0.3.9" | |
import os | ||
|
||
task docsDeps, "install dependencies required to build docs": | ||
exec "nimble -y install [email protected] karax numericalnim nimibook" | ||
exec "nimble -y install [email protected] karax numericalnim nimibook@#head" | ||
|
||
task buildDocs, "build all .nim files in docsrc/": | ||
for (kind, path) in walkDir("docsrc/"): | ||
if path.endsWith(".nim"): | ||
if "index" in path: continue | ||
echo "Building: " & path | ||
let buildCommand = "nim r " & path | ||
for path in ["showcase.nim", "nimconf2022.nim", "miscSlides.nim", "index_old.nim", "fragments.nim"]: | ||
let path = "docsrc" / path | ||
echo "Building: " & path | ||
let buildCommand = "nim r " & path | ||
exec buildCommand | ||
if "showcase" in path: | ||
let buildCommand = "nim r -d:themeWhite " & path | ||
exec buildCommand | ||
if "showcase" in path: | ||
let buildCommand = "nim r -d:themeWhite " & path | ||
exec buildCommand | ||
|
||
task buildBook, "Builds the nimiBook docs": | ||
selfExec(" r -d:release nbook.nim init") | ||
selfExec(" r -d:release -f -d:nimibMaxProcesses=1 -d:nimibParallelBuild=false nbook.nim build") | ||
selfExec(" r nbook.nim init") | ||
selfExec(" r nbook.nim build") | ||
|
||
task docs, "Generate automatic docs": | ||
exec "nim doc --project --index:on --git.url:https://github.com/HugoGranstrom/nimiSlides --git.commit:main --outdir:docs/docs src/nimiSlides.nim" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters