* [PATCH 1/4] docs: sdk-manual: appendix-obtain: fix literal block content
2023-06-22 16:51 [PATCH 0/4] fix some doc typos Quentin Schulz
@ 2023-06-22 16:51 ` Quentin Schulz
2023-06-22 21:02 ` [docs] " Michael Opdenacker
2023-06-22 16:51 ` [PATCH 2/4] docs: ref-manual: terms: fix typos in SPDX term Quentin Schulz
` (3 subsequent siblings)
4 siblings, 1 reply; 7+ messages in thread
From: Quentin Schulz @ 2023-06-22 16:51 UTC (permalink / raw)
To: Quentin Schulz, docs; +Cc: Quentin Schulz
From: Quentin Schulz <quentin.schulz@theobroma-systems.com>
The literal block renders its content verbatim so a term role (`:term:`)
would appear as :term: string in there and `---` as --- string instead
of the expected hyphen.
While at it, surround the former-term roles with `` to highlight them.
Fixes: e319b3bf4eb6 ("manuals: add missing references to SDKMACHINE and SDK_ARCH")
Cc: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
---
documentation/sdk-manual/appendix-obtain.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/documentation/sdk-manual/appendix-obtain.rst b/documentation/sdk-manual/appendix-obtain.rst
index ba844507d..e16017de7 100644
--- a/documentation/sdk-manual/appendix-obtain.rst
+++ b/documentation/sdk-manual/appendix-obtain.rst
@@ -140,8 +140,8 @@ build the SDK installer. Follow these steps:
message similar to the following::
The extensible SDK can currently only be built for the same
- architecture as the machine being built on --- :term:`SDK_ARCH`
- is set to ``i686`` (likely via setting :term:`SDKMACHINE`) which is
+ architecture as the machine being built on --- ``SDK_ARCH``
+ is set to ``i686`` (likely via setting ``SDKMACHINE`` which is
different from the architecture of the build machine (``x86_64``).
--
2.41.0
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [docs] [PATCH 1/4] docs: sdk-manual: appendix-obtain: fix literal block content
2023-06-22 16:51 ` [PATCH 1/4] docs: sdk-manual: appendix-obtain: fix literal block content Quentin Schulz
@ 2023-06-22 21:02 ` Michael Opdenacker
0 siblings, 0 replies; 7+ messages in thread
From: Michael Opdenacker @ 2023-06-22 21:02 UTC (permalink / raw)
To: Quentin Schulz, Quentin Schulz, docs; +Cc: Quentin Schulz
Hi Quentin
On 22.06.23 at 18:51, Quentin Schulz wrote:
> From: Quentin Schulz <quentin.schulz@theobroma-systems.com>
>
> The literal block renders its content verbatim so a term role (`:term:`)
> would appear as :term: string in there and `---` as --- string instead
> of the expected hyphen.
>
> While at it, surround the former-term roles with `` to highlight them.
>
> Fixes: e319b3bf4eb6 ("manuals: add missing references to SDKMACHINE and SDK_ARCH")
> Cc: Quentin Schulz <foss+yocto@0leil.net>
> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
> ---
> documentation/sdk-manual/appendix-obtain.rst | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/documentation/sdk-manual/appendix-obtain.rst b/documentation/sdk-manual/appendix-obtain.rst
> index ba844507d..e16017de7 100644
> --- a/documentation/sdk-manual/appendix-obtain.rst
> +++ b/documentation/sdk-manual/appendix-obtain.rst
> @@ -140,8 +140,8 @@ build the SDK installer. Follow these steps:
> message similar to the following::
>
> The extensible SDK can currently only be built for the same
> - architecture as the machine being built on --- :term:`SDK_ARCH`
> - is set to ``i686`` (likely via setting :term:`SDKMACHINE`) which is
> + architecture as the machine being built on --- ``SDK_ARCH``
> + is set to ``i686`` (likely via setting ``SDKMACHINE`` which is
> different from the architecture of the build machine (``x86_64``).
Thanks, but actually, we should return to what the message should be like:
- "-" instead of "---"
- "SDKMACHINE" instead of "``SDKMACHINE`` and the same for SDK_ARCH.
Originally, the message was:
"The extensible SDK can currently only be built for the same
architecture as the machine being built on - SDK_ARCH is
set to i686 (likely via setting SDKMACHINE) which is different from
the architecture of the build machine (x86_64).
Unable to continue."
Would you have time to correct this? I can do it too :)
Cheers
Michael.
--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH 2/4] docs: ref-manual: terms: fix typos in SPDX term
2023-06-22 16:51 [PATCH 0/4] fix some doc typos Quentin Schulz
2023-06-22 16:51 ` [PATCH 1/4] docs: sdk-manual: appendix-obtain: fix literal block content Quentin Schulz
@ 2023-06-22 16:51 ` Quentin Schulz
2023-06-22 16:51 ` [PATCH 3/4] docs: fix unnecessary double white space Quentin Schulz
` (2 subsequent siblings)
4 siblings, 0 replies; 7+ messages in thread
From: Quentin Schulz @ 2023-06-22 16:51 UTC (permalink / raw)
To: Quentin Schulz, docs; +Cc: Quentin Schulz
From: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Fixes: 2c53ac40e99a ("ref-manual: terms.rst: add SBOM and SPDX terms")
Cc: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
---
documentation/ref-manual/terms.rst | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/documentation/ref-manual/terms.rst b/documentation/ref-manual/terms.rst
index 4baef38cf..8f7281676 100644
--- a/documentation/ref-manual/terms.rst
+++ b/documentation/ref-manual/terms.rst
@@ -475,11 +475,11 @@ universal, the list includes them just in case:
section in the Yocto Project Overview and Concepts Manual.
:term:`SPDX`
- This term means *Software Package Data Exchange*, and is used as a open
+ This term means *Software Package Data Exchange*, and is used as an open
standard for providing a *Software Bill of Materials* (:term:`SBOM`).
This standard is developed through a `Linux Foundation project
<https://spdx.dev/>`__ and is used by the OpenEmbedded Build System to
- provide an :term:`SBOM` associated to each a software image.
+ provide an :term:`SBOM` associated to each software image.
For details, see Wikipedia's :wikipedia:`SPDX page <Software_Package_Data_Exchange>`
and the ":ref:`dev-manual/sbom:creating a software bill of materials`"
--
2.41.0
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH 3/4] docs: fix unnecessary double white space
2023-06-22 16:51 [PATCH 0/4] fix some doc typos Quentin Schulz
2023-06-22 16:51 ` [PATCH 1/4] docs: sdk-manual: appendix-obtain: fix literal block content Quentin Schulz
2023-06-22 16:51 ` [PATCH 2/4] docs: ref-manual: terms: fix typos in SPDX term Quentin Schulz
@ 2023-06-22 16:51 ` Quentin Schulz
2023-06-22 16:51 ` [PATCH 4/4] docs: ref-manual: terms: fix incorrect note directive Quentin Schulz
2023-06-22 21:09 ` [docs] [PATCH 0/4] fix some doc typos Michael Opdenacker
4 siblings, 0 replies; 7+ messages in thread
From: Quentin Schulz @ 2023-06-22 16:51 UTC (permalink / raw)
To: Quentin Schulz, docs; +Cc: Quentin Schulz
From: Quentin Schulz <quentin.schulz@theobroma-systems.com>
There's no need for double white spaces here so let's just remove them.
Cc: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
---
documentation/dev-manual/init-manager.rst | 2 +-
documentation/dev-manual/new-recipe.rst | 2 +-
documentation/dev-manual/upgrading-recipes.rst | 2 +-
documentation/migration-guides/migration-3.4.rst | 2 +-
documentation/migration-guides/release-notes-4.0.9.rst | 2 +-
documentation/overview-manual/concepts.rst | 2 +-
documentation/ref-manual/release-process.rst | 2 +-
documentation/ref-manual/terms.rst | 2 +-
documentation/ref-manual/variables.rst | 4 ++--
9 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/documentation/dev-manual/init-manager.rst b/documentation/dev-manual/init-manager.rst
index b96e011eb..20d61ea83 100644
--- a/documentation/dev-manual/init-manager.rst
+++ b/documentation/dev-manual/init-manager.rst
@@ -53,7 +53,7 @@ The ":ref:`device-manager`" chapter has more details about device managers.
Using SysVinit with udev
=========================
-SysVinit with the udev device manager corresponds to the
+SysVinit with the udev device manager corresponds to the
default setting in Poky. This corresponds to setting::
INIT_MANAGER = "sysvinit"
diff --git a/documentation/dev-manual/new-recipe.rst b/documentation/dev-manual/new-recipe.rst
index ab3e193aa..1be04a765 100644
--- a/documentation/dev-manual/new-recipe.rst
+++ b/documentation/dev-manual/new-recipe.rst
@@ -1603,7 +1603,7 @@ in the BitBake User Manual.
space. Also, the operator is applied after all the ``+=``, and ``=+``
operators have been applied and after all ``=`` assignments have
occurred. This means that if ``:append`` is used in a recipe, it can
- only be overridden by another layer using the special ``:remove``
+ only be overridden by another layer using the special ``:remove``
operator, which in turn will prevent further layers from adding it back.
The following example shows the space being explicitly added to the
diff --git a/documentation/dev-manual/upgrading-recipes.rst b/documentation/dev-manual/upgrading-recipes.rst
index 13133fddc..947ef138a 100644
--- a/documentation/dev-manual/upgrading-recipes.rst
+++ b/documentation/dev-manual/upgrading-recipes.rst
@@ -73,7 +73,7 @@ The following steps describe how to set up the AUH utility:
onto your development host. The following command uses Git to create
a local copy of the repository on your system::
- $ git clone git://git.yoctoproject.org/auto-upgrade-helper
+ $ git clone git://git.yoctoproject.org/auto-upgrade-helper
Cloning into 'auto-upgrade-helper'... remote: Counting objects: 768, done.
remote: Compressing objects: 100% (300/300), done.
remote: Total 768 (delta 499), reused 703 (delta 434)
diff --git a/documentation/migration-guides/migration-3.4.rst b/documentation/migration-guides/migration-3.4.rst
index a80d43a86..f50fe5ee0 100644
--- a/documentation/migration-guides/migration-3.4.rst
+++ b/documentation/migration-guides/migration-3.4.rst
@@ -197,7 +197,7 @@ Package/recipe splitting
then you may now need to add it explicitly.
- The ``rpm`` package no longer has ``rpm-build`` in its :term:`RRECOMMENDS`;
- if by chance you still need rpm package building functionality in
+ if by chance you still need rpm package building functionality in
your image and you have not already done so then you should add
``rpm-build`` to your image explicitly.
diff --git a/documentation/migration-guides/release-notes-4.0.9.rst b/documentation/migration-guides/release-notes-4.0.9.rst
index 7c35b8581..236477443 100644
--- a/documentation/migration-guides/release-notes-4.0.9.rst
+++ b/documentation/migration-guides/release-notes-4.0.9.rst
@@ -54,7 +54,7 @@ Fixes in Yocto-4.0.9
- gcc-shared-source: do not use ${S}/.. in deploy_source_date_epoch
- glibc: Add missing binutils dependency
- image_types: fix multiubi var init
-- iso-codes: upgrade to 4.13.0
+- iso-codes: upgrade to 4.13.0
- json-c: Add ptest for json-c
- kernel-yocto: fix kernel-meta data detection
- lib/buildstats: handle tasks that never finished
diff --git a/documentation/overview-manual/concepts.rst b/documentation/overview-manual/concepts.rst
index 668e00256..af825a98c 100644
--- a/documentation/overview-manual/concepts.rst
+++ b/documentation/overview-manual/concepts.rst
@@ -1989,7 +1989,7 @@ variables:
- :term:`BB_HASHSERVE_UPSTREAM`, when ``BB_HASHSERVE = "auto"``,
allowing to connect the local server to an upstream one.
-- :term:`bitbake:BB_SIGNATURE_HANDLER`, which must be set to ``OEEquivHash``.
+- :term:`bitbake:BB_SIGNATURE_HANDLER`, which must be set to ``OEEquivHash``.
Therefore, the default configuration in Poky corresponds to the
below settings::
diff --git a/documentation/ref-manual/release-process.rst b/documentation/ref-manual/release-process.rst
index 2ffbd935c..50e7d3962 100644
--- a/documentation/ref-manual/release-process.rst
+++ b/documentation/ref-manual/release-process.rst
@@ -122,7 +122,7 @@ of stable and :term:`LTS` releases.
In some circumstances, a layer can be created by the community in order to
add a specific feature or support a new version of some package for an :term:`LTS`
- release. This is called a :term:`Mixin` layer. These are thin and specific
+ release. This is called a :term:`Mixin` layer. These are thin and specific
purpose layers which can be stacked with an :term:`LTS` release to "mix" a specific
feature into that build. These are created on an as-needed basis and
maintained by the people who need them.
diff --git a/documentation/ref-manual/terms.rst b/documentation/ref-manual/terms.rst
index 8f7281676..bdb4f934c 100644
--- a/documentation/ref-manual/terms.rst
+++ b/documentation/ref-manual/terms.rst
@@ -235,7 +235,7 @@ universal, the list includes them just in case:
- For booting the same kernel binary on multiple systems requiring
different device drivers. The :term:`Initramfs` image is then customized
- for each type of system, to include the specific kernel modules
+ for each type of system, to include the specific kernel modules
necessary to access the final root filesystem. This technique
is used on all GNU / Linux distributions for desktops and servers.
diff --git a/documentation/ref-manual/variables.rst b/documentation/ref-manual/variables.rst
index cba3cf5d0..afbb8bf82 100644
--- a/documentation/ref-manual/variables.rst
+++ b/documentation/ref-manual/variables.rst
@@ -1320,7 +1320,7 @@ system and gives an overview of their function and contents.
This variable is specific to the :yocto_git:`GStreamer recipes
</poky/tree/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb>`.
It allows to build the GStreamer `"ugly"
- <https://github.com/GStreamer/gst-plugins-ugly>`__ and
+ <https://github.com/GStreamer/gst-plugins-ugly>`__ and
`"bad" <https://github.com/GStreamer/gst-plugins-bad>`__ audio plugins.
See the :ref:`dev-manual/licenses:other variables related to commercial licenses`
@@ -1330,7 +1330,7 @@ system and gives an overview of their function and contents.
This variable is specific to the :yocto_git:`GStreamer recipes
</poky/tree/meta/recipes-multimedia/gstreamer/gstreamer1.0-meta-base.bb>`.
It allows to build the GStreamer `"ugly"
- <https://github.com/GStreamer/gst-plugins-ugly>`__ and
+ <https://github.com/GStreamer/gst-plugins-ugly>`__ and
`"bad" <https://github.com/GStreamer/gst-plugins-bad>`__ video plugins.
See the :ref:`dev-manual/licenses:other variables related to commercial licenses`
--
2.41.0
^ permalink raw reply related [flat|nested] 7+ messages in thread* [PATCH 4/4] docs: ref-manual: terms: fix incorrect note directive
2023-06-22 16:51 [PATCH 0/4] fix some doc typos Quentin Schulz
` (2 preceding siblings ...)
2023-06-22 16:51 ` [PATCH 3/4] docs: fix unnecessary double white space Quentin Schulz
@ 2023-06-22 16:51 ` Quentin Schulz
2023-06-22 21:09 ` [docs] [PATCH 0/4] fix some doc typos Michael Opdenacker
4 siblings, 0 replies; 7+ messages in thread
From: Quentin Schulz @ 2023-06-22 16:51 UTC (permalink / raw)
To: Quentin Schulz, docs; +Cc: Quentin Schulz
From: Quentin Schulz <quentin.schulz@theobroma-systems.com>
The directive is followed by two colons and not only one, so let's add
the missing one.
c.f. https://www.sphinx-doc.org/en/master/usage/restructuredtext/directives.html#directive-note
Fixes: 952c7e6dee49 ("manuals: improve initramfs details")
Cc: Quentin Schulz <foss+yocto@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
---
documentation/ref-manual/terms.rst | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/documentation/ref-manual/terms.rst b/documentation/ref-manual/terms.rst
index bdb4f934c..b5d5f1dbd 100644
--- a/documentation/ref-manual/terms.rst
+++ b/documentation/ref-manual/terms.rst
@@ -224,7 +224,7 @@ universal, the list includes them just in case:
having to duplicate accessed file contents in the file cache in RAM,
as for any block device.
- .. note:
+ .. note::
As far as bootloaders are concerned, :term:`Initramfs` and "initrd"
images are still copied to RAM in the same way. That's why most
--
2.41.0
^ permalink raw reply related [flat|nested] 7+ messages in thread* Re: [docs] [PATCH 0/4] fix some doc typos
2023-06-22 16:51 [PATCH 0/4] fix some doc typos Quentin Schulz
` (3 preceding siblings ...)
2023-06-22 16:51 ` [PATCH 4/4] docs: ref-manual: terms: fix incorrect note directive Quentin Schulz
@ 2023-06-22 21:09 ` Michael Opdenacker
4 siblings, 0 replies; 7+ messages in thread
From: Michael Opdenacker @ 2023-06-22 21:09 UTC (permalink / raw)
To: Quentin Schulz, Quentin Schulz, docs; +Cc: Quentin Schulz
Hi Quentin,
On 22.06.23 at 18:51, Quentin Schulz wrote:
> Fix a few typos or bad formatting in the docs.
>
> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
> ---
> Quentin Schulz (4):
> docs: sdk-manual: appendix-obtain: fix literal block content
> docs: ref-manual: terms: fix typos in SPDX term
> docs: fix unnecessary double white space
> docs: ref-manual: terms: fix incorrect note directive
Thanks for the fixes!
For 2, 3 and 3:
Reviewed-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
... and merged into master-next.
Will be happy to fix 1 if you lack time...
Thanks again
Cheers
Michael.
--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 7+ messages in thread