From 72c6ee1940f9695661612fc02e1bee872a62d183 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 1 Aug 2025 07:44:26 -0400 Subject: [PATCH 1/5] Fix @example block references in SDE tutorial documentation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Resolves build failure where plotting commands tried to reference solution variables from different @example blocks. - Changed `@example sde` to `@example sde2` for Lorenz SDE plot (line 195) - Changed `@example sde` to `@example sde3` for scalar noise SDE plot (line 235) This fixes the ArgumentError: "Collection has multiple elements, must contain exactly 1 element" that occurred when Documenter.jl tried to execute plotting commands without access to the required solution variables. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- docs/src/tutorials/sde_example.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/tutorials/sde_example.md b/docs/src/tutorials/sde_example.md index 66ae2bf5d..c62797daa 100644 --- a/docs/src/tutorials/sde_example.md +++ b/docs/src/tutorials/sde_example.md @@ -192,7 +192,7 @@ sol = SDE.solve(prob_sde_lorenz); nothing # hide ``` -```@example sde +```@example sde2 Plots.plot(sol, idxs = (1, 2, 3)) ``` @@ -232,7 +232,7 @@ sol = SDE.solve(prob, SDE.SRIW1()); nothing # hide ``` -```@example sde +```@example sde3 Plots.plot(sol) ``` From d3d1d15204900fd901754c04f49c8d5d2b8d419d Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 1 Aug 2025 10:06:08 -0400 Subject: [PATCH 2/5] Add remote repository configuration for developed packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes MissingRemoteError for StochasticDiffEq docstrings by adding remotes configuration to makedocs(). Since OrdinaryDiffEq and StochasticDiffEq are developed via Pkg.develop(), Documenter needs explicit remote repository information to generate proper source URLs for their docstrings. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- docs/make.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/make.jl b/docs/make.jl index f178dbb6f..45c23dd46 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -98,6 +98,10 @@ makedocs( DiffEqCallbacks, Sundials, DASKR ], + remotes = Dict( + OrdinaryDiffEq => Documenter.Remotes.GitHub("SciML", "OrdinaryDiffEq.jl"), + StochasticDiffEq => Documenter.Remotes.GitHub("SciML", "StochasticDiffEq.jl") + ), linkcheck = true, linkcheck_ignore = ["https://www.izhikevich.org/publications/spikes.htm", "https://biojulia.net/post/hardware/", From 490e448b06b0dd67aca11faf7e3a7ac3f8beb325 Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 1 Aug 2025 10:30:02 -0400 Subject: [PATCH 3/5] Fix remotes configuration by disabling remote source links MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The previous remotes configuration had incorrect syntax (Module => Remote instead of path => Remote). Since OrdinaryDiffEq and StochasticDiffEq are developed via Pkg.develop(), the simplest solution is to disable remote source links entirely by setting remotes = nothing. This prevents the MissingRemoteError while allowing the documentation to build successfully. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- docs/make.jl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/make.jl b/docs/make.jl index 45c23dd46..4291c573a 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -98,10 +98,7 @@ makedocs( DiffEqCallbacks, Sundials, DASKR ], - remotes = Dict( - OrdinaryDiffEq => Documenter.Remotes.GitHub("SciML", "OrdinaryDiffEq.jl"), - StochasticDiffEq => Documenter.Remotes.GitHub("SciML", "StochasticDiffEq.jl") - ), + remotes = nothing, linkcheck = true, linkcheck_ignore = ["https://www.izhikevich.org/publications/spikes.htm", "https://biojulia.net/post/hardware/", From a46fd445e8e8f275e36d84da2a2a4a714939eacc Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 1 Aug 2025 10:32:46 -0400 Subject: [PATCH 4/5] Properly configure remotes for developed packages MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Instead of disabling remotes entirely, correctly map the local development paths to their GitHub repositories using pathof() to find the actual package locations. This approach: - Provides proper source links for docstrings from developed packages - Uses dirname(dirname(pathof(Package))) to get the package root directory - Maps OrdinaryDiffEq and StochasticDiffEq to their SciML GitHub repositories 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- docs/make.jl | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/make.jl b/docs/make.jl index 4291c573a..bb390c5af 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -98,7 +98,10 @@ makedocs( DiffEqCallbacks, Sundials, DASKR ], - remotes = nothing, + remotes = Dict( + dirname(dirname(pathof(OrdinaryDiffEq))) => Documenter.Remotes.GitHub("SciML", "OrdinaryDiffEq.jl"), + dirname(dirname(pathof(StochasticDiffEq))) => Documenter.Remotes.GitHub("SciML", "StochasticDiffEq.jl") + ), linkcheck = true, linkcheck_ignore = ["https://www.izhikevich.org/publications/spikes.htm", "https://biojulia.net/post/hardware/", From a8ebbe0013e79d767560a811a63599323b9578ef Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 1 Aug 2025 12:09:55 -0400 Subject: [PATCH 5/5] Revert to remotes = nothing for packages in Julia depot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The previous attempt to map local package paths to GitHub repositories failed because packages installed via Pkg.develop() in the Julia depot are not full git repositories - they lack git history and .git directories. Setting remotes = nothing disables source link generation entirely, which resolves the MissingRemoteError while allowing documentation to build successfully. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- docs/make.jl | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/make.jl b/docs/make.jl index bb390c5af..4291c573a 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -98,10 +98,7 @@ makedocs( DiffEqCallbacks, Sundials, DASKR ], - remotes = Dict( - dirname(dirname(pathof(OrdinaryDiffEq))) => Documenter.Remotes.GitHub("SciML", "OrdinaryDiffEq.jl"), - dirname(dirname(pathof(StochasticDiffEq))) => Documenter.Remotes.GitHub("SciML", "StochasticDiffEq.jl") - ), + remotes = nothing, linkcheck = true, linkcheck_ignore = ["https://www.izhikevich.org/publications/spikes.htm", "https://biojulia.net/post/hardware/",