Skip to content
This repository has been archived by the owner on Mar 1, 2023. It is now read-only.

Commit

Permalink
apply JuliaFormatter.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbyrne committed Nov 14, 2019
1 parent c615460 commit 4e72b21
Show file tree
Hide file tree
Showing 170 changed files with 25,879 additions and 20,385 deletions.
79 changes: 34 additions & 45 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,60 +4,49 @@ using CLIMA, Documenter

include("generate.jl")

GENERATED_BL_EXAMPLES =
[joinpath("examples", "DGmethods_old", "generated", f) for f in
(
"ex_001_periodic_advection.md",
"ex_002_solid_body_rotation.md",
)]
GENERATED_BL_EXAMPLES = [joinpath("examples", "DGmethods_old", "generated", f) for f in (
"ex_001_periodic_advection.md",
"ex_002_solid_body_rotation.md",
)]

makedocs(
sitename = "CLIMA",
doctest = false,
strict = false,
format = Documenter.HTML(
prettyurls = get(ENV, "CI", nothing) == "true",
sitename = "CLIMA",
doctest = false,
strict = false,
format = Documenter.HTML(prettyurls = get(ENV, "CI", nothing) == "true",
# prettyurls = !("local" in ARGS),
# canonical = "https://climate-machine.github.io/CLIMA/stable/",
),
clean = false,
modules = [Documenter, CLIMA],
pages = Any[
"Home" => "index.md",
"Common" => Any[
"MoistThermodynamics" => "Common/MoistThermodynamics.md",
),
clean = false,
modules = [Documenter, CLIMA],
pages = Any[
"Home"=>"index.md",
"Common"=>Any["MoistThermodynamics"=>"Common/MoistThermodynamics.md",],
"Utilites"=>Any["RootSolvers"=>"Utilities/RootSolvers.md",],
"Atmos"=>Any[
"Atmos/SurfaceFluxes.md",
"Atmos/TurbulenceConvection.md",
"Atmos/EDMFEquations.md",
"Microphysics"=>"Atmos/Microphysics.md",
],
"ODESolvers"=>"ODESolvers.md",
"LinearSolvers"=>"LinearSolvers.md",
"Mesh"=>"Mesh.md",
"Arrays"=>"Arrays.md",
"DGmethods_old"=>"DGmethods_old.md",
"InputOutput.md",
"Developer docs"=>Any[
"CodingConventions.md",
"AcceptableUnicode.md",
"VariableList.md",
],
"Balance Law Examples"=>["BalanceLawOverview.md", GENERATED_BL_EXAMPLES...],
],
"Utilites" => Any[
"RootSolvers" => "Utilities/RootSolvers.md",
],
"Atmos" => Any[
"Atmos/SurfaceFluxes.md",
"Atmos/TurbulenceConvection.md",
"Atmos/EDMFEquations.md",
"Microphysics" => "Atmos/Microphysics.md",
],
"ODESolvers" => "ODESolvers.md",
"LinearSolvers" => "LinearSolvers.md",
"Mesh" => "Mesh.md",
"Arrays" => "Arrays.md",
"DGmethods_old" => "DGmethods_old.md",
"InputOutput.md",
"Developer docs" => Any[
"CodingConventions.md",
"AcceptableUnicode.md",
"VariableList.md",
],
"Balance Law Examples" => ["BalanceLawOverview.md",
GENERATED_BL_EXAMPLES...]
],
)

# make sure there are no *.vtu files left around from the build
cd(joinpath(@__DIR__, "build", "examples", "DGmethods_old", "generated")) do
foreach(file -> endswith(file, ".vtu") && rm(file), readdir())
end

deploydocs(
repo = "github.com/climate-machine/CLIMA.git",
target = "build",
)
deploydocs(repo = "github.com/climate-machine/CLIMA.git", target = "build")
Loading

0 comments on commit 4e72b21

Please sign in to comment.