Skip to content

Commit

Permalink
Disable WGLMakie by default
Browse files Browse the repository at this point in the history
  • Loading branch information
kbarros committed Jan 3, 2024
1 parent 0db1d1b commit 3404f8e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,12 @@ function build_examples(example_sources, destdir)
# will be stored in the `assets/` directory of the hosted docs.
for source in example_sources
function preprocess(str)
# Notebooks use WGLMakie instead of GLMakie
# Ideally, notebooks would use WGLMakie instead of GLMakie. There
# are currently too many bugs to enable by default:
# https://github.com/SunnySuite/Sunny.jl/issues/211
#=
str = replace(str, r"^using(.*?)GLMakie"m => s"using\1WGLMakie")
=#
end
# Build notebooks
Literate.notebook(source, notebooks_path; preprocess, execute=false, credit=false)
Expand Down

0 comments on commit 3404f8e

Please sign in to comment.