From 4b9e8eb18f4888506239e1e7e240526bb76e2a23 Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Wed, 26 Aug 2020 16:05:49 -0500 Subject: [PATCH] Fix warnings in doc build --- doc/conf.py | 2 +- sumpy/point_calculus.py | 8 ++++---- sumpy/toys.py | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 4aa98d14..a98aac52 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -159,7 +159,7 @@ html_sidebars = { # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] +# html_static_path = ['_static'] # Add any extra paths that contain custom files (such as robots.txt or # .htaccess) here, relative to this directory. These files are copied diff --git a/sumpy/point_calculus.py b/sumpy/point_calculus.py index fc164d81..ef239510 100644 --- a/sumpy/point_calculus.py +++ b/sumpy/point_calculus.py @@ -48,7 +48,7 @@ class CalculusPatch(object): .. automethod:: diff .. automethod:: dx .. automethod:: dy - .. automethod:: dy + .. automethod:: dz .. automethod:: laplace .. automethod:: div .. automethod:: curl @@ -116,7 +116,7 @@ class CalculusPatch(object): return self._vandermonde_1d()[0] def basis(self): - """" + """ :returns: a :class:`list` containing functions that realize a high-order interpolation basis on the :attr:`points`. """ @@ -213,7 +213,7 @@ class CalculusPatch(object): def div(self, arg): """ :arg arg: an object array containing - :class:`numpy.ndarrays` with shape ``(npoints_total,)``. + :class:`numpy.ndarray` s with shape ``(npoints_total,)``. """ result = 0 for i, arg_i in enumerate(arg): @@ -225,7 +225,7 @@ class CalculusPatch(object): """Take the curl of the vector quantity *arg*. :arg arg: an object array of shape ``(3,)`` containing - :class:`numpy.ndarrays` with shape ``(npoints_total,)``. + :class:`numpy.ndarray` s with shape ``(npoints_total,)``. """ from pytools import levi_civita from pytools.obj_array import make_obj_array diff --git a/sumpy/toys.py b/sumpy/toys.py index 9bc68ae5..de92bedf 100644 --- a/sumpy/toys.py +++ b/sumpy/toys.py @@ -428,7 +428,7 @@ class ExpansionPotentialSource(PotentialSource): .. attribute:: text_kwargs - Passed to :method:`matplotlib.pyplot.annotate`. Used for customizing the + Passed to :meth:`matplotlib.pyplot.annotate`. Used for customizing the expansion label. Changing the label text is supported by passing the kwarg *s*. Just for visualization, purely advisory. """ -- GitLab