From 4067dc41aaee1751d3022dd8b959a6ab56298728 Mon Sep 17 00:00:00 2001
From: Deepak Khatri <lorforlinux@beagleboard.org>
Date: Tue, 30 May 2023 01:28:28 +0530
Subject: [PATCH] Add BeagleV Ahead chapters

---
 boards/beaglev/ahead/01-introduction.rst      |   4 +
 boards/beaglev/ahead/02-quick-start.rst       |   7 ++
 boards/beaglev/ahead/03-design.rst            |   4 +
 .../{connectros.rst => 04-expansion.rst}      |   5 +
 boards/beaglev/ahead/05-demos.rst             |   4 +
 boards/beaglev/ahead/06-support.rst           |   4 +
 boards/beaglev/ahead/getting-started.rst      |   7 --
 boards/beaglev/ahead/index.rst                | 115 +++++++++++++++++-
 8 files changed, 140 insertions(+), 10 deletions(-)
 create mode 100644 boards/beaglev/ahead/01-introduction.rst
 create mode 100644 boards/beaglev/ahead/02-quick-start.rst
 create mode 100644 boards/beaglev/ahead/03-design.rst
 rename boards/beaglev/ahead/{connectros.rst => 04-expansion.rst} (99%)
 create mode 100644 boards/beaglev/ahead/05-demos.rst
 create mode 100644 boards/beaglev/ahead/06-support.rst
 delete mode 100644 boards/beaglev/ahead/getting-started.rst

diff --git a/boards/beaglev/ahead/01-introduction.rst b/boards/beaglev/ahead/01-introduction.rst
new file mode 100644
index 00000000..03c11708
--- /dev/null
+++ b/boards/beaglev/ahead/01-introduction.rst
@@ -0,0 +1,4 @@
+.. _beaglev-ahead-introduction:
+
+Introduction
+#############
\ No newline at end of file
diff --git a/boards/beaglev/ahead/02-quick-start.rst b/boards/beaglev/ahead/02-quick-start.rst
new file mode 100644
index 00000000..81f27d4c
--- /dev/null
+++ b/boards/beaglev/ahead/02-quick-start.rst
@@ -0,0 +1,7 @@
+.. _beaglev-ahead-quick-start:
+
+Quick Start
+################
+
+1. Connect peripherals
+2. Power the board
diff --git a/boards/beaglev/ahead/03-design.rst b/boards/beaglev/ahead/03-design.rst
new file mode 100644
index 00000000..25268372
--- /dev/null
+++ b/boards/beaglev/ahead/03-design.rst
@@ -0,0 +1,4 @@
+.. _beaglev-ahead-design:
+
+Design
+######
\ No newline at end of file
diff --git a/boards/beaglev/ahead/connectros.rst b/boards/beaglev/ahead/04-expansion.rst
similarity index 99%
rename from boards/beaglev/ahead/connectros.rst
rename to boards/beaglev/ahead/04-expansion.rst
index f0d6502a..82da10bc 100644
--- a/boards/beaglev/ahead/connectros.rst
+++ b/boards/beaglev/ahead/04-expansion.rst
@@ -1,3 +1,8 @@
+.. _beaglev-ahead-expansion:
+
+Expansion
+#########
+
 .. _beaglev-ahead-connectors:
 
 Connectors
diff --git a/boards/beaglev/ahead/05-demos.rst b/boards/beaglev/ahead/05-demos.rst
new file mode 100644
index 00000000..11d03641
--- /dev/null
+++ b/boards/beaglev/ahead/05-demos.rst
@@ -0,0 +1,4 @@
+.. _beaglev-ahead-demos:
+
+Demos
+#####
\ No newline at end of file
diff --git a/boards/beaglev/ahead/06-support.rst b/boards/beaglev/ahead/06-support.rst
new file mode 100644
index 00000000..f91c64f1
--- /dev/null
+++ b/boards/beaglev/ahead/06-support.rst
@@ -0,0 +1,4 @@
+.. _beaglev-ahead-support:
+
+Support
+#######
\ No newline at end of file
diff --git a/boards/beaglev/ahead/getting-started.rst b/boards/beaglev/ahead/getting-started.rst
deleted file mode 100644
index f7ba551c..00000000
--- a/boards/beaglev/ahead/getting-started.rst
+++ /dev/null
@@ -1,7 +0,0 @@
-.. _beaglev-ahead-getting-started:
-
-Getting Started
-###################
-
-1. Connect peripherals
-2. Power the board
diff --git a/boards/beaglev/ahead/index.rst b/boards/beaglev/ahead/index.rst
index 9232dc87..6533b6c1 100644
--- a/boards/beaglev/ahead/index.rst
+++ b/boards/beaglev/ahead/index.rst
@@ -3,7 +3,9 @@
 BeagleV-Ahead
 ###################
 
-BeagleV-Ahead is awesome!
+.. important::
+    This is a work in progress, for latest documentation please 
+    visit https://docs.beagleboard.org/latest/
 
 .. admonition:: Contributors
 
@@ -16,9 +18,116 @@ BeagleV-Ahead is awesome!
     Use of either the boards or the design materials constitutes agreement to the T&C including any 
     modifications done to the hardware or software solutions provided by beagleboard.org foundation.
 
+.. only:: html
+
+  .. grid:: 1 1 2 3
+    :margin: 4 4 0 0
+    :gutter: 4
+
+    .. grid-item-card::
+        :link: beaglev-ahead-introduction
+        :link-type: ref
+
+        **1. Introduction**
+        ^^^
+
+        .. image:: media/chapter-thumbnails/01-introduction.*
+            :align: center
+            :alt: BeagleV Ahead Chapter01 thumbnail
+        
+        +++
+
+        Introduction to BeagleV Ahead board with information on each component 
+        location on both front and back of the board.
+
+    .. grid-item-card:: 
+        :link: beaglev-ahead-quick-start
+        :link-type: ref
+
+        **2. Quick start**
+        ^^^
+
+        .. image:: media/chapter-thumbnails/02-quick-start.*
+            :align: center
+            :alt: BeagleV Ahead Chapter02 thumbnail
+
+        +++
+
+        Getting started guide to enable you to start building your projects 
+        in no time.
+
+    .. grid-item-card:: 
+        :link: beaglev-ahead-design
+        :link-type: ref
+
+        **3. Design & Specifications**
+        ^^^
+
+        .. image:: media/chapter-thumbnails/03-design-and-specifications.*
+            :align: center
+            :alt: BeagleV Ahead Chapter03 thumbnail
+
+        +++
+
+        Hardware and mechanical design and specifications of the BeagleV Ahead board 
+        for those who want to know their board inside and out.
+
+    .. grid-item-card:: 
+        :link: beaglev-ahead-expansion
+        :link-type: ref
+
+        **4. Expansion**
+        ^^^
+
+        .. image:: media/chapter-thumbnails/04-connectors-and-pinouts.*
+            :align: center
+            :alt: BeagleV Ahead Chapter04 thumbnail
+
+        +++
+
+        Connector pinout diagrams with expansion details so that you can 
+        easily debug your connections and create custom expansion hardware.
+        
+    .. grid-item-card:: 
+        :link: beaglev-ahead-demos
+        :link-type: ref
+
+        **5. Demos**
+        ^^^
+
+        .. image:: media/chapter-thumbnails/05-demos-and-tutorials.*
+            :align: center
+            :alt: BeagleV Ahead Chapter5 thumbnail
+
+        +++
+
+        Demos and tutorials to quickly learn about the BeagleV Ahead capabilities.
+
+    .. grid-item-card:: 
+        :link: beaglev-ahead-support
+        :link-type: ref
+
+        **6. Support**
+        ^^^
+
+        .. image:: media/chapter-thumbnails/06-support-documents.*
+            :align: center
+            :alt: BeagleV Ahead Chapter6 thumbnail
+
+        +++
+
+        Additional supporting information, images, documents, change history and
+        hardware & software repositories including issue trackers.
+
+
 .. toctree::
    :maxdepth: 1
+   :hidden:
 
-   /boards/beaglev/ahead/getting-started.rst
-   /boards/beaglev/ahead/connectros.rst
+   01-introduction
+   02-quick-start
+   03-design
+   04-expansion
+   05-demos
+   06-support
 
-- 
GitLab