@@ -7,42 +7,42 @@ using CairoMakie
77
88function make_all (; with_examples:: Bool = true )
99
10- module_examples = []
11- pluto_examples = []
10+ module_examples = []
11+ pluto_examples = []
1212
1313 if with_examples
14-
15- DocMeta. setdocmeta! (ExampleJuggler, :DocTestSetup , :(using ExampleJuggler); recursive = true )
16-
17- example_dir = joinpath (@__DIR__ , " .." , " examples" )
18- pluto_example_dir = joinpath (@__DIR__ , " .." , " pluto-examples" )
19-
20- modules = [
21- " Example200_LowLevelPoisson.jl" ,
22- " Example205_LowLevelSpaceTimePoisson.jl" ,
23- " Example210_LowLevelNavierStokes.jl" ,
24- " Example280_BasisPlotter.jl" ,
25- " Example281_DiscontinuousPlot.jl" ,
26- " Example290_InterpolationBetweenMeshes.jl" ,
27- ]
28-
14+
15+ DocMeta. setdocmeta! (ExampleJuggler, :DocTestSetup , :(using ExampleJuggler); recursive = true )
16+
17+ example_dir = joinpath (@__DIR__ , " .." , " examples" )
18+ pluto_example_dir = joinpath (@__DIR__ , " .." , " pluto-examples" )
19+
20+ modules = [
21+ " Example200_LowLevelPoisson.jl" ,
22+ " Example205_LowLevelSpaceTimePoisson.jl" ,
23+ " Example210_LowLevelNavierStokes.jl" ,
24+ " Example280_BasisPlotter.jl" ,
25+ " Example281_DiscontinuousPlot.jl" ,
26+ " Example290_InterpolationBetweenMeshes.jl" ,
27+ ]
28+
2929 notebooks = [
3030 " Low level Poisson" => " LowLevelPoisson.jl"
3131 " Low level Navier-Stokes" => " LowLevelNavierStokes.jl"
3232 ]
3333
34- cleanexamples ()
34+ cleanexamples ()
3535
36- module_examples = @docmodules (example_dir, modules, Plotter = CairoMakie)
37- pluto_examples = @docplutonotebooks (pluto_example_dir, notebooks, iframe= false )
36+ module_examples = @docmodules (example_dir, modules, Plotter = CairoMakie)
37+ pluto_examples = @docplutonotebooks (pluto_example_dir, notebooks, iframe = false )
3838 pushfirst! (module_examples, " Introduction" => " examples_intro.md" )
3939
4040 end
4141
4242 makedocs (
43- modules= [ExtendableFEMBase],
44- sitename= " ExtendableFEMBase.jl" ,
45- authors= " Christian Merdon" ,
43+ modules = [ExtendableFEMBase],
44+ sitename = " ExtendableFEMBase.jl" ,
45+ authors = " Christian Merdon" ,
4646 format = Documenter. HTML (repolink = " https://github.com/WIAS-PDELib/ExtendableFEMBase.jl" , size_threshold = 250000 , mathengine = MathJax3 ()),
4747 clean = false ,
4848 checkdocs = :none , # :all or :exports currently causes UndefVarError
@@ -53,26 +53,26 @@ function make_all(; with_examples::Bool = true)
5353 " Index" => " package_index.md" ,
5454 " List of Finite Elements" => " fems.md" ,
5555 " Base Structures" => Any[
56- " fespace.md" ,
57- " fevector.md" ,
58- " fematrix.md" ,
59- " functionoperators.md" ,
60- " feevaluator.md" ,
61- " interpolations.md" ,
62- " quadrature.md"
63- ],
56+ " fespace.md" ,
57+ " fevector.md" ,
58+ " fematrix.md" ,
59+ " functionoperators.md" ,
60+ " feevaluator.md" ,
61+ " interpolations.md" ,
62+ " quadrature.md" ,
63+ ],
6464 " Advanced Stuff" => Any[
6565 " pointevaluators.md" ,
6666 " segmentintegrators.md" ,
67- " plots.md"
67+ " plots.md" ,
6868 ],
6969 " Tutorial Notebooks" => pluto_examples,
7070 " Examples" => module_examples,
7171 ]
7272 )
7373
74- cleanexamples ()
75-
74+ return cleanexamples ()
75+
7676end
7777
7878make_all (; with_examples = true )
0 commit comments