From 7872182545ea52f583f2c916e0949b840fe0a25e Mon Sep 17 00:00:00 2001 From: "Thomas A. Christensen II" <25492070+MillironX@users.noreply.github.com> Date: Tue, 23 Nov 2021 12:55:18 -0600 Subject: [PATCH] Add a shortcut for initializing and testing docs locally Signed-off-by: Thomas A. Christensen II <25492070+MillironX@users.noreply.github.com> --- make-docs.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 make-docs.sh diff --git a/make-docs.sh b/make-docs.sh new file mode 100755 index 0000000..e249560 --- /dev/null +++ b/make-docs.sh @@ -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