From f22efb7aea3a040f40fad3ea13bd4ae5f380373a Mon Sep 17 00:00:00 2001 From: Isuru Fernando Date: Sun, 1 Dec 2019 21:50:47 -0600 Subject: [PATCH] Fix doc warnings --- doc/conf.py | 2 +- pytential/source.py | 3 --- pytential/symbolic/execution.py | 8 ++++---- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 6df4af25..a4512915 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -145,7 +145,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'] # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. diff --git a/pytential/source.py b/pytential/source.py index 7b3e456b..25e9d138 100644 --- a/pytential/source.py +++ b/pytential/source.py @@ -199,9 +199,6 @@ class LayerPotentialSourceBase(PotentialSource): .. rubric:: Execution - .. automethod:: weights_and_area_elements - .. automethod:: cost_model_compute_potential_insn - .. automethod:: exec_compute_potential_insn """ def __init__(self, density_discr): diff --git a/pytential/symbolic/execution.py b/pytential/symbolic/execution.py index ca9696da..da854e74 100644 --- a/pytential/symbolic/execution.py +++ b/pytential/symbolic/execution.py @@ -638,7 +638,7 @@ class BoundExpression(object): :class:`GeometryCollection`. .. automethod :: get_modeled_cost - .. automethod :: scipy_pop + .. automethod :: scipy_op .. automethod :: eval .. automethod :: __call__ @@ -671,7 +671,7 @@ class BoundExpression(object): to be a key in :attr:`places`. :returns: An object that (mostly) satisfies the :mod:`scipy.linalg.LinearOperator` protocol, except for accepting - and returning :clas:`pyopencl.array.Array` arrays. + and returning :class:`pyopencl.array.Array` arrays. """ from pytools.obj_array import is_obj_array @@ -704,7 +704,7 @@ class BoundExpression(object): def eval(self, queue, context=None, timing_data=None): """Evaluate the expression in *self*, using the - :clas:`pyopencl.CommandQueue` *queue* and the + :class:`pyopencl.CommandQueue` *queue* and the input variables given in the dictionary *context*. :arg timing_data: A dictionary into which timing @@ -722,7 +722,7 @@ class BoundExpression(object): def __call__(self, queue, **args): """Evaluate the expression in *self*, using the - :clas:`pyopencl.CommandQueue` *queue* and the + :class:`pyopencl.CommandQueue` *queue* and the input variables given in the dictionary *context*. :returns: the value of the expression, as a scalar, -- GitLab