Skip to content

Commit

Permalink
Merge pull request #44 from WIAS-PDELib/jf/runic
Browse files Browse the repository at this point in the history
runic-format stuff
  • Loading branch information
j-fu authored Nov 24, 2024
2 parents 3db88e8 + df098b7 commit 6045247
Show file tree
Hide file tree
Showing 17 changed files with 2,199 additions and 1,689 deletions.
28 changes: 15 additions & 13 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function rendernotebook(name)
session = Pluto.ServerSession()
notebook = Pluto.SessionActions.open(session, input; run_async = false)
html_contents = Pluto.generate_html(notebook)
write(output, html_contents)
return write(output, html_contents)
end

include("makeplots.jl")
Expand All @@ -30,18 +30,20 @@ function mkdocs()
makeplots(example_md_dir; Plotter = CairoMakie, extension = "svg")
end
generated_examples = joinpath.("examples", filter(x -> endswith(x, ".md"), readdir(example_md_dir)))
makedocs(; sitename = "GridVisualize.jl",
modules = [GridVisualize],
doctest = false,
clean = false,
authors = "J. Fuhrmann",
repo = "/~https://github.com/WIAS-PDELib/GridVisualize.jl",
pages = [
"Home" => "index.md",
"Public API" => "api.md",
"Private API" => "privapi.md",
"Examples" => generated_examples,
])
return makedocs(;
sitename = "GridVisualize.jl",
modules = [GridVisualize],
doctest = false,
clean = false,
authors = "J. Fuhrmann",
repo = "/~https://github.com/WIAS-PDELib/GridVisualize.jl",
pages = [
"Home" => "index.md",
"Public API" => "api.md",
"Private API" => "privapi.md",
"Examples" => generated_examples,
]
)
end

mkdocs()
Expand Down
2 changes: 1 addition & 1 deletion docs/makefigs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,5 @@ function makefigs()

Plotter = VTKView
scene = plotting_multiscene(; Plotter = Plotter)
save("multiscene_vtkview.png", scene; Plotter = Plotter)
return save("multiscene_vtkview.png", scene; Plotter = Plotter)
end
2 changes: 1 addition & 1 deletion docs/makeplots.jl
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,5 @@ function makeplots(picdir; Plotter = GLMakie, extension = "png")
@test isfile(fname)
println("custom")

true
return true
end
Loading

0 comments on commit 6045247

Please sign in to comment.