From 57596a7fad8470913d79a886881672cf3e61caa8 Mon Sep 17 00:00:00 2001 From: Matthias Diener Date: Sun, 13 Jun 2021 22:38:25 -0500 Subject: [PATCH] minor doc fixes - sphinx pygments theme isn't usable in dark mode - misc other fixes --- doc/Makefile | 2 +- doc/conf.py | 2 +- doc/ref_call.rst | 2 +- loopy/kernel/function_interface.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/Makefile b/doc/Makefile index e0cde0808..50b46b24a 100644 --- a/doc/Makefile +++ b/doc/Makefile @@ -3,7 +3,7 @@ # You can set these variables from the command line. SPHINXOPTS = -SPHINXBUILD = python ` which sphinx-build` +SPHINXBUILD = python `which sphinx-build` PAPER = BUILDDIR = _build diff --git a/doc/conf.py b/doc/conf.py index 3d6dba8d9..8c1a9e0d8 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -77,7 +77,7 @@ exclude_patterns = ["_build"] #show_authors = False # The name of the Pygments (syntax highlighting) style to use. -pygments_style = "sphinx" +# pygments_style = "sphinx" # A list of ignored prefixes for module index sorting. #modindex_common_prefix = [] diff --git a/doc/ref_call.rst b/doc/ref_call.rst index 2a48ecca0..347ae6b9c 100644 --- a/doc/ref_call.rst +++ b/doc/ref_call.rst @@ -12,7 +12,7 @@ Resolving and specialization In :mod:`loopy`, a :class:`loopy.TranslationUnit` is a collection of callables and entrypoints. Callables are of type -:class`:loopy.kernel.function_interface.InKernelCallable`. Functions start life +:class:`loopy.kernel.function_interface.InKernelCallable`. Functions start life as simple :class:`pymbolic.primitives.Call` nodes. Call resolution turns the function identifiers in those calls into :class:`~loopy.symbolic.ResolvedFunction` objects. Each resolved function has an entry in :attr:`TranslationUnit.callables_table`. diff --git a/loopy/kernel/function_interface.py b/loopy/kernel/function_interface.py index 4ebbf3dbc..a617a4502 100644 --- a/loopy/kernel/function_interface.py +++ b/loopy/kernel/function_interface.py @@ -65,7 +65,7 @@ class ArrayArgDescriptor(ImmutableRecord): :meth:`InKernelCallable.with_descrs`, used for matching shape and address space of caller and callee kernels. - ..attribute:: shape + .. attribute:: shape Shape of the array. -- GitLab