| Message ID | 20261201152251.2742634-16-twoerner@gmail.com |
|---|---|
| State | New |
| Headers | show
Received: from mail-oa1-f41.google.com (mail-oa1-f41.google.com
[209.85.160.41])
by mx.groups.io with SMTP id smtpd.msgproc02-g2.13185.1796138609432397801
for <docs@lists.yoctoproject.org>;
Tue, 01 Dec 2026 07:23:29 -0800
Authentication-Results: mx.groups.io;
dkim=pass header.i=@gmail.com header.s=20260707 header.b=CPvFX18H;
spf=pass (domain: gmail.com, ip: 209.85.160.41, mailfrom: twoerner@gmail.com)
Received: by mail-oa1-f41.google.com with SMTP id
586e51a60fabf-4d02cee5554so1686384fac.3
for <docs@lists.yoctoproject.org>;
Tue, 01 Dec 2026 07:23:29 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20260707; t=1796138608; x=1796743408;
darn=lists.yoctoproject.org;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:to:from:from:to:cc:subject:date:message-id
:reply-to:content-type;
bh=Ud9GzEKq3OEtrwY7LBZAFfaOO0zfwlMhKAhj6O1Dxbg=;
b=CPvFX18HFfzm0sWNDxX7GE+5JoqLjAMn/FKj9D5Pk1KD/5G91W/WC++QHvq0yiQNL6
hVlW0fM9dm2N6CurR4CfOjNRDFK4PLbRFWAm+RyOmlSanSW0N8f8dw5Nki1EGyTWx8In
sHEzuHPOtBOwAtbHc6lsat6F2oLDhiIgWi8gqegwRYTz8+opwxkOAdw7GX58J/hjH8eb
DZmeutGXrWriv2a2U0KMpba5stVim2nNPl0PGf1dlZAv1gis+YP/7GQieZ9bdooUiqy8
8KsqmfMoF69y/7hY6JYIQKPmSESi2BzvwrNwNWkFiKJGS4RFy6yDX0VCiblR8Hx0kt82
siPg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1796138608; x=1796743408;
h=content-transfer-encoding:mime-version:references:in-reply-to
:message-id:date:subject:to:from:x-gm-gg:x-gm-message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hbrZjAgCMRuy0+3yk78lII6gNmaB2e87
GugT92M89U/gM3Le8RwikG/7AJAGh8dN3fmwQ/ADhFuB+dj0c1Vmme7CWfIpqfTZSH2R1/Us7Oj
Bys+M5OJose6G95xEJOEw1ITzlJiWnMzh+FeDQL887RR7WX5hbxp0Mu3xG/8vkeCdZhabd6Yz3T
/TXqKp8cCVgBekoSExo/TIj5DMFhB2KM=
X-Received: by 2002:a05:6808:1985:b0:56a:cf0b:a5fc with SMTP id
5614622812f47-57a0a9123d1mr40518396b6e.26.1796138608463;
Tue, 01 Dec 2026 07:23:28 -0800 (PST)
Return-Path: <twoerner@gmail.com>
Received: from localhost.localdomain (pppoe-209-91-167-254.vianet.ca.
[209.91.167.254])
by smtp.gmail.com with ESMTPSA id
5614622812f47-57a31929223sm27818249b6e.1.2026.12.01.07.23.27
for <docs@lists.yoctoproject.org>
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Tue, 01 Dec 2026 07:23:27 -0800 (PST)
From: Trevor Woerner <twoerner@gmail.com>
To: docs@lists.yoctoproject.org
Subject: [PATCH 15/16] conf.py: default the highlight language to bitbake
Date: Tue, 1 Dec 2026 10:22:48 -0500
Message-ID: <20261201152251.2742634-16-twoerner@gmail.com>
X-Mailer: git-send-email 2.51.0
In-Reply-To: <20261201152251.2742634-1-twoerner@gmail.com>
References: <20261201152251.2742634-1-twoerner@gmail.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
List-Id: <docs.lists.yoctoproject.org>
X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com
[45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for
<docs@lists.yoctoproject.org>; Tue, 01 Dec 2026 15:23:32 -0000
X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/10874
Content-Type: text/plain; charset="utf-8"
|
| Series |
docs: highlight code blocks as BitBake by default
|
expand
|
diff --git a/documentation/conf.py b/documentation/conf.py index eba9cfff4a3a..6ce3ed8e956f 100644 --- a/documentation/conf.py +++ b/documentation/conf.py @@ -111,6 +111,9 @@ templates_path = ['_templates'] # 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. +# Code blocks are BitBake unless they say otherwise. +highlight_language = 'bitbake' + exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', 'boilerplate.rst'] # master document name. The default changed from contents to index. so better
Most code blocks in these manuals are BitBake metadata, and a contributor adding one should not have to remember to say so. Blocks in any other language state it explicitly. AI-Generated: codex/claude-opus 5.5 (xhigh) Signed-off-by: Trevor Woerner <twoerner@gmail.com> --- documentation/conf.py | 3 +++ 1 file changed, 3 insertions(+)