docs: highlight code blocks as BitBake by default
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest16 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/16 | brief-yoctoprojectqs: state the language of the blocks that are not BitBakedocumentation/ | +6 | 0 replies | |
| 2/16 | bsp-manual: state the language of the blocks that are not BitBakedocumentation/ | +60 | 0 replies | |
| 3/16 | contributor-guide: state the language of the blocks that are not BitBakedocumentation/ documentation/ documentation/ | +132 | 0 replies | |
| 4/16 | dev-manual: state the language of the blocks that are not BitBakedocumentation/ documentation/ documentation/ +28 more | +666 | 0 replies | |
| 5/16 | kernel-dev: state the language of the blocks that are not BitBakedocumentation/ documentation/ documentation/ +1 more | +228 | 0 replies | |
| 6/16 | migration-guides: state the language of the blocks that are not BitBakedocumentation/ documentation/ documentation/ +16 more | +133 | 0 replies | |
| 7/16 | overview-manual: state the language of the blocks that are not BitBakedocumentation/ documentation/ | +42 | 0 replies | |
| 8/16 | profile-manual: state the language of the blocks that are not BitBakedocumentation/ documentation/ | +294 | 0 replies | |
| 9/16 | ref-manual: state the language of the blocks that are not BitBakedocumentation/ documentation/ documentation/ +10 more | +414 | 0 replies | |
| 10/16 | security-manual: state the language of the blocks that are not BitBakedocumentation/ | +9 | 0 replies | |
| 11/16 | test-manual: state the language of the blocks that are not BitBakedocumentation/ documentation/ documentation/ +2 more | +108 | 0 replies | |
| 12/16 | toaster-manual: state the language of the blocks that are not BitBakedocumentation/ documentation/ documentation/ | +130 | 0 replies | |
| 13/16 | docs: show the examples the BitBake lexer misreads as textdocumentation/ documentation/ | +30 | 0 replies | |
| 14/16 | docs: drop the file-wide highlight directivesdocumentation/ documentation/ documentation/ | +0 | 0 replies | |
| 15/16 | conf.py: default the highlight language to bitbakedocumentation/ | +3 | 0 replies | |
| 16/16 | standards: describe how a code block states its languagedocumentation/ | +22 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/16] docs: highlight code blocks as BitBake by default
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/[email protected]
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(-)
Signature · 1 line
2.50.0.173.g8b6f19ccfc3a