Sphinx reads the public methods of all classes, and if one inherits from sklearn, it reads that method's docstring. If that method contains a relative link in the rst, sphinx needs to know where to link it.
This will fix the current CI failure, new as of scikit-learn 1.3. I'm going to give this a suspense time of a day in case anyone wants to read it, but its a hotfix blocking any PR's CI so I want to move it fast.
Sphinx reads the public methods of all classes, and if one inherits from sklearn, it reads that method's docstring. If that method contains a relative link in the rst, sphinx needs to know where to link it.
This will fix the current CI failure, new as of scikit-learn 1.3. I'm going to give this a suspense time of a day in case anyone wants to read it, but its a hotfix blocking any PR's CI so I want to move it fast.