From e652f9ac00714830ae88144c7762300d4bddbbc4 Mon Sep 17 00:00:00 2001
From: Andreas Kloeckner <inform@tiker.net>
Date: Tue, 22 Mar 2016 09:25:15 -0500
Subject: [PATCH] Doc reference fixes

---
 doc/ref_kernel.rst       | 2 +-
 doc/tutorial.rst         | 2 +-
 loopy/transform/iname.py | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/ref_kernel.rst b/doc/ref_kernel.rst
index 2d878dc6b..253ccef3c 100644
--- a/doc/ref_kernel.rst
+++ b/doc/ref_kernel.rst
@@ -26,7 +26,7 @@ in strides) are also allowed. In the absence of divisibility
 constraints, the loop domain is convex.
 
 Note that *n* in the example is not an iname. It is a
-:ref:`domain-parameter` that is passed to the kernel by the user.
+:ref:`domain-parameters` that is passed to the kernel by the user.
 
 To accommodate some data-dependent control flow, there is not actually
 a single loop domain, but rather a *tree of loop domains*,
diff --git a/doc/tutorial.rst b/doc/tutorial.rst
index 1bf9e39a7..bc8912527 100644
--- a/doc/tutorial.rst
+++ b/doc/tutorial.rst
@@ -604,7 +604,7 @@ Implementing Loop Axes ("Inames")
 .. {{{
 
 So far, all the loops we have seen loopy implement were ``for`` loops. Each
-iname in loopy carries a so-called 'implementation tag'.  :ref:`tags` shows
+iname in loopy carries a so-called 'implementation tag'.  :ref:`iname-tags` shows
 all possible choices for iname implementation tags. The important ones are
 explained below.
 
diff --git a/loopy/transform/iname.py b/loopy/transform/iname.py
index c317f2a4f..4b575d2e3 100644
--- a/loopy/transform/iname.py
+++ b/loopy/transform/iname.py
@@ -296,9 +296,9 @@ def split_iname(kernel, split_iname, inner_length,
         A tuple ``(head_it_count, tail_it_count)`` indicating the
         number of leading/trailing iterations of *outer_iname*
         for which separate code should be generated.
-    :arg outer_tag: The iname tag (see :ref:`iname-tag`) to apply to
+    :arg outer_tag: The iname tag (see :ref:`iname-tags`) to apply to
         *outer_iname*.
-    :arg inner_tag: The iname tag (see :ref:`iname-tag`) to apply to
+    :arg inner_tag: The iname tag (see :ref:`iname-tags`) to apply to
         *inner_iname*.
     :arg within: a stack match as understood by
         :func:`loopy.context_matching.parse_stack_match`.
-- 
GitLab