From 99bad8973b8711e9aecc4f845cba0edab6103736 Mon Sep 17 00:00:00 2001 From: Anshul Singhvi Date: Mon, 5 Aug 2024 11:33:48 -0400 Subject: [PATCH 1/2] Add custom Documenter branch to doc CI build --- .github/workflows/CI.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index ea21d7a..dc4180b 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -62,7 +62,10 @@ jobs: xvfb-run -s '-screen 0 1024x768x24' julia --project=docs -e ' using Pkg Pkg.develop(PackageSpec(path=pwd())) - Pkg.add(name = "DocumenterVitepress", rev = "master") + Pkg.add([ + PackageSpec(name = "DocumenterVitepress", rev = "master"), + PackageSpec(url = "https://github.com/asinghvi17/Documenter.jl", rev = "patch-4"), + ]) Pkg.instantiate()' env: DISPLAY: ':0' From 9a78fb40b71053447a53b9a32751dc45c0533923 Mon Sep 17 00:00:00 2001 From: Anshul Singhvi Date: Mon, 5 Aug 2024 11:36:27 -0400 Subject: [PATCH 2/2] Try record -> Record --- docs/src/makie.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/src/makie.md b/docs/src/makie.md index c23911f..ee1f814 100644 --- a/docs/src/makie.md +++ b/docs/src/makie.md @@ -57,9 +57,11 @@ rotation looks as elliptical as it can. Now, we can use Makie's `record` function to record an animation with this: ```@example simple -record(fig, "path.mp4", LinRange(0, 5, 150); framerate = 30) do t +io = Record(fig, LinRange(0, 5, 150); framerate = 30) do t set_view!(ax, path(t)) end +# save("video.mp4", io) +io # hide ``` ![A rotating view of a surface](path.mp4)