Skip to content

Docs build: new unresolvable @ref to SciMLBase.HomotopyProblem from HomotopySweep docstring (#962) #968

Open

Description

@ChrisRackauckas-Claude

Summary

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.

(From run https://github.com/SciML/NonlinearSolve.jl/actions/runs/27316871295, job "Build and Deploy Documentation".)

Cause

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.

The first option is the minimal one-line fix.

Activity

  1. ChrisRackauckas-Claude commented on Jun 12, 2026

    @ChrisRackauckas-Claude
    MemberAuthor

    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.

  2. added a commit that references this issue on Jun 12, 2026
    a4424ce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions