All of lore.kernel.org
 help / color / mirror / Atom feed
From: Trevor Woerner <twoerner@gmail.com>
To: docs@lists.yoctoproject.org
Subject: [PATCH 02/16] bsp-manual: state the language of the blocks that are not BitBake
Date: Tue,  1 Dec 2026 10:22:35 -0500	[thread overview]
Message-ID: <20261201152251.2742634-3-twoerner@gmail.com> (raw)
In-Reply-To: <20261201152251.2742634-1-twoerner@gmail.com>

The manuals are moving to a default of bitbake for code blocks, so a
BitBake block needs no language and every other block needs one. This
gives the blocks in this manual that are not BitBake their language.

AI-Generated: codex/claude-opus 5.5 (xhigh)
Signed-off-by: Trevor Woerner <twoerner@gmail.com>
---
 documentation/bsp-manual/bsp.rst | 80 ++++++++++++++++++++++++--------
 1 file changed, 60 insertions(+), 20 deletions(-)

diff --git a/documentation/bsp-manual/bsp.rst b/documentation/bsp-manual/bsp.rst
index 9d9e19f3deb1..9a4781b9947d 100644
--- a/documentation/bsp-manual/bsp.rst
+++ b/documentation/bsp-manual/bsp.rst
@@ -26,7 +26,9 @@ A BSP consists of a file structure inside a base directory.
 Collectively, you can think of the base directory, its file structure,
 and the contents as a BSP layer. Although not a strict requirement, BSP
 layers in the Yocto Project use the following well-established naming
-convention::
+convention:
+
+.. code-block:: text
 
    meta-bsp_root_name
 
@@ -58,7 +60,9 @@ Each repository is a BSP layer supported by the Yocto Project (e.g.
 ``meta-raspberrypi`` and ``meta-intel``). Each of these layers is a
 repository unto itself and clicking on the layer name displays two URLs
 from which you can clone the layer's repository to your local system.
-Here is an example that clones the Raspberry Pi BSP layer::
+Here is an example that clones the Raspberry Pi BSP layer:
+
+.. code-block:: console
 
    $ git clone https://git.yoctoproject.org/meta-raspberrypi
 
@@ -175,7 +179,9 @@ section.
    #. *Navigate to Your Source Directory:* Typically, you set up the
       ``meta-intel`` Git repository next to the other layers in your build.
 
-   #. *Clone the Layer:* ::
+   #. *Clone the Layer:*
+
+      .. code-block:: console
 
          $ git clone https://git.yoctoproject.org/meta-intel.git
          Cloning into 'meta-intel'...
@@ -188,7 +194,9 @@ section.
 
    #. *Check Out the Proper Branch:* The branch you check out for
       ``meta-intel`` must match the same branch you are using for the
-      Yocto Project release (e.g. ``&DISTRO_NAME_NO_CAP;``)::
+      Yocto Project release (e.g. ``&DISTRO_NAME_NO_CAP;``):
+
+      .. code-block:: console
 
          $ cd meta-intel
          $ git checkout -b &DISTRO_NAME_NO_CAP; remotes/origin/&DISTRO_NAME_NO_CAP;
@@ -208,7 +216,9 @@ section.
    The process is identical to the process used for the ``meta-intel``
    layer except for the layer's name. For example, if you determine that
    your hardware most closely matches the ``meta-raspberrypi``, clone
-   that layer::
+   that layer:
+
+   .. code-block:: console
 
       $ git clone https://git.yoctoproject.org/meta-raspberrypi
       Cloning into 'meta-raspberrypi'...
@@ -222,7 +232,9 @@ section.
 #. *Initialize the Build Environment:* While in the :term:`Source Directory`,
    run the :ref:`structure-core-script` environment setup
    script located in :term:`OpenEmbedded-Core (OE-Core)` to define the OpenEmbedded
-   build environment on your build host. ::
+   build environment on your build host.
+
+   .. code-block:: console
 
       $ source layers/openembedded-core/oe-init-build-env
 
@@ -269,7 +281,9 @@ Project. For that list of requirements, see the
 
 Below is the typical directory structure for a BSP layer. While this
 basic form represents the standard, realize that the actual layout for
-individual BSPs could differ. ::
+individual BSPs could differ.
+
+.. code-block:: text
 
    meta-bsp_root_name/
    meta-bsp_root_name/bsp_license_file
@@ -447,7 +461,9 @@ The following sections describe each part of the proposed BSP format.
 License Files
 -------------
 
-You can find these files in the BSP Layer at::
+You can find these files in the BSP Layer at:
+
+.. code-block:: text
 
    meta-bsp_root_name/bsp_license_file
 
@@ -465,7 +481,9 @@ section in the Yocto Project Development Tasks Manual.
 README File
 -----------
 
-You can find this file in the BSP Layer at::
+You can find this file in the BSP Layer at:
+
+.. code-block:: text
 
    meta-bsp_root_name/README
 
@@ -480,7 +498,9 @@ name of the BSP maintainer with his or her contact information.
 README.sources File
 -------------------
 
-You can find this file in the BSP Layer at::
+You can find this file in the BSP Layer at:
+
+.. code-block:: text
 
    meta-bsp_root_name/README.sources
 
@@ -499,7 +519,9 @@ used to generate the images that ship with the BSP.
 Pre-built User Binaries
 -----------------------
 
-You can find these files in the BSP Layer at::
+You can find these files in the BSP Layer at:
+
+.. code-block:: text
 
    meta-bsp_root_name/binary/bootable_images
 
@@ -522,7 +544,9 @@ information on the Metadata.
 Layer Configuration File
 ------------------------
 
-You can find this file in the BSP Layer at::
+You can find this file in the BSP Layer at:
+
+.. code-block:: text
 
    meta-bsp_root_name/conf/layer.conf
 
@@ -570,7 +594,9 @@ recognize the BSP.
 Hardware Configuration Options
 ------------------------------
 
-You can find these files in the BSP Layer at::
+You can find these files in the BSP Layer at:
+
+.. code-block:: text
 
    meta-bsp_root_name/conf/machine/*.conf
 
@@ -608,7 +634,9 @@ configuration file. For example, the Raspberry Pi BSP
 Miscellaneous BSP-Specific Recipe Files
 ---------------------------------------
 
-You can find these files in the BSP Layer at::
+You can find these files in the BSP Layer at:
+
+.. code-block:: text
 
    meta-bsp_root_name/recipes-bsp/*
 
@@ -618,7 +646,9 @@ Raspberry Pi BSP, there is the ``formfactor_%.bbappend`` file, which
 is an append file used to augment the recipe that starts the build.
 Furthermore, there are machine-specific settings used during the build
 that are defined by the ``machconfig`` file further down in the
-directory. Here is the ``machconfig`` file for the Raspberry Pi BSP::
+directory. Here is the ``machconfig`` file for the Raspberry Pi BSP:
+
+.. code-block:: shell
 
    HAVE_TOUCHSCREEN=0
    HAVE_KEYBOARD=1
@@ -638,7 +668,9 @@ directory. Here is the ``machconfig`` file for the Raspberry Pi BSP::
 Display Support Files
 ---------------------
 
-You can find these files in the BSP Layer at::
+You can find these files in the BSP Layer at:
+
+.. code-block:: text
 
    meta-bsp_root_name/recipes-graphics/*
 
@@ -649,7 +681,9 @@ to support a display are kept here.
 Linux Kernel Configuration
 --------------------------
 
-You can find these files in the BSP Layer at::
+You can find these files in the BSP Layer at:
+
+.. code-block:: text
 
    meta-bsp_root_name/recipes-kernel/linux/linux*.bbappend
    meta-bsp_root_name/recipes-kernel/linux/*.bb
@@ -693,7 +727,9 @@ in the Yocto Project Linux Kernel Development Manual.
 An alternate scenario is when you create your own kernel recipe for the
 BSP. A good example of this is the Raspberry Pi BSP. If you examine the
 ``recipes-kernel/linux`` directory in that layer you see the following
-Raspberry Pi-specific recipes and associated files::
+Raspberry Pi-specific recipes and associated files:
+
+.. code-block:: text
 
    files/
    linux-raspberrypi_6.12.bb
@@ -1033,14 +1069,18 @@ also supports several other machines:
    directory.
 
 #. Create and place the new ``interfaces`` configuration file in the
-   BSP's layer here::
+   BSP's layer here:
+
+   .. code-block:: text
 
       meta-xyz/recipes-core/init-ifupdown/files/xyz-machine-one/interfaces
 
    .. note::
 
       If the ``meta-xyz`` layer did not support multiple machines, you would place
-      the interfaces configuration file in the layer here::
+      the interfaces configuration file in the layer here:
+
+      .. code-block:: text
 
          meta-xyz/recipes-core/init-ifupdown/files/interfaces
 
-- 
2.50.0.173.g8b6f19ccfc3a


  parent reply	other threads:[~2026-12-01 15:23 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-01 15:22 [PATCH 00/16] docs: highlight code blocks as BitBake by default Trevor Woerner
2026-12-01 15:22 ` [PATCH 01/16] brief-yoctoprojectqs: state the language of the blocks that are not BitBake Trevor Woerner
2026-12-01 15:22 ` Trevor Woerner [this message]
2026-12-01 15:22 ` [PATCH 03/16] contributor-guide: " Trevor Woerner
2026-12-01 15:22 ` [PATCH 04/16] dev-manual: " Trevor Woerner
2026-12-01 15:22 ` [PATCH 05/16] kernel-dev: " Trevor Woerner
2026-12-01 15:22 ` [PATCH 06/16] migration-guides: " Trevor Woerner
2026-12-01 15:22 ` [PATCH 07/16] overview-manual: " Trevor Woerner
2026-12-01 15:22 ` [PATCH 08/16] profile-manual: " Trevor Woerner
2026-12-01 15:22 ` [PATCH 09/16] ref-manual: " Trevor Woerner
2026-12-01 15:22 ` [PATCH 10/16] security-manual: " Trevor Woerner
2026-12-01 15:22 ` [PATCH 11/16] test-manual: " Trevor Woerner
2026-12-01 15:22 ` [PATCH 12/16] toaster-manual: " Trevor Woerner
2026-12-01 15:22 ` [PATCH 13/16] docs: show the examples the BitBake lexer misreads as text Trevor Woerner
2026-12-01 15:22 ` [PATCH 14/16] docs: drop the file-wide highlight directives Trevor Woerner
2026-12-01 15:22 ` [PATCH 15/16] conf.py: default the highlight language to bitbake Trevor Woerner
2026-12-01 15:22 ` [PATCH 16/16] standards: describe how a code block states its language Trevor Woerner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261201152251.2742634-3-twoerner@gmail.com \
    --to=twoerner@gmail.com \
    --cc=docs@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.