Skip to content

Commit

Permalink
Fix Documenter v1 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
j-fu committed Oct 12, 2023
1 parent 90d9de0 commit b3ace16
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "GridVisualize"
uuid = "5eed8a63-0fb0-45eb-886d-8d5a387d12b8"
authors = ["Juergen Fuhrmann <juergen.fuhrmann@wias-berlin.de>"]
version = "1.1.6"
version = "1.1.7"

[deps]
ColorSchemes = "35d6a980-a343-548e-a6ea-1d62b119f2f4"
Expand Down
3 changes: 3 additions & 0 deletions docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
Pluto = "c3e4b0f8-55cb-11ea-2926-15256bba5781"
PlutoVista = "646e1f28-b900-46d7-9d87-d554eb38a413"

[compat]
Documenter = "1"
2 changes: 1 addition & 1 deletion docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function rendernotebook(name)
input=joinpath(@__DIR__,"..","examples",name*".jl")
output=joinpath(@__DIR__,"src",name*".html")
session = Pluto.ServerSession();
notebook = Pluto.SessionActions.open(session, input; run_async=false)
notebook = Pluto.SessionActions.open(session, input)
html_contents = Pluto.generate_html(notebook)
write(output, html_contents)
end
Expand Down
1 change: 1 addition & 0 deletions docs/makeplots.jl
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ function makeplots(picdir; Plotter=GLMakie, extension="png")
fname=joinpath(picdir,"plotting_vec2d."*extension)
save(fname,p,Plotter=Plotter)
@test isfile(fname)

println("vec2d")

p=plotting_stream2d(Plotter=Plotter)
Expand Down
13 changes: 13 additions & 0 deletions docs/src/privapi.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@ Public = false
Pages = ["dispatch.jl","common.jl"]
```

```@docs
ispyplot
isplutovista
isplots
ismakie
isvtkview
```


## PyPlot
```@autodocs
Modules = [GridVisualize]
Expand All @@ -25,6 +34,10 @@ Public = false
Pages = ["makie.jl", "flippablelayout.jl"]
```

```@docs
FlippableLayout
```

## Plots
```@autodocs
Modules = [GridVisualize]
Expand Down
2 changes: 1 addition & 1 deletion examples/plotting.jl
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function plotting_stream2d(; Plotter = default_plotter(), kwargs...)
g, f = vec2d()
streamplot(g, f; Plotter = Plotter, spacing = 0.05, kwargs...)
end
# ![](plotting_stream2d.svg)


# ### Movie
# Movies can contain any of the previous plots.
Expand Down
2 changes: 1 addition & 1 deletion examples/plutovista.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
### A Pluto.jl notebook ###
# v0.19.22
# v0.19.29

using Markdown
using InteractiveUtils
Expand Down

2 comments on commit b3ace16

@j-fu
Copy link
Member Author

@j-fu j-fu commented on b3ace16 Oct 12, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/93295

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v1.1.7 -m "<description of version>" b3ace16bc8b57b17c03bda2fc28494d22a741ccb
git push origin v1.1.7

Please sign in to comment.