From d251721be97245542992aa0bbfe0cda43ef7f8be Mon Sep 17 00:00:00 2001
From: Jan David Mol <mol@astron.nl>
Date: Thu, 7 Oct 2021 19:54:26 +0200
Subject: [PATCH] L2SS-434: Add cross reference to rest API

---
 docs/source/control.rst           | 2 ++
 docs/source/remote_interfaces.rst | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/docs/source/control.rst b/docs/source/control.rst
index c9500c3c1..fd76042df 100644
--- a/docs/source/control.rst
+++ b/docs/source/control.rst
@@ -61,6 +61,8 @@ To obtain a list of all devices, we need to access the database::
   # Print the device's state.
   print(any_device.state())
 
+.. _rest-api:
+
 ReST API
 ------------------------
 
diff --git a/docs/source/remote_interfaces.rst b/docs/source/remote_interfaces.rst
index 8dea68f92..452708cf0 100644
--- a/docs/source/remote_interfaces.rst
+++ b/docs/source/remote_interfaces.rst
@@ -22,7 +22,7 @@ Futhermore, there are some low-level interfaces:
 +---------------------+--------------+----------------------+-------------------+
 |Timeseries Database  |Prometheus    |http://localhost:9090 |                   |
 +---------------------+--------------+----------------------+-------------------+
-|ReST API             |tango-rest    |http://localhost:8080 |tango-cs/tango     |
+| :ref:`rest-api`     |tango-rest    |http://localhost:8080 |tango-cs/tango     |
 +---------------------+--------------+----------------------+-------------------+
 |Tango Database       |MariaDB       |http://localhost:3306 |tango/tango        |
 +---------------------+--------------+----------------------+-------------------+
-- 
GitLab