@@ -7,42 +7,42 @@ using CairoMakie
7
7
8
8
function make_all (; with_examples:: Bool = true )
9
9
10
- module_examples = []
11
- pluto_examples = []
10
+ module_examples = []
11
+ pluto_examples = []
12
12
13
13
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
+
29
29
notebooks = [
30
30
" Low level Poisson" => " LowLevelPoisson.jl"
31
31
" Low level Navier-Stokes" => " LowLevelNavierStokes.jl"
32
32
]
33
33
34
- cleanexamples ()
34
+ cleanexamples ()
35
35
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 )
38
38
pushfirst! (module_examples, " Introduction" => " examples_intro.md" )
39
39
40
40
end
41
41
42
42
makedocs (
43
- modules= [ExtendableFEMBase],
44
- sitename= " ExtendableFEMBase.jl" ,
45
- authors= " Christian Merdon" ,
43
+ modules = [ExtendableFEMBase],
44
+ sitename = " ExtendableFEMBase.jl" ,
45
+ authors = " Christian Merdon" ,
46
46
format = Documenter. HTML (repolink = " https://github.com/WIAS-PDELib/ExtendableFEMBase.jl" , size_threshold = 250000 , mathengine = MathJax3 ()),
47
47
clean = false ,
48
48
checkdocs = :none , # :all or :exports currently causes UndefVarError
@@ -53,26 +53,26 @@ function make_all(; with_examples::Bool = true)
53
53
" Index" => " package_index.md" ,
54
54
" List of Finite Elements" => " fems.md" ,
55
55
" 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
+ ],
64
64
" Advanced Stuff" => Any[
65
65
" pointevaluators.md" ,
66
66
" segmentintegrators.md" ,
67
- " plots.md"
67
+ " plots.md" ,
68
68
],
69
69
" Tutorial Notebooks" => pluto_examples,
70
70
" Examples" => module_examples,
71
71
]
72
72
)
73
73
74
- cleanexamples ()
75
-
74
+ return cleanexamples ()
75
+
76
76
end
77
77
78
78
make_all (; with_examples = true )
0 commit comments