From c870211a9b65a53152fe035c91c5b0139bb46189 Mon Sep 17 00:00:00 2001 From: Mark Nahabedian <33787283+MarkNahabedian@users.noreply.github.com> Date: Fri, 23 Feb 2024 15:55:52 -0500 Subject: [PATCH] Allow docs/make.jl to be run from the root of the repo instead of only from the docs directory add the repo root to LOAD_PATH so that docs/make.jl can be run from the repo root as well as from the docs directory. --- templates/docs/make.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/docs/make.jl b/templates/docs/make.jl index 1326eb20..ec145e65 100644 --- a/templates/docs/make.jl +++ b/templates/docs/make.jl @@ -1,3 +1,5 @@ +insert!(LOAD_PATH, 1, joinpath(@__DIR__, "..")) + using {{{PKG}}} using Documenter