From a80c54a855734024c6920b922a0b21f29f23eaad Mon Sep 17 00:00:00 2001 From: Alexandru Fikl <alexfikl@gmail.com> Date: Wed, 2 Aug 2023 21:11:53 +0300 Subject: [PATCH] array_context: add to docs --- doc/conf.py | 8 +++++--- doc/misc.rst | 5 +++-- sumpy/array_context.py | 3 +++ 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 617a4686..0780e3d3 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -18,14 +18,16 @@ release = ver_dic["VERSION_TEXT"] intersphinx_mapping = { "python": ("https://docs.python.org/3/", None), "numpy": ("https://numpy.org/doc/stable/", None), - "modepy": ("https://documen.tician.de/modepy/", None), + "sympy": ("https://docs.sympy.org/latest/", None), + "matplotlib": ("https://matplotlib.org/stable/", None), "pyopencl": ("https://documen.tician.de/pyopencl/", None), + "pytools": ("https://documen.tician.de/pytools/", None), + "modepy": ("https://documen.tician.de/modepy/", None), "pymbolic": ("https://documen.tician.de/pymbolic/", None), "loopy": ("https://documen.tician.de/loopy/", None), "pytential": ("https://documen.tician.de/pytential/", None), "boxtree": ("https://documen.tician.de/boxtree/", None), - "sympy": ("https://docs.sympy.org/latest/", None), - "matplotlib": ("https://matplotlib.org/stable/", None), + "arraycontext": ("https://documen.tician.de/arraycontext/", None), } nitpick_ignore_regex = [ diff --git a/doc/misc.rst b/doc/misc.rst index ac1ea388..7b4f427f 100644 --- a/doc/misc.rst +++ b/doc/misc.rst @@ -1,12 +1,13 @@ Misc Tools ========== -.. automodule:: sumpy.tools - .. automodule:: sumpy.derivative_taker .. automodule:: sumpy.symbolic +.. automodule:: sumpy.tools + +.. automodule:: sumpy.array_context Installation ============ diff --git a/sumpy/array_context.py b/sumpy/array_context.py index 760f7d5d..3c328849 100644 --- a/sumpy/array_context.py +++ b/sumpy/array_context.py @@ -26,6 +26,9 @@ from arraycontext.pytest import ( register_pytest_array_context_factory) __doc__ = """ +Array Context +------------- + .. autoclass:: PyOpenCLArrayContext """ -- GitLab