Skip to content

Commit db758c5

Browse files
Merge #145
145: Organize docs structure r=charleskawczynski a=charleskawczynski This PR - Re-organizes the structure of the docs - Adds some deps to the docs for a few upcoming changes Co-authored-by: Charles Kawczynski <[email protected]>
2 parents 345fa47 + c6bb04c commit db758c5

File tree

17 files changed

+87
-37
lines changed

17 files changed

+87
-37
lines changed

docs/Manifest.toml

Lines changed: 35 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
julia_version = "1.8.3"
44
manifest_format = "2.0"
5-
project_hash = "54a3c5bf2838706be79ba0fd18eddb1dc811cc37"
5+
project_hash = "38302f67b3da90807af10587cc60d56162de8a95"
66

77
[[deps.AMD]]
88
deps = ["Libdl", "LinearAlgebra", "SparseArrays", "Test"]
@@ -21,6 +21,11 @@ git-tree-sha1 = "69f7020bd72f069c219b5e8c236c1fa90d2cb409"
2121
uuid = "621f4979-c628-5d54-868e-fcf4e3e8185c"
2222
version = "1.2.1"
2323

24+
[[deps.AbstractTrees]]
25+
git-tree-sha1 = "52b3b436f8f73133d7bc3a6c71ee7ed6ab2ab754"
26+
uuid = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
27+
version = "0.4.3"
28+
2429
[[deps.Adapt]]
2530
deps = ["LinearAlgebra"]
2631
git-tree-sha1 = "195c5505521008abea5aee4f96930717958eac6f"
@@ -45,9 +50,9 @@ version = "6.0.24"
4550

4651
[[deps.ArrayInterfaceCore]]
4752
deps = ["LinearAlgebra", "SparseArrays", "SuiteSparse"]
48-
git-tree-sha1 = "badccc4459ffffb6bce5628461119b7057dec32c"
53+
git-tree-sha1 = "14c3f84a763848906ac681f94cf469a851601d92"
4954
uuid = "30b0a656-2188-435a-8636-2ec0e6a096e2"
50-
version = "0.1.27"
55+
version = "0.1.28"
5156

5257
[[deps.ArrayInterfaceGPUArrays]]
5358
deps = ["Adapt", "ArrayInterfaceCore", "GPUArraysCore", "LinearAlgebra"]
@@ -168,9 +173,9 @@ version = "0.1.4"
168173

169174
[[deps.ClimaComms]]
170175
deps = ["CUDA", "StaticArrays"]
171-
git-tree-sha1 = "93c4c545024821c9cacb7417f00381b2329e76db"
176+
git-tree-sha1 = "e7d6ba1456471e18cb5af155e7bb46532a6d4258"
172177
uuid = "3a4d1b5c-c61d-41fd-a00a-5873ba7a1b0d"
173-
version = "0.3.2"
178+
version = "0.3.3"
174179

175180
[[deps.ClimaTimeSteppers]]
176181
deps = ["CUDA", "ClimaComms", "DataStructures", "DiffEqBase", "DiffEqCallbacks", "KernelAbstractions", "Krylov", "LinearAlgebra", "LinearOperators", "SciMLBase", "StaticArrays"]
@@ -204,9 +209,9 @@ version = "0.11.4"
204209

205210
[[deps.ColorVectorSpace]]
206211
deps = ["ColorTypes", "FixedPointNumbers", "LinearAlgebra", "SpecialFunctions", "Statistics", "TensorCore"]
207-
git-tree-sha1 = "d08c20eef1f2cbc6e60fd3612ac4340b89fea322"
212+
git-tree-sha1 = "600cc5508d66b78aae350f7accdb58763ac18589"
208213
uuid = "c3611d14-8923-5661-9e6a-0046d554d3a4"
209-
version = "0.9.9"
214+
version = "0.9.10"
210215

211216
[[deps.Colors]]
212217
deps = ["ColorTypes", "FixedPointNumbers", "Reexport"]
@@ -285,9 +290,9 @@ version = "0.4.0"
285290

286291
[[deps.DiffEqBase]]
287292
deps = ["ArrayInterfaceCore", "ChainRulesCore", "DataStructures", "Distributions", "DocStringExtensions", "FastBroadcast", "ForwardDiff", "FunctionWrappers", "FunctionWrappersWrappers", "LinearAlgebra", "Logging", "MuladdMacro", "Parameters", "PreallocationTools", "Printf", "RecursiveArrayTools", "Reexport", "Requires", "SciMLBase", "Setfield", "SimpleNonlinearSolve", "SparseArrays", "Static", "StaticArrays", "Statistics", "Tricks", "ZygoteRules"]
288-
git-tree-sha1 = "731e3d52bd378e1481723eb6cc33d70baddbf6a9"
293+
git-tree-sha1 = "29777943a9e73c7d6b47d93830038ebdaacc18db"
289294
uuid = "2b5f629d-d688-5b77-993f-72d75c75574e"
290-
version = "6.112.0"
295+
version = "6.113.0"
291296

292297
[[deps.DiffEqCallbacks]]
293298
deps = ["DataStructures", "DiffEqBase", "ForwardDiff", "LinearAlgebra", "Markdown", "NLsolve", "Parameters", "RecipesBase", "RecursiveArrayTools", "SciMLBase", "StaticArrays"]
@@ -548,9 +553,9 @@ version = "1.0.2"
548553

549554
[[deps.HTTP]]
550555
deps = ["Base64", "CodecZlib", "Dates", "IniFile", "Logging", "LoggingExtras", "MbedTLS", "NetworkOptions", "OpenSSL", "Random", "SimpleBufferStream", "Sockets", "URIs", "UUIDs"]
551-
git-tree-sha1 = "2e13c9956c82f5ae8cbdb8335327e63badb8c4ff"
556+
git-tree-sha1 = "fd9861adba6b9ae4b42582032d0936d456c8602d"
552557
uuid = "cd3eb016-35fb-5094-929b-558a96fad6f3"
553-
version = "1.6.2"
558+
version = "1.6.3"
554559

555560
[[deps.HarfBuzz_jll]]
556561
deps = ["Artifacts", "Cairo_jll", "Fontconfig_jll", "FreeType2_jll", "Glib_jll", "Graphite2_jll", "JLLWrappers", "Libdl", "Libffi_jll", "Pkg"]
@@ -661,9 +666,9 @@ version = "0.8.6"
661666

662667
[[deps.Krylov]]
663668
deps = ["LinearAlgebra", "Printf", "SparseArrays"]
664-
git-tree-sha1 = "92256444f81fb094ff5aa742ed10835a621aef75"
669+
git-tree-sha1 = "dd90aacbfb622f898a97c2a4411ac49101ebab8a"
665670
uuid = "ba0b0d4f-ebba-5204-a429-3ac8c609bfb7"
666-
version = "0.8.4"
671+
version = "0.9.0"
667672

668673
[[deps.KrylovKit]]
669674
deps = ["ChainRulesCore", "GPUArraysCore", "LinearAlgebra", "Printf"]
@@ -815,10 +820,10 @@ uuid = "5c8ed15e-5a4c-59e4-a42b-c7e8811fb125"
815820
version = "2.4.1"
816821

817822
[[deps.LinearSolve]]
818-
deps = ["ArrayInterfaceCore", "DocStringExtensions", "FastLapackInterface", "GPUArraysCore", "IterativeSolvers", "KLU", "Krylov", "KrylovKit", "LinearAlgebra", "RecursiveFactorization", "Reexport", "SciMLBase", "Setfield", "SnoopPrecompile", "SparseArrays", "SuiteSparse", "UnPack"]
819-
git-tree-sha1 = "5b179a11483a789650a7d1ce7131aa0c416991db"
823+
deps = ["ArrayInterfaceCore", "DocStringExtensions", "FastLapackInterface", "GPUArraysCore", "IterativeSolvers", "KLU", "Krylov", "KrylovKit", "LinearAlgebra", "Preferences", "RecursiveFactorization", "Reexport", "SciMLBase", "Setfield", "SnoopPrecompile", "SparseArrays", "Sparspak", "SuiteSparse", "UnPack"]
824+
git-tree-sha1 = "cf1227e369513687658476e466a5b73a7c3dfa1f"
820825
uuid = "7ed4a6bd-45f5-4d41-b270-4a48e9bafcae"
821-
version = "1.29.1"
826+
version = "1.33.0"
822827

823828
[[deps.LogExpFunctions]]
824829
deps = ["ChainRulesCore", "ChangesOfVariables", "DocStringExtensions", "InverseFunctions", "IrrationalConstants", "LinearAlgebra"]
@@ -1034,9 +1039,9 @@ version = "1.38.0"
10341039

10351040
[[deps.Polyester]]
10361041
deps = ["ArrayInterface", "BitTwiddlingConvenienceFunctions", "CPUSummary", "IfElse", "ManualMemory", "PolyesterWeave", "Requires", "Static", "StrideArraysCore", "ThreadingUtilities"]
1037-
git-tree-sha1 = "7446b311ce8f2c3f48be75a2c4b53ff02dd0c1df"
1042+
git-tree-sha1 = "a5071cd52fc3fc0a960b825ddeb64e352fdf41e1"
10381043
uuid = "f517fe37-dbe3-4b94-8317-1923a5111588"
1039-
version = "0.6.18"
1044+
version = "0.6.20"
10401045

10411046
[[deps.PolyesterWeave]]
10421047
deps = ["BitTwiddlingConvenienceFunctions", "CPUSummary", "IfElse", "Static", "ThreadingUtilities"]
@@ -1174,9 +1179,9 @@ version = "0.6.37"
11741179

11751180
[[deps.SciMLBase]]
11761181
deps = ["ArrayInterfaceCore", "CommonSolve", "ConstructionBase", "Distributed", "DocStringExtensions", "EnumX", "FunctionWrappersWrappers", "IteratorInterfaceExtensions", "LinearAlgebra", "Logging", "Markdown", "Preferences", "RecipesBase", "RecursiveArrayTools", "RuntimeGeneratedFunctions", "StaticArraysCore", "Statistics", "Tables"]
1177-
git-tree-sha1 = "d8b9aa22479304f62e8da2be6704c2443bb482a8"
1182+
git-tree-sha1 = "fe89a8113ea445bcff9ee570077830674babb534"
11781183
uuid = "0bca4576-84f4-4d90-8ffe-ffa030f20462"
1179-
version = "1.80.0"
1184+
version = "1.81.0"
11801185

11811186
[[deps.SciMLNLSolve]]
11821187
deps = ["LineSearches", "NLsolve", "Reexport", "SciMLBase"]
@@ -1250,6 +1255,12 @@ git-tree-sha1 = "4245283bee733122a9cb4545748d64e0c63337c0"
12501255
uuid = "47a9eef4-7e08-11e9-0b38-333d64bd3804"
12511256
version = "1.30.0"
12521257

1258+
[[deps.Sparspak]]
1259+
deps = ["Libdl", "LinearAlgebra", "Logging", "OffsetArrays", "Printf", "SparseArrays", "Test"]
1260+
git-tree-sha1 = "dbe7d12e530416a26135d9566f00946aea1b2474"
1261+
uuid = "e56a9233-b9d6-4f03-8d0f-1825330902ac"
1262+
version = "0.3.2"
1263+
12531264
[[deps.SpecialFunctions]]
12541265
deps = ["ChainRulesCore", "IrrationalConstants", "LogExpFunctions", "OpenLibm_jll", "OpenSpecFun_jll"]
12551266
git-tree-sha1 = "d75bda01f8c31ebb72df80a46c88b25d1c79c56d"
@@ -1264,9 +1275,9 @@ version = "0.8.3"
12641275

12651276
[[deps.StaticArrays]]
12661277
deps = ["LinearAlgebra", "Random", "StaticArraysCore", "Statistics"]
1267-
git-tree-sha1 = "ffc098086f35909741f71ce21d03dadf0d2bfa76"
1278+
git-tree-sha1 = "6954a456979f23d05085727adb17c4551c19ecd1"
12681279
uuid = "90137ffa-7385-5640-81b9-e52037218182"
1269-
version = "1.5.11"
1280+
version = "1.5.12"
12701281

12711282
[[deps.StaticArraysCore]]
12721283
git-tree-sha1 = "6b7ba252635a5eff6a0b0664a41ee140a1c9e72a"
@@ -1436,9 +1447,9 @@ version = "0.2.0"
14361447

14371448
[[deps.Wayland_jll]]
14381449
deps = ["Artifacts", "Expat_jll", "JLLWrappers", "Libdl", "Libffi_jll", "Pkg", "XML2_jll"]
1439-
git-tree-sha1 = "3e61f0b86f90dacb0bc0e73a0c5a83f6a8636e23"
1450+
git-tree-sha1 = "ed8d92d9774b077c53e1da50fd81a36af3744c1c"
14401451
uuid = "a2964d1f-97da-50d4-b82a-358c7fce9d89"
1441-
version = "1.19.0+0"
1452+
version = "1.21.0+0"
14421453

14431454
[[deps.Wayland_protocols_jll]]
14441455
deps = ["Artifacts", "JLLWrappers", "Libdl", "Pkg"]

docs/Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
[deps]
2+
AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c"
23
ClimaTimeSteppers = "595c0a79-7f3d-439a-bc5a-b232dc3bde79"
34
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
45
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"

docs/make.jl

Lines changed: 39 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,55 @@
11
using Documenter, DocumenterCitations
22
using ClimaTimeSteppers
33

4+
# https://github.com/jheinen/GR.jl/issues/278#issuecomment-587090846
5+
ENV["GKSwstype"] = "nul"
6+
47
bib = CitationBibliography(joinpath(@__DIR__, "refs.bib"))
58

9+
#! format: off
10+
pages = [
11+
"index.md",
12+
"Algorithm formulations" => [
13+
"algo_formulations/lsrk.md",
14+
"algo_formulations/ssprk.md",
15+
"algo_formulations/ark.md",
16+
"algo_formulations/mrrk.md",
17+
],
18+
"Non-linear solvers" => [
19+
"Formulation" => "nl_solvers/formulation.md",
20+
"Newtons method" => "nl_solvers/newtons_method.md",
21+
],
22+
"Test problems" => [
23+
"test_problems/index.md",
24+
],
25+
"API docs" => [
26+
"Algorithms" => "api/algorithms.md",
27+
"Tableaus" => "api/tableaus.md",
28+
"Non-linear solvers" => "api/nl_solvers.md",
29+
"Callbacks" => "api/callbacks.md",
30+
],
31+
# "Algorithm comparisons" => "algo_comparisons.md", # TODO: fill out
32+
"Developer docs" => [
33+
"Types" => "dev/types.md",
34+
"Report generator" => "dev/report_gen.md",
35+
],
36+
"references.md",
37+
]
38+
#! format: on
39+
40+
mathengine = MathJax(Dict(:TeX => Dict(:equationNumbers => Dict(:autoNumber => "AMS"), :Macros => Dict())))
41+
42+
format = Documenter.HTML(prettyurls = get(ENV, "CI", nothing) == "true", mathengine = mathengine, collapselevel = 1)
643

744
makedocs(
845
bib,
946
sitename = "ClimaTimeSteppers",
10-
format = Documenter.HTML(prettyurls = get(ENV, "CI", nothing) == "true"),
47+
format = format,
1148
modules = [ClimaTimeSteppers],
1249
checkdocs = :exports,
1350
clean = true,
1451
strict = true,
15-
pages = [
16-
"index.md",
17-
"algorithms.md",
18-
"newtons_method.md",
19-
"callbacks.md",
20-
"Background" => ["background/lsrk.md", "background/ssprk.md", "background/ark.md", "background/mrrk.md"],
21-
"test_problems.md",
22-
"algo_comparisons.md",
23-
"references.md",
24-
],
52+
pages = pages,
2553
)
2654

2755
# Documenter can also automatically deploy documentation to gh-pages.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)