Generate and post documentation

This commit is contained in:
Ganesh Viswanathan 2019-01-20 16:22:12 -06:00
commit 783cf70fbf
2 changed files with 8 additions and 2 deletions

View file

@ -51,7 +51,7 @@ The `toast` binary can also be used directly on the CLI. The `--help` flag provi
__Documentation__
Detailed documentation is still forthcoming.
Documentation can be found [here](https://genotrance.github.io/nimterop/cimport.html).
`cDebug()` - enable debug messages

View file

@ -32,4 +32,10 @@ task test, "Test":
tsoloud()
else:
if not existsEnv("TRAVIS"):
tsoloud()
tsoloud()
task docs, "Generate docs":
# Uses: pip install ghp-import
execCmd "nim doc --project --index:on nimterop/cimport"
execCmd "nim doc --project --index:on nimterop/git"
execCmd "ghp-import --no-jekyll -fp nimterop/htmldocs"