From c066a6873ea34b9e63c5f8483d1c19cfd588e6ff Mon Sep 17 00:00:00 2001
From: Deepak Khatri <lorforlinux@beagleboard.org>
Date: Mon, 15 Jan 2024 13:32:39 +0530
Subject: [PATCH] Add cross-references (links) to tabs

This doesn't work with current version of sphinx-tabs but may get support in future.
---
 boards/beaglebone/ai/02-quick-start.rst | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/boards/beaglebone/ai/02-quick-start.rst b/boards/beaglebone/ai/02-quick-start.rst
index 1e587cea..e37fc6b4 100644
--- a/boards/beaglebone/ai/02-quick-start.rst
+++ b/boards/beaglebone/ai/02-quick-start.rst
@@ -60,12 +60,14 @@ dependent on the software image presently on your BeagleBone® AI. When
 all else fails, follow the instructions at
 https://old.beagleboard.org/upgrade
 
--  Tethered to a PC via USB C cable
--  Standalone Desktop with powered USB hub, display, keyboard and mouse
--  Wireless Connection to BeagleBone® AI
+-  :ref:`Tethered to a PC via USB C cable <bbai-tethered>`
+-  :ref:`Standalone Desktop with powered USB hub, display, keyboard and mouse <bbai-standalone>`
+-  :ref:`Wireless Connection to BeagleBone® AI <bbai-wireless>`
 
 .. tabs:: 
 
+    .. _bbai-tethered:
+
     .. group-tab:: Tethered
 
       **Tethered to a PC**
@@ -135,6 +137,8 @@ https://old.beagleboard.org/upgrade
 
       9.  Go to Visual Studio Code IDE.
 
+    .. _bbai-standalone:
+    
     .. group-tab:: Standalone
 
       **Standalone w/Display and Keyboard/Mouse**
@@ -158,6 +162,8 @@ https://old.beagleboard.org/upgrade
       6. Depending on which software image is loaded, either a Desktop or a login shell will appear on the monitor.
       7. Follow the instructions at https://beagleboard.org/upgrade
 
+    .. _bbai-wireless:
+
     .. group-tab:: Wireless
 
       **Wireless Connection**
-- 
GitLab