diff mbox series

[10/16] security-manual: state the language of the blocks that are not BitBake

Message ID 20261201152251.2742634-11-twoerner@gmail.com
State New
Headers show
Series docs: highlight code blocks as BitBake by default | expand

Commit Message

Trevor Woerner Dec. 1, 2026, 3:22 p.m. UTC
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/security-manual/vulnerabilities.rst | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/documentation/security-manual/vulnerabilities.rst b/documentation/security-manual/vulnerabilities.rst
index 38fbd2c7e358..8525464b90a5 100644
--- a/documentation/security-manual/vulnerabilities.rst
+++ b/documentation/security-manual/vulnerabilities.rst
@@ -224,7 +224,9 @@  Modify the patch adding OE-related metadata. We will follow the example of the
 ``CVE-2022-3341.patch``.
 
 The original `commit message <https://github.com/FFmpeg/FFmpeg/commit/9cf652cef49d74afe3d454f27d49eb1a1394951e.patch/>`__
-is::
+is:
+
+.. code-block:: diff
 
    From 9cf652cef49d74afe3d454f27d49eb1a1394951e Mon Sep 17 00:00:00 2001
    From: Jiasheng Jiang <jiasheng@iscas.ac.cn>
@@ -242,7 +244,9 @@  is::
 
 For the correct operations of :ref:`ref-classes-sbom-cve-check`, it requires the CVE
 identification in a ``CVE:`` tag of the patch file commit message using
-the format::
+the format:
+
+.. code-block:: text
 
    CVE: CVE-2022-3341
 
@@ -251,7 +255,9 @@  to the original patch and sign-off by people working on the backport.
 If there are any modifications to the original patch, note them in
 the ``Comments:`` tag.
 
-With the additional information, the header of the patch file in OE-core becomes::
+With the additional information, the header of the patch file in OE-core becomes:
+
+.. code-block:: diff
 
    From 9cf652cef49d74afe3d454f27d49eb1a1394951e Mon Sep 17 00:00:00 2001
    From: Jiasheng Jiang <jiasheng@iscas.ac.cn>