Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLampert committed Sep 20, 2023
1 parent 6846277 commit 85d3c88
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 24 deletions.
42 changes: 20 additions & 22 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,27 @@ using DispersiveShallowWater
using Documenter

# Define module-wide setups such that the respective modules are available in doctests
DocMeta.setdocmeta!(DispersiveShallowWater, :DocTestSetup, :(using DispersiveShallowWater); recursive=true)
DocMeta.setdocmeta!(DispersiveShallowWater, :DocTestSetup, :(using DispersiveShallowWater);
recursive = true)

makedocs(;
modules=[DispersiveShallowWater],
authors="Joshua Lampert <[email protected]>",
repo="https://github.com/JoshuaLampert/DispersiveShallowWater.jl/blob/{commit}{path}#{line}",
sitename="DispersiveShallowWater.jl",
format=Documenter.HTML(;
prettyurls=get(ENV, "CI", "false") == "true",
canonical="https://JoshuaLampert.github.io/DispersiveShallowWater.jl/stable",
edit_link="main",
assets=String[],
),
pages=[
"Home" => "index.md",
"Overview" => "overview.md",
"Reproduce figures" => "reproduce.md",
"Reference" => "ref.md",
"License" => "license.md",
],
)
modules = [DispersiveShallowWater],
authors = "Joshua Lampert <[email protected]>",
repo = "https://github.com/JoshuaLampert/DispersiveShallowWater.jl/blob/{commit}{path}#{line}",
sitename = "DispersiveShallowWater.jl",
format = Documenter.HTML(;
prettyurls = get(ENV, "CI", "false") == "true",
canonical = "https://JoshuaLampert.github.io/DispersiveShallowWater.jl/stable",
edit_link = "main",
assets = String[]),
pages = [
"Home" => "index.md",
"Overview" => "overview.md",
"Reproduce figures" => "reproduce.md",
"Reference" => "ref.md",
"License" => "license.md",
])

deploydocs(;
repo="github.com/JoshuaLampert/DispersiveShallowWater.jl",
devbranch="main",
)
repo = "github.com/JoshuaLampert/DispersiveShallowWater.jl",
devbranch = "main")
3 changes: 2 additions & 1 deletion src/callbacks_step/analysis.jl
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,8 @@ function (analysis_callback::AnalysisCallback)(u_ode, integrator, semi)

println()
println(""^100)
println("Simulation running '", get_name(equations), "' with '", semi.initial_condition, "'")
println("Simulation running '", get_name(equations), "' with '", semi.initial_condition,
"'")
println(""^100)
println(" #timesteps: " * @sprintf("% 14d", iter) *
" " *
Expand Down
3 changes: 2 additions & 1 deletion src/util.jl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ See also [`examples_dir`](@ref) and [`get_examples`](@ref).
Copied from [Trixi.jl](https://github.com/trixi-framework/Trixi.jl).
"""
function default_example()
joinpath(examples_dir(), "bbm_bbm_variable_bathymetry_1d", "bbm_bbm_variable_bathymetry_1d_basic.jl")
joinpath(examples_dir(), "bbm_bbm_variable_bathymetry_1d",
"bbm_bbm_variable_bathymetry_1d_basic.jl")
end

"""
Expand Down

0 comments on commit 85d3c88

Please sign in to comment.