You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Docs build: new unresolvable @ref to SciMLBase.HomotopyProblem from HomotopySweep docstring (#962) #968
The Documentation workflow on master gained a new failure class starting with commit 633d93a (merge of #962, "Add HomotopySweep"): an unresolvable Documenter cross-reference.
┌ Error: Cannot resolve @ref for md"[`SciMLBase.HomotopyProblem`](@ref)" in docs/src/native/solvers.md.
...
ERROR: LoadError: `makedocs` encountered errors [:cross_references, :example_block] -- terminating build before rendering.
The HomotopySweep docstring added in #962 (lib/NonlinearSolveBase/src/homotopy_sweep.jl, line 5) contains:
Natural-parameter continuation solver for a [`SciMLBase.HomotopyProblem`](@ref). The
SciMLBase.HomotopyProblem's docstring is not included anywhere in this repo's docs build, so Documenter cannot resolve the @ref, and the docstring is rendered via the HomotopySweep entry in docs/src/native/solvers.md, turning this into a :cross_references build error.
Pre-existing vs. new
The docs build was already failing on master before #962 with :example_block errors (docs/src/tutorials/large_systems.md:324-338 "No matching function wrapper was found!" and four docs/src/tutorials/snes_ex2.md blocks failing with FieldError: type Nothing has no field jacobian — same errors on the previous master commit 45c88b9, run https://github.com/SciML/NonlinearSolve.jl/actions/runs/27148998298). Those are pre-existing and separate. This issue is specifically about the new :cross_references error introduced by #962.
Suggested fix
Either:
replace the @ref link in the HomotopySweep docstring with a plain code span: `SciMLBase.HomotopyProblem`, or
make it an external reference (DocumenterInterLinks extref to the SciMLBase docs), or
include SciMLBase.HomotopyProblem in an @docs block in this repo's docs.
PR #967 (which touches this same docstring) includes the fix: the @ref is replaced with a plain code span, since SciMLBase.HomotopyProblem's docstring is not included on any page of this docs build.
Activity
ChrisRackauckas-Claude commentedon Jun 12, 2026
PR #967 (which touches this same docstring) includes the fix: the
@refis replaced with a plain code span, sinceSciMLBase.HomotopyProblem's docstring is not included on any page of this docs build.Fix unresolvable @ref to SciMLBase.HomotopyProblem in HomotopySweep d…