Add a shortcut for initializing and testing docs locally

Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com>
This commit is contained in:
Thomas A. Christensen II 2021-11-23 12:55:18 -06:00
parent 208caf8dfa
commit 7872182545
Signed by: millironx
GPG key ID: 139C07724802BC5D

4
make-docs.sh Executable file
View file

@ -0,0 +1,4 @@
#!/bin/sh
julia --project=docs -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
julia --project=docs -e 'using Documenter: DocMeta, doctest; using Cowsay; DocMeta.setdocmeta!(Cowsay, :DocTestSetup, :(using Cowsay); recursive=true); doctest(Cowsay)'
julia --project=docs docs/make.jl