Skip to content

Commit

Permalink
allow building the docs locally
Browse files Browse the repository at this point in the history
  • Loading branch information
ranocha committed Nov 17, 2023
1 parent 7d7856d commit 43d8786
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
using Documenter
import Pkg

# Fix for https://github.com/trixi-framework/Trixi.jl/issues/668
# to allow building the docs locally
if (get(ENV, "CI", nothing) != "true") &&
(get(ENV, "JULIA_DOC_DEFAULT_ENVIRONMENT", nothing) != "true")
push!(LOAD_PATH, dirname(@__DIR__))
end

using RootedTrees

# Define module-wide setups such that the respective modules are available in doctests
Expand Down

0 comments on commit 43d8786

Please sign in to comment.