Repository: scipy/scipy

Issue:
CircleCI doc build failing on new warnings
89 warnings visible in gh-10378, perhaps due to a change in one of our doc build dependencies.

```
WARNING: duplicate object description of scipy.io.wavfile, other instance in io, use :noindex: for one of them
WARNING: duplicate object description of scipy.io.arff, other instance in io, use :noindex: for one of them
WARNING: duplicate object description of scipy.io, other instance in io, use :noindex: for one of them
checking consistency... /home/circleci/repo/doc/source/generated/scipy.LowLevelCallable.function.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.LowLevelCallable.signature.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.LowLevelCallable.user_data.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.integrate.BDF.step_size.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.integrate.LSODA.step_size.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.integrate.OdeSolver.step_size.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.integrate.RK23.step_size.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.integrate.RK45.step_size.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.integrate.Radau.step_size.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.integrate.complex_ode.y.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.integrate.ode.y.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.interpolate.BSpline.tck.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.interpolate.Rbf.A.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.interpolate.interp1d.fill_value.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.io.netcdf_variable.isrec.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.io.netcdf_variable.shape.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.optimize.LbfgsInvHessProduct.H.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.optimize.LbfgsInvHessProduct.T.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.signal.StateSpace.A.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.signal.StateSpace.B.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.signal.StateSpace.C.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.signal.StateSpace.D.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.signal.StateSpace.dt.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.signal.StateSpace.poles.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.signal.StateSpace.zeros.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.signal.TransferFunction.den.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.signal.TransferFunction.dt.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.signal.TransferFunction.num.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.signal.TransferFunction.poles.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.signal.TransferFunction.zeros.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.signal.ZerosPolesGain.dt.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.signal.ZerosPolesGain.gain.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.signal.ZerosPolesGain.poles.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.signal.ZerosPolesGain.zeros.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.signal.dlti.dt.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.signal.dlti.poles.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.signal.dlti.zeros.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.signal.lti.dt.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.signal.lti.poles.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.signal.lti.zeros.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.bsr_matrix.blocksize.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.bsr_matrix.dtype.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.bsr_matrix.has_canonical_format.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.bsr_matrix.has_sorted_indices.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.bsr_matrix.nnz.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.bsr_matrix.shape.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.coo_matrix.dtype.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.coo_matrix.nnz.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.coo_matrix.shape.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.csc_matrix.dtype.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.csc_matrix.has_canonical_format.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.csc_matrix.has_sorted_indices.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.csc_matrix.nnz.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.csc_matrix.shape.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.csr_matrix.dtype.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.csr_matrix.has_canonical_format.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.csr_matrix.has_sorted_indices.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.csr_matrix.nnz.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.csr_matrix.shape.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.dia_matrix.dtype.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.dia_matrix.nnz.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.dia_matrix.shape.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.dok_matrix.nnz.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.dok_matrix.shape.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.lil_matrix.nnz.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.lil_matrix.shape.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.linalg.LinearOperator.H.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.linalg.LinearOperator.T.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.spmatrix.nnz.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.sparse.spmatrix.shape.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.spatial.ConvexHull.points.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.spatial.ConvexHull.vertices.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.spatial.Delaunay.convex_hull.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.spatial.Delaunay.points.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.spatial.Delaunay.transform.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.spatial.Delaunay.vertex_neighbor_vertices.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.spatial.Delaunay.vertex_to_simplex.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.spatial.HalfspaceIntersection.dual_vertices.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.spatial.HalfspaceIntersection.halfspaces.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.spatial.Voronoi.points.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.spatial.Voronoi.ridge_dict.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.stats.gaussian_kde.neff.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.stats.gaussian_kde.weights.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.stats.rv_continuous.random_state.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.stats.rv_discrete.random_state.rst: WARNING: document isn't included in any toctree
/home/circleci/repo/doc/source/generated/scipy.stats.rv_histogram.random_state.rst: WARNING: document isn't included in any toctree
done
```


Discussion:

Resolving patch:
diff --git a/scipy/_lib/_ccallback.py b/scipy/_lib/_ccallback.py
--- a/scipy/_lib/_ccallback.py
+++ b/scipy/_lib/_ccallback.py
@@ -40,9 +40,9 @@ class LowLevelCallable(tuple):
     Attributes
     ----------
     function
-        Callback function given
+        Callback function given.
     user_data
-        User data given
+        User data given.
     signature
         Signature of the function.
 
diff --git a/scipy/stats/stats.py b/scipy/stats/stats.py
--- a/scipy/stats/stats.py
+++ b/scipy/stats/stats.py
@@ -3343,7 +3343,7 @@ def pearsonr(x, y):
     given sample with correlation coefficient r, the p-value is
     the probability that abs(r') of a random sample x' and y' drawn from
     the population with zero correlation would be greater than or equal
-    to abs(r).  In terms of the object `dist` shown above, the p-value
+    to abs(r).  In terms of the object ``dist`` shown above, the p-value
     for a given r and length n can be computed as::
 
         p = 2*dist.cdf(-abs(r))


Test patch: