Skip to content

Commit a46fd44

Browse files
committed
Properly configure remotes for developed packages
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 <[email protected]>
1 parent 490e448 commit a46fd44

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/make.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,10 @@ makedocs(
9898
DiffEqCallbacks,
9999
Sundials, DASKR
100100
],
101-
remotes = nothing,
101+
remotes = Dict(
102+
dirname(dirname(pathof(OrdinaryDiffEq))) => Documenter.Remotes.GitHub("SciML", "OrdinaryDiffEq.jl"),
103+
dirname(dirname(pathof(StochasticDiffEq))) => Documenter.Remotes.GitHub("SciML", "StochasticDiffEq.jl")
104+
),
102105
linkcheck = true,
103106
linkcheck_ignore = ["https://www.izhikevich.org/publications/spikes.htm",
104107
"https://biojulia.net/post/hardware/",

0 commit comments

Comments
 (0)