| Message ID | 20261201152251.2742634-1-twoerner@gmail.com |
|---|---|
| Headers | show
Received: from mail-ot1-f41.google.com (mail-ot1-f41.google.com
[209.85.210.41])
by mx.groups.io with SMTP id smtpd.msgproc02-g2.13164.1796138580236156049
for <docs@lists.yoctoproject.org>;
Tue, 01 Dec 2026 07:23:00 -0800
Authentication-Results: mx.groups.io;
dkim=pass header.i=@gmail.com header.s=20260707 header.b=IdqklVZJ;
spf=pass (domain: gmail.com, ip: 209.85.210.41, mailfrom: twoerner@gmail.com)
Received: by mail-ot1-f41.google.com with SMTP id
46e09a7af769-862aca1ed4dso4555235a34.0
for <docs@lists.yoctoproject.org>;
Tue, 01 Dec 2026 07:23:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20260707; t=1796138579; x=1796743379;
darn=lists.yoctoproject.org;
h=content-transfer-encoding:mime-version:message-id:date:subject:to
:from:from:to:cc:subject:date:message-id:reply-to:content-type;
bh=5GYrB5NkyOVrhBnfpd6CWq/+fjcXi8HT92Z34iHqwlA=;
b=IdqklVZJrM1XvasHv3fd8lTgdoOuWNZqC8wda2PVdofBYxaLMLiwCdaFlr0hl5qo0+
1W1KyTg4G++1KrLPQB1m/wGsCBRuE1r4trbuEU89EAIoRKmshmiPjLDS3FISsFPZfDEm
p7lHAUr/pfbjlggWoaWoTA30oEGHjaSoIbZyJwowidqU1ZRyrfkUq45M+tM62dTQrKSY
WvcIzpe2FsgzZJ1m+Vu75LJNLN7lg7MdaHjBNjYNFIIMgOgD1li9UPGbqvuS8gJiEUwP
sY0Hsnwyj/qqmEWbzznsXqQCBobzjQKqCwiyNcnda8IWVLjwv9o+gmuwl1GKWv+yTBSO
5DKQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20260707; t=1796138579; x=1796743379;
h=content-transfer-encoding:mime-version:message-id:date:subject:to
:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id
:reply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KVDLvoPQwTEopyper/OYDvCJrBfNi4th3BS2pJChtWBPfbJMikw/y5c0Z0F6NyocQBNPHL5ki
/LGtiLvsTURefSvejrlXj+kTPsZ8PoAmNJtfXAvybGhgKzg+6WMApOYNvspJ9Am3gcg0aTuhiqA
HMkgvfv2xbV1e4y2NPdCb7DC9wxUWFS7NJ9Hwkd+h4Cf3LQifSAxA
X-Received: by 2002:a05:6808:1925:b0:53c:af69:84e2 with SMTP id
5614622812f47-57a06b237e7mr40550247b6e.6.1796138578938;
Tue, 01 Dec 2026 07:22:58 -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.22.57
for <docs@lists.yoctoproject.org>
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Tue, 01 Dec 2026 07:22:58 -0800 (PST)
From: Trevor Woerner <twoerner@gmail.com>
To: docs@lists.yoctoproject.org
Subject: [PATCH 00/16] docs: highlight code blocks as BitBake by default
Date: Tue, 1 Dec 2026 10:22:33 -0500
Message-ID: <20261201152251.2742634-1-twoerner@gmail.com>
X-Mailer: git-send-email 2.51.0
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:01 -0000
X-Groupsio-URL: https://lists.yoctoproject.org/g/docs/message/10859
Content-Type: text/plain; charset="utf-8"
|
| Series |
docs: highlight code blocks as BitBake by default
|
expand
|
This makes BitBake the default highlight language for the manuals, as decided in [1], so most of their code is highlighted as what it is and only the blocks that are something else need to say so. The blocks that are not BitBake get their language first, so every commit builds clean under -W on its own: - a patch per manual, giving every block that is not BitBake an explicit language - a patch showing as text the few BitBake examples the Pygments BitBake lexer misreads, each with a comment saying why - a patch removing the file-wide ".. highlight::" directives, kept separate as asked - a patch setting highlight_language in conf.py - a patch writing the rule down in standards.md Whether a block is BitBake was decided by asking BitBake's own parser, and the language of each remaining block by reading it. [1] https://lore.kernel.org/r/DL309JI7KO5S.31U2Y9LIHSH9Q@bootlin.com Trevor Woerner (16): brief-yoctoprojectqs: state the language of the blocks that are not BitBake bsp-manual: state the language of the blocks that are not BitBake contributor-guide: state the language of the blocks that are not BitBake dev-manual: state the language of the blocks that are not BitBake kernel-dev: state the language of the blocks that are not BitBake migration-guides: state the language of the blocks that are not BitBake overview-manual: state the language of the blocks that are not BitBake profile-manual: state the language of the blocks that are not BitBake ref-manual: state the language of the blocks that are not BitBake security-manual: state the language of the blocks that are not BitBake test-manual: state the language of the blocks that are not BitBake toaster-manual: state the language of the blocks that are not BitBake docs: show the examples the BitBake lexer misreads as text docs: drop the file-wide highlight directives conf.py: default the highlight language to bitbake standards: describe how a code block states its language documentation/brief-yoctoprojectqs/index.rst | 8 +- documentation/bsp-manual/bsp.rst | 80 +++- documentation/conf.py | 3 + .../ai-assisted-contribution-policy.rst | 8 +- .../contributor-guide/recipe-style-guide.rst | 24 +- .../contributor-guide/submit-changes.rst | 144 +++++-- documentation/dev-manual/bblock.rst | 36 +- documentation/dev-manual/bmaptool.rst | 24 +- documentation/dev-manual/build-quality.rst | 16 +- documentation/dev-manual/building.rst | 32 +- .../dev-manual/creating-fragments.rst | 16 +- ...ustom-template-configuration-directory.rst | 12 +- documentation/dev-manual/debugging.rst | 176 ++++++-- .../dev-manual/development-shell.rst | 8 +- documentation/dev-manual/devtool.rst | 148 +++++-- documentation/dev-manual/disk-space.rst | 8 +- .../efficiently-fetching-sources.rst | 4 +- .../dev-manual/error-reporting-tool.rst | 8 +- .../dev-manual/gobject-introspection.rst | 4 +- documentation/dev-manual/hashequivserver.rst | 8 +- documentation/dev-manual/layers.rst | 52 ++- documentation/dev-manual/libraries.rst | 8 +- .../dev-manual/limiting-resources.rst | 8 +- documentation/dev-manual/multiconfig.rst | 20 +- documentation/dev-manual/new-machine.rst | 4 +- documentation/dev-manual/new-recipe.rst | 36 +- documentation/dev-manual/packages.rst | 56 ++- .../dev-manual/prebuilt-libraries.rst | 4 +- .../dev-manual/python-development-shell.rst | 4 +- documentation/dev-manual/qemu.rst | 48 ++- documentation/dev-manual/quilt.rst | 16 +- .../dev-manual/sstate-mirrors-setup.rst | 8 +- documentation/dev-manual/start.rst | 24 +- .../dev-manual/temporary-source-code.rst | 12 +- .../dev-manual/upgrading-recipes.rst | 76 +++- documentation/dev-manual/wayland.rst | 8 +- documentation/dev-manual/x32-psabi.rst | 4 +- documentation/kernel-dev/advanced.rst | 74 +++- documentation/kernel-dev/common.rst | 208 +++++++--- documentation/kernel-dev/concepts-appx.rst | 8 +- documentation/kernel-dev/maint-appx.rst | 20 +- .../migration-guides/migration-1.3.rst | 4 +- .../migration-guides/migration-1.4.rst | 8 +- .../migration-guides/migration-1.7.rst | 4 +- .../migration-guides/migration-2.0.rst | 4 +- .../migration-guides/migration-2.1.rst | 8 +- .../migration-guides/migration-2.2.rst | 16 +- .../migration-guides/migration-2.3.rst | 8 +- .../migration-guides/migration-2.5.rst | 8 +- .../migration-guides/migration-2.6.rst | 8 +- .../migration-guides/migration-3.4.rst | 4 +- .../migration-guides/migration-4.0.rst | 8 +- .../migration-guides/migration-4.1.rst | 8 +- .../migration-guides/migration-5.2.rst | 12 +- .../migration-guides/migration-5.3.rst | 24 +- .../migration-guides/migration-6.0.rst | 22 +- .../migration-guides/migration-6.1.rst | 8 +- .../migration-guides/release-notes-4.2.rst | 4 +- .../migration-guides/release-notes-5.1.rst | 4 +- .../migration-guides/release-notes-5.3.rst | 16 +- documentation/overview-manual/concepts.rst | 48 ++- .../development-environment.rst | 8 +- documentation/profile-manual/intro.rst | 8 +- documentation/profile-manual/usage.rst | 385 +++++++++++++----- documentation/ref-manual/classes.rst | 74 +++- .../ref-manual/devtool-reference.rst | 80 +++- documentation/ref-manual/faq.rst | 20 +- documentation/ref-manual/features.rst | 4 +- documentation/ref-manual/fragments.rst | 32 +- documentation/ref-manual/images.rst | 4 +- documentation/ref-manual/qa-checks.rst | 24 +- documentation/ref-manual/structure.rst | 28 +- .../ref-manual/system-requirements.rst | 64 ++- documentation/ref-manual/tasks.rst | 44 +- documentation/ref-manual/terms.rst | 16 +- .../ubuntu-debian-host-packages-nodocs.rst | 16 +- documentation/ref-manual/variables.rst | 182 +++++++-- .../security-manual/vulnerabilities.rst | 12 +- documentation/standards.md | 22 + documentation/test-manual/intro.rst | 72 +++- documentation/test-manual/ptest.rst | 12 +- .../test-manual/reproducible-builds.rst | 4 +- documentation/test-manual/runtime-testing.rst | 36 +- .../test-manual/understand-autobuilder.rst | 20 +- documentation/toaster-manual/reference.rst | 26 +- .../toaster-manual/setup-and-use.rst | 134 ++++-- documentation/toaster-manual/start.rst | 18 +- 87 files changed, 2277 insertions(+), 759 deletions(-)