All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 00/16] docs: highlight code blocks as BitBake by default
@ 2026-12-01 15:22 Trevor Woerner
  2026-12-01 15:22 ` [PATCH 01/16] brief-yoctoprojectqs: state the language of the blocks that are not BitBake Trevor Woerner
                   ` (15 more replies)
  0 siblings, 16 replies; 17+ messages in thread
From: Trevor Woerner @ 2026-12-01 15:22 UTC (permalink / raw)
  To: docs

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(-)

-- 
2.50.0.173.g8b6f19ccfc3a


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2026-12-01 15:23 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 ` [PATCH 02/16] bsp-manual: " Trevor Woerner
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

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.