From 74b3b8889716a0d09a1680023de261c396f06aa6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Grzegorz=20Gw=C3=B3=C5=BAd=C5=BA?=
 <grzegorz.gwozdz@huawei.com>
Date: Fri, 12 Aug 2022 13:54:24 +0200
Subject: [PATCH] docs: remove nitrogen and nrf from supported machines
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

We will not support those two machines in the future so that is why we remove them

Signed-off-by: Grzegorz Gwóźdź <grzegorz.gwozdz@huawei.com>
---
 docs/build-flavours/zephyr-flavour.rst               |  2 --
 docs/ci/machines-and-flavours.rst                    | 12 ------------
 docs/conf.py                                         |  2 +-
 .../boards/{ => archive}/96b-nitrogen.rst            |  0
 .../boards/{ => archive}/nRF52840-DK.rst             |  0
 docs/hardware-support/boards/index.rst               |  4 +---
 flavours/zephyr/conf-notes.txt                       |  2 --
 7 files changed, 2 insertions(+), 20 deletions(-)
 rename docs/hardware-support/boards/{ => archive}/96b-nitrogen.rst (100%)
 rename docs/hardware-support/boards/{ => archive}/nRF52840-DK.rst (100%)

diff --git a/docs/build-flavours/zephyr-flavour.rst b/docs/build-flavours/zephyr-flavour.rst
index b87e496a..c3025e4d 100644
--- a/docs/build-flavours/zephyr-flavour.rst
+++ b/docs/build-flavours/zephyr-flavour.rst
@@ -22,10 +22,8 @@ Supported machines (default in **bold**):
 
 * **qemu-x86**
 * qemu-cortex-m3
-* 96b-nitrogen (96Boards Nitrogen)
 * 96b-avenger96 (96Boards Avenger96)
 * arduino-nano-33-ble (Arduino Nano 33 BLE and Arduino Nano 33 BLE Sense)
-* nrf52840dk-nrf52840 (Nordic Semiconductor nRF 52840 Development Kit)
 
 Build steps example:
 
diff --git a/docs/ci/machines-and-flavours.rst b/docs/ci/machines-and-flavours.rst
index 982db7b0..831545ed 100644
--- a/docs/ci/machines-and-flavours.rst
+++ b/docs/ci/machines-and-flavours.rst
@@ -113,18 +113,6 @@ basic 32bit ARM micro-controller virtual machine.
 
 The cache for this job is publicly available.
 
-zephyr-96b-nitrogen
-...................
-
-This job extends `.build-zephyr` job from the manifest repository and builds
-``zephyr-philosophers`` using the Zephyr flavour of |main_project_name| and
-``MACHINE=96b-nitrogen``. This job checks that Zephyr can be built for the
-96Boards Nitrogen development board, which contains an nRF52832 SoC.
-
-.. note::
-    The cache for this job is not public, pending legal review of any firmware
-    that may be included.
-
 zephyr-96b-avenger
 ..................
 
diff --git a/docs/conf.py b/docs/conf.py
index 33ad467c..b90c284f 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -48,7 +48,7 @@ language = 'en'
 # List of patterns, relative to source directory, that match files and
 # directories to ignore when looking for source files.
 # This pattern also affects html_static_path and html_extra_path.
-exclude_patterns = []
+exclude_patterns = ['hardware-support/boards/archive/*']
 
 
 # -- Options for HTML output -------------------------------------------------
diff --git a/docs/hardware-support/boards/96b-nitrogen.rst b/docs/hardware-support/boards/archive/96b-nitrogen.rst
similarity index 100%
rename from docs/hardware-support/boards/96b-nitrogen.rst
rename to docs/hardware-support/boards/archive/96b-nitrogen.rst
diff --git a/docs/hardware-support/boards/nRF52840-DK.rst b/docs/hardware-support/boards/archive/nRF52840-DK.rst
similarity index 100%
rename from docs/hardware-support/boards/nRF52840-DK.rst
rename to docs/hardware-support/boards/archive/nRF52840-DK.rst
diff --git a/docs/hardware-support/boards/index.rst b/docs/hardware-support/boards/index.rst
index 44892294..1881b56b 100644
--- a/docs/hardware-support/boards/index.rst
+++ b/docs/hardware-support/boards/index.rst
@@ -14,10 +14,8 @@ This section details the boards supported as part of |main_project_name|.
 .. toctree::
    :maxdepth: 1
 
-   96b-nitrogen
    seco-intel-b68
    seco-imx8mm-c61
    seco-px30-d23
    raspberrypi4
-   arduino-nano-33-ble
-   nRF52840-DK
+   arduino-nano-33-ble
\ No newline at end of file
diff --git a/flavours/zephyr/conf-notes.txt b/flavours/zephyr/conf-notes.txt
index f50dba4c..30a77190 100644
--- a/flavours/zephyr/conf-notes.txt
+++ b/flavours/zephyr/conf-notes.txt
@@ -6,9 +6,7 @@ You can now run 'bitbake zephyr-philosophers'
 Supported machines (first is the default):
 - qemu-x86
 - qemu-cortex-m3
-- 96b-nitrogen (96Boards Nitrogen)
 - 96b-avenger96 (96Boards Avenger96)
-- nrf52840dk-nrf52840 (Nordic Semiconductor nRF 52840 Development Kit)
 - arduino-nano-33-ble (Arduino Nano 33 BLE and Arduino Nano 33 BLE Sense)
 
 MACHINE variable can be set up in conf/local.conf file under build directory
-- 
GitLab