Skip to content

Commit bb2e6b2

Browse files
authored
Merge pull request #99 from LukasFuchs/main
Add wrongly deleted make file again
2 parents f5f9fc2 + 7f19982 commit bb2e6b2

File tree

1 file changed

+99
-0
lines changed

1 file changed

+99
-0
lines changed

docs/make.jl

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
using Documenter
2+
using GeoModBox
3+
4+
GMB_root_dir = dirname(@__DIR__)
5+
6+
license = read(joinpath(GMB_root_dir, "LICENSE"), String)
7+
write(joinpath(@__DIR__, "src", "man", "license.md"), license)
8+
9+
makedocs(
10+
sitename = "GeoModBox.jl",
11+
format = Documenter.HTML(),
12+
warnonly = [:missing_docs],
13+
modules = [GeoModBox],
14+
pages = [
15+
"Home" => "index.md", # Checked!
16+
"Governing Equation" => Any[ # Checked!
17+
"Solution" => Any[
18+
"General" => "man/GESolution.md", # checked!
19+
"Initial Condition" => "man/Ini.md", # Checked!
20+
],
21+
"Heat Diffusion Equation" => Any[
22+
"General" => "man/DiffMain.md", # checked!
23+
"1D" => "man/DiffOneD.md", # checked!
24+
"2D" => "man/DiffTwoD.md", # checked!
25+
],
26+
"Advection Equation" => Any[
27+
"General" => "man/AdvectMain.md", # Checked!
28+
"1D" => "man/AdvOneD.md", # Checked!
29+
"2D" => "man/AdvTwoD.md", # Checked!
30+
],
31+
"Momentum Equation" => Any[
32+
"General" => "man/MomentumMain.md", # Checked!
33+
"1D" => "man/MomentumOneD.md", # Checked!
34+
"2D" => "man/MomentumTwoD.md", # Checked!
35+
],
36+
],
37+
"Exercises" => Any[
38+
"General" => "man/Exercises.md",
39+
"01 - Euler Advection" => "man/exercises/01_Euler_Advection.md", # Checked!
40+
"02 - 1D Heat Diffusion (explicit)" => "man/exercises/02_1D_Heat_explicit.md", # Checked!
41+
"03 - 1D Heat Diffusion (implicit)" => "man/exercises/03_1D_Heat_implicit.md", # Checked!
42+
"04 - 2D Heat Diffusion (stationary)" => "man/exercises/04_2D_Diffusion_Stationary.md", # Checked!
43+
"05a - 2D Heat Diffusion (Plume)" => "man/exercises/05_2D_Diffusion_TD_Plume.md", # Checked!
44+
"05b - 2D Heat Diffusion (Sill)" => "man/exercises/05_2D_Diffusion_TD_Sill.md", # Checked!
45+
"06 - 1D Advection" => "man/exercises/06_1D_Advection.md", # Checked!
46+
"07 - 2D Energy Conservation" => "man/exercises/07_2D_Energy_Equation.md", # Checked!
47+
"08 - 1D Stokes" => "man/exercises/08_1D_Stokes.md", # Checked!
48+
"09 - 2D Falling Block (steady state)" => "man/exercises/09_2D_Falling_Block.md", # Checked!
49+
"10 - 2D Falling Block (time-dep)" => "man/exercises/10_2D_Falling_Block_td.md", # Checked!
50+
"11 - 2D Thermal Convection" => "man/exercises/11_2D_Thermal_Convection.md", # Checked!
51+
"12 - 2D Thermal Convection (scaled)" => "man/exercises/12_2D_Thermal_Convection_scaled.md", # Checked!
52+
# "13 - Blankenbach Benchmark" => "man/exercises/12_Blankenbach_Benchmark.md",
53+
],
54+
"Examples" => Any[
55+
"General" => "man/Examples.md",
56+
"Diffusion Equation" => Any[
57+
"Oceanic Geotherm (1D)" => "man/examples/OceanicGeotherm.md", # Checked!
58+
"Continental Geotherm (1D)" => "man/examples/ContinentalGeotherm.md", # Checked!
59+
"Gaussian Diffusion (1D)" => "man/examples/GaussianDiffusion1D.md", # Checked!
60+
"Backward Euler (2D)" => "man/examples/BackwardEuler_DC.md", # Checked!
61+
"Forward Euler (2D)" => "man/examples/ForwardEuler_DC.md", # Checked!
62+
"Gaussian Diffusion (2D)" => "man/examples/GaussianDiffusion2D.md", # Checked!
63+
"Poisson Problem (2D)" => "man/examples/PoissonRestest.md", # Checked!
64+
"Poisson Problem; variable k (2D)" => "man/examples/PoissonVariablek.md", # Checked!
65+
],
66+
"Advection Equtaion" => Any[
67+
"Advection (2D)" => "man/examples/Advection2D.md", # Checked!
68+
"Advection Resolution Test (2D)" => "man/examples/AdvectionRestest2D.md", # Checked!
69+
],
70+
"Stokes Equation" => Any[
71+
"Channel Flow (1D)" => "man/examples/ChannelFlow1D.md", # Checked!
72+
"Falling Block Benchmark" => "man/examples/FallingBlockBenchmark.md", # Checked!
73+
"Falling Block" => "man/examples/FallingBlockDC.md", # Checked!
74+
"Rayleigh Taylor Instability (RTI)" => "man/examples/RTI.md", # Checked!
75+
"RTI - Growth Rate" => "man/examples/RTI_growth_rate.md", # Checked!
76+
"Viscous Inclusion" => "man/examples/ViscousInclusion.md",
77+
],
78+
"Mixed Thermal Convection" => Any[
79+
"Bottom Heated" => "man/examples/BottomHeatedConvection.md",
80+
"Internally Heated" => "man/examples/InternallyHeatedConvection.md",
81+
"Mixed Heated" => "man/examples/MixedHeatedConvection.md",
82+
],
83+
],
84+
"List of functions" => "man/listoffunctions.md",
85+
"License" => "man/license.md",
86+
]
87+
)
88+
89+
# Documenter can also automatically deploy documentation to gh-pages.
90+
# See "Hosting Documentation" and deploydocs() in the Documenter manual
91+
# for more information.
92+
withenv("GITHUB_REPOSITORY" => "GeoSci-FFM/GeoModBox.jl") do
93+
deploydocs(
94+
# repo = "https://lukasfuchs.github.io/GeoModBox.jl",
95+
repo = "github.com/GeoSci-FFM/GeoModBox.jl",
96+
devbranch = "main",
97+
push_preview = true
98+
)
99+
end

0 commit comments

Comments
 (0)