doc: bitbake-user-manual-metadata: fix code-block and indentation
cover doc: bitbake-user-manual-metadata: fix code-block and indentation
This fixes a typo resulting in an intended code-block not being a code-block and inconsistent (but with no impact to the generated output) whitespaces in the same file.
---
Quentin Schulz (3):
doc: bitbake-user-manual-metadata: fix syntax for code-block in addfragments
doc: bitbake-user-manual-metadata: fix indentation consistency
doc: bitbake-user-manual-metadata: fix indentation consistency
.../bitbake-user-manual-metadata.rst | 32 +++++++++++----------- 1 file changed, 16 insertions(+), 16 deletions(-)
---
base-commit: 05a0ca339a6fee75f7979c3ee95fc91b2bd9b92f
change-id: 20260326-metadata-code-blk-90c65436b393
Best regards,
Signature · 1 line
Quentin Schulz <[email protected]>
PATCH 1/3 doc: bitbake-user-manual-metadata: fix syntax for code-block in addfragments
From: Quentin Schulz <[email protected]>
OE_FRAGMENTS was meant as a code-block and thus needs two colons, a newline and an increased indent for it to work, however we were missing the second colon.
Let's fix that oversight.
--- doc/bitbake-user-manual/bitbake-user-manual-metadata.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
doc/bitbake-user-manual/bitbake-user-manual-metadata.rst +1 -1
@@ -1052,7 +1052,7 @@ The variable containing a built-in fragment definitions could look like this:: OE_FRAGMENTS_BUILTIN = "someprefix:SOMEVARIABLE anotherprefix:ANOTHERVARIABLE" and then if 'someprefix/somevalue' is added to the variable that holds the list -of enabled fragments: +of enabled fragments:: OE_FRAGMENTS = "... someprefix/somevalue"
Signature · 1 line
2.53.0
PATCH 2/3 doc: bitbake-user-manual-metadata: fix indentation consistency
In reply to Quentin SchulzFrom: Quentin Schulz <[email protected]>
We've decided code-blocks should be indented by three whitespaces compared to the parent block and this only had two, so let's add the missing whitespace. This is cosmetic in the sources only, it doesn't change the output.
--- doc/bitbake-user-manual/bitbake-user-manual-metadata.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
doc/bitbake-user-manual/bitbake-user-manual-metadata.rst +2 -2
@@ -1054,11 +1054,11 @@ The variable containing a built-in fragment definitions could look like this:: and then if 'someprefix/somevalue' is added to the variable that holds the list of enabled fragments:: - OE_FRAGMENTS = "... someprefix/somevalue" + OE_FRAGMENTS = "... someprefix/somevalue" bitbake will treat that as direct value assignment in its configuration:: - SOMEVARIABLE = "somevalue" + SOMEVARIABLE = "somevalue" Locating Include Files ----------------------
Signature · 1 line
2.53.0
PATCH 3/3 doc: bitbake-user-manual-metadata: fix indentation consistency
In reply to Quentin SchulzFrom: Quentin Schulz <[email protected]>
We've decided bullet lists should be started by a dash followed by two whitespaces and the other lines in the bullet list should be indented at that level, that is with three whitespaces compared to the parent block. This only has two while the rest of the file has three, so let's add the missing whitespace. This is cosmetic in the sources only, it doesn't change the output.
--- .../bitbake-user-manual-metadata.rst | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-)
doc/bitbake-user-manual/bitbake-user-manual-metadata.rst +13 -13
@@ -1771,22 +1771,22 @@ functionality of the task: directory listed is used as the current working directory for the task. -- ``[file-checksums]``: Controls the file dependencies for a task. The - baseline file list is the set of files associated with - :term:`SRC_URI`. May be used to set additional dependencies on - files not associated with :term:`SRC_URI`. +- ``[file-checksums]``: Controls the file dependencies for a task. The + baseline file list is the set of files associated with + :term:`SRC_URI`. May be used to set additional dependencies on + files not associated with :term:`SRC_URI`. - The value set to the list is a file-boolean pair where the first - value is the file name and the second is whether or not it - physically exists on the filesystem. :: + The value set to the list is a file-boolean pair where the first + value is the file name and the second is whether or not it + physically exists on the filesystem. :: - do_configure[file-checksums] += "${MY_DIRPATH}/my-file.txt:True" + do_configure[file-checksums] += "${MY_DIRPATH}/my-file.txt:True" - It is important to record any paths which the task looked at and - which didn't exist. This means that if these do exist at a later - time, the task can be rerun with the new additional files. The - "exists" True or False value after the path allows this to be - handled. + It is important to record any paths which the task looked at and + which didn't exist. This means that if these do exist at a later + time, the task can be rerun with the new additional files. The + "exists" True or False value after the path allows this to be + handled. - ``[lockfiles]``: Specifies one or more lockfiles to lock while the task executes. Only one task may hold a lockfile, and any task that
Signature · 1 line
2.53.0