From 30f3f2fddb03a9d49fc79730e9f6d07ecf0b96b6 Mon Sep 17 00:00:00 2001
From: Jason Kridner <jkridner@beagleboard.org>
Date: Wed, 31 Aug 2022 16:39:36 -0400
Subject: [PATCH] link to bone101/qwiic

---
 .gitlab-ci.yml                              |  5 ++++-
 index.rst                                   |  1 +
 intro/bone101/index.rst                     | 11 ++++++-----
 intro/bone101/qwiic-stemma-grove-addons.rst |  7 +++++--
 4 files changed, 16 insertions(+), 8 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e81eabb9..a81067aa 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,6 +6,7 @@ on_latest:
   - sphinx-build -M latexpdf . public/latest/
   - mv public/latest/latex/beagleboard-docs.pdf public/latest/
   - echo "/ /latest/ 302" > public/_redirects
+  - rm -rf public/latest/latex
   artifacts:
     name: "latest"
     paths:
@@ -18,6 +19,7 @@ on_branch:
   - sphinx-build -b html . public/$CI_COMMIT_BRANCH/
   - sphinx-build -M latexpdf . public/$CI_COMMIT_BRANCH/
   - mv public/$CI_COMMIT_BRANCH/latex/beagleboard-docs.pdf public/$CI_COMMIT_BRANCH/
+  - rm -rf public/$CI_COMMIT_BRANCH/latex
   artifacts:
     name: "$CI_COMMIT_BRANCH"
     paths:
@@ -31,7 +33,8 @@ on_tag:
   - sphinx-build -b html . public/$GIT_BRANCH/
   - sphinx-build -M latexpdf . public/$GIT_BRANCH/
   - mv public/$GIT_BRANCH/latex/beagleboard-docs.pdf public/$GIT_BRANCH/beagleboard-docs-$CI_COMMIT_TAG.pdf
-  - ln -s public/latex/beagleboard-docs-$CI_COMMIT_TAG.pdf public/$GIT_BRANCH/beagleboard-docs.pdf
+  - ln -s public/$GIT_BRANCH/latex/beagleboard-docs-$CI_COMMIT_TAG.pdf public/$GIT_BRANCH/beagleboard-docs.pdf
+  - rm -rf public/$GIT_BRANCH/latex
   artifacts:
     name: "$GIT_BRANCH"
     paths:
diff --git a/index.rst b/index.rst
index 783f87c0..92aa5513 100644
--- a/index.rst
+++ b/index.rst
@@ -28,6 +28,7 @@ Get started by `engaging the BealgeBoard.org developer community </intro/>`__.
    :caption: Introduction
 
    /intro/support/index
+   /intro/bone101/index
    /intro/contribution/index
 
 
diff --git a/intro/bone101/index.rst b/intro/bone101/index.rst
index bd1bab0b..01c69124 100644
--- a/intro/bone101/index.rst
+++ b/intro/bone101/index.rst
@@ -10,18 +10,19 @@ I don't want to completely lose the useful documentation we had at:
 
 * https://beagleboard.github.io/bone101/Support/bone101/
 
-Most of the useful information has moved to :ref:`_bone-cook-book-home`, but this has been
-the place I've most brainstormed free-form about introducing people to BeagleBone.  For now,
-it can serve as a place to put some introductory information that is meant to be
+Most of the useful information has moved to :ref:`bone-cook-book-home` , but this has been
+the place I've most brainstormed free-form to make articles introducing people to BeagleBone.
+For now, it can serve as a place to put some introductory information that is meant to be
 from a bit of a different approach.
 
 Articles under construction:
 
-* `QWIIC, STEMMA, and Grove add-ons under Linux <quiic-stemma-grove-addons>`__
+* :ref:`qwiic_stemma_grove_addons`
+
 
 .. toctree::
    :maxdepth: 1
    :hidden:
 
-   qwiic-stemma-grove-addons.rst
+   /intro/bone101/qwiic-stemma-grove-addons.rst
 
diff --git a/intro/bone101/qwiic-stemma-grove-addons.rst b/intro/bone101/qwiic-stemma-grove-addons.rst
index 617e33bf..ac446b81 100644
--- a/intro/bone101/qwiic-stemma-grove-addons.rst
+++ b/intro/bone101/qwiic-stemma-grove-addons.rst
@@ -1,5 +1,8 @@
-QWIIC, STEMMA and Grove on Linux
-################################
+.. _qwiic_stemma_grove_addons:
+
+
+QWIIC, STEMMA and Grove Add-ons in Linux
+########################################
 
 .. note::
 
-- 
GitLab