Skip to content

Commit c6bb04c

Browse files
Fixes
1 parent e50f193 commit c6bb04c

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

docs/make.jl

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
using Documenter, DocumenterCitations
22
using ClimaTimeSteppers
33

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

7+
bib = CitationBibliography(joinpath(@__DIR__, "refs.bib"))
68

79
#! format: off
810
pages = [
@@ -18,7 +20,7 @@ pages = [
1820
"Newtons method" => "nl_solvers/newtons_method.md",
1921
],
2022
"Test problems" => [
21-
"index.md",
23+
"test_problems/index.md",
2224
],
2325
"API docs" => [
2426
"Algorithms" => "api/algorithms.md",
@@ -35,10 +37,14 @@ pages = [
3537
]
3638
#! format: on
3739

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)
43+
3844
makedocs(
3945
bib,
4046
sitename = "ClimaTimeSteppers",
41-
format = Documenter.HTML(prettyurls = get(ENV, "CI", nothing) == "true"),
47+
format = format,
4248
modules = [ClimaTimeSteppers],
4349
checkdocs = :exports,
4450
clean = true,

0 commit comments

Comments
 (0)