From 496664aff74552463a2e829db5f448e6a46f6c42 Mon Sep 17 00:00:00 2001
From: ocelot-inc <pgulutzan@ocelot.ca>
Date: Mon, 6 Jun 2016 17:00:32 -0600
Subject: [PATCH] Checking links, as far as box.tuple

---
 doc/sphinx/book/administration.rst |  2 +-
 doc/sphinx/book/box/box_index.rst  |  2 ++
 doc/sphinx/book/box/box_space.rst  | 10 +++++-----
 doc/sphinx/book/box/index.rst      |  6 +++---
 4 files changed, 11 insertions(+), 9 deletions(-)

diff --git a/doc/sphinx/book/administration.rst b/doc/sphinx/book/administration.rst
index f6417baf88..67bab6bac1 100644
--- a/doc/sphinx/book/administration.rst
+++ b/doc/sphinx/book/administration.rst
@@ -261,7 +261,7 @@ and checking status.
 in the current directory (:codenormal:`$PWD/.tarantoolctl`).
 If that fails, it looks in the current user's home directory (:codenormal:`$HOME/.config/tarantool/tarantool`).
 If that fails, it looks in the SYSCONFDIR directory (usually :codenormal:`/etc/sysconfig/tarantool`
-but it may be different on some platforms)."
+but it may be different on some platforms).
 Most
 of the settings are similar to the settings used by ``box.cfg{...};``
 however, tarantoolctl adjusts some of them by adding an application name.
diff --git a/doc/sphinx/book/box/box_index.rst b/doc/sphinx/book/box/box_index.rst
index d010e05f88..8a695caa39 100644
--- a/doc/sphinx/book/box/box_index.rst
+++ b/doc/sphinx/book/box/box_index.rst
@@ -1,3 +1,5 @@
+.. _box_index:
+
 -------------------------------------------------------------------------------
                             Package `box.index`
 -------------------------------------------------------------------------------
diff --git a/doc/sphinx/book/box/box_space.rst b/doc/sphinx/book/box/box_space.rst
index b972afa96a..9dc2b7df86 100644
--- a/doc/sphinx/book/box/box_space.rst
+++ b/doc/sphinx/book/box/box_space.rst
@@ -63,13 +63,13 @@ A list of all ``box.space`` functions follows, then comes a list of all
         | :func:`space_object:truncate()       | Delete all tuples               |
         | <space_object.truncate>`             |                                 |
         +--------------------------------------+---------------------------------+
-        | :func:`space_object:inc{}            | Increment a tuple's counter     |
+        | :func:`space_object:inc()            | Increment a tuple's counter     |
         | <space_object.inc>`                  |                                 |
         +--------------------------------------+---------------------------------+
-        | :func:`space_object:dec{}            | Decrement a tuple's counter     |
+        | :func:`space_object:dec()            | Decrement a tuple's counter     |
         | <space_object.dec>`                  |                                 |
         +--------------------------------------+---------------------------------+
-        | :func:`space_object:auto_increment{} | Generate key + Insert a tuple   |
+        | :func:`space_object:auto_increment() | Generate key + Insert a tuple   |
         | <space_object.auto_increment>`       |                                 |
         +--------------------------------------+---------------------------------+
         | :func:`space_object:pairs()          | Prepare for iterating           |
@@ -666,8 +666,8 @@ A list of all ``box.space`` functions follows, then comes a list of all
 
     .. data:: index
 
-        A container for all defined indexes. An index is a Lua object of type
-        :mod:`box.index` with methods to search tuples and iterate over them in
+        A container for all defined indexes. There is a Lua object of type
+        :ref:`box.index <box_index>` with methods to search tuples and iterate over them in
         predefined order.
 
         Parameters: :samp:`{space_object}` = an :ref:`object reference <object-reference>`.
diff --git a/doc/sphinx/book/box/index.rst b/doc/sphinx/book/box/index.rst
index 2c2419c1f6..431d45f521 100644
--- a/doc/sphinx/book/box/index.rst
+++ b/doc/sphinx/book/box/index.rst
@@ -360,7 +360,7 @@ is lost when the power goes off, Tarantool recovers it automatically
 when it starts up again, by reading the WAL files and redoing the requests
 (this is called the "recovery process").
 Users can change the timing of the WAL writer,
-or turn it off, by setting :confval:`wal_mode <wal_mode>`.
+or turn it off, by setting :ref:`wal_mode <confval-wal-mode>`.
 
 Tarantool also maintains a set of snapshot files.
 A snapshot file is an on-disk copy of the entire data set for a given moment.
@@ -625,8 +625,8 @@ introspection (inspecting contents of spaces, accessing server configuration).
     |                   | important than the others.                          |
     +-------------------+-----------------------------------------------------+
     | WAL settings      | The important setting for the write-ahead log is    |
-    |                   | :ref:`wal_mode <wal_mode>`. If the setting causes   |
-    |                   | no writing or                                       |
+    |                   | :ref:`wal_mode <confval-wal-mode>`. If the setting  |
+    |                   | causes no writing or                                |
     |                   | delayed writing, this factor is unimportant. If the |
     |                   | setting causes every data-change request to wait    |
     |                   | for writing to finish on a slow device, this factor |
-- 
GitLab