sphinx-lint: various fixes
PATCH 1/1 sphinx-lint: various fixes
A 'make sphinx-lint' pass found the following issues:
trailing-whitespace
missing-space-after-literal role-with-double-backticks missing-space-before-role (role missing opening tag colon)
--- documentation/dev-manual/devtool.rst | 2 +- documentation/dev-manual/start.rst | 4 ++-- documentation/migration-guides/migration-5.2.rst | 2 +- documentation/migration-guides/release-notes-5.2.rst | 4 ++-- documentation/ref-manual/variables.rst | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-)
documentation/dev-manual/devtool.rst +1 -1
@@ -552,7 +552,7 @@ the two modes: This instance of VSCode uses plugins that are useful for the development of the application. ``devtool ide-sdk`` generates the necessary - ``extensions.json``, ``settings.json``, ``tasks.json``and ``launch.json`` + ``extensions.json``, ``settings.json``, ``tasks.json`` and ``launch.json`` configuration files for all the involved plugins. When the source code folder present in the workspace folder is opened in
documentation/dev-manual/start.rst +2 -2
@@ -860,7 +860,7 @@ Initializing the Build Environment Before you can use Yocto you need to setup the build environment. From within the ``poky`` directory, source the :ref:`ref-manual/structure:\`\`oe-init-build-env\`\`` environment setup script to define Yocto Project's build environment on your build host:: - - $ source oe-init-build-env + + $ source oe-init-build-env Note, that this step will have to be repeated every time you open a new shell.
documentation/migration-guides/migration-5.2.rst +1 -1
@@ -83,7 +83,7 @@ systemd changes files by starting them via `Also <https://www.freedesktop.org/software/systemd/man/latest/systemd.unit.html#Also=>`__, the other service files were automatically added to the :term:`FILES` variable of - the same package. Example: + the same package. Example: a.service contains::
documentation/migration-guides/release-notes-5.2.rst +2 -2
@@ -25,7 +25,7 @@ New Features / Enhancements in |yocto-ver| :ref:`Shared State <overview-manual/concepts:Shared State>` for the dependencies. See :doc:`/test-manual/reproducible-builds`. - - ``systemd``: Add term:`WATCHDOG_RUNTIME_SEC`: for controlling the + - ``systemd``: Add :term:`WATCHDOG_RUNTIME_SEC`: for controlling the ``RuntimeWatchdogSec`` option in ``/etc/systemd/system.conf``. - :term:`FIT_UBOOT_ENV` to allow including a u-boot script as a text in a
@@ -671,7 +671,7 @@ New Features / Enhancements in |yocto-ver| - New ``bbverbnote`` log utility which can be used to print on the console (equivalent to the ``bb.verbnote`` Python implementation). - - :ref:``ref-classes-grub-efi``: Add :term:`GRUB_TITLE` variable to set + - :ref:`ref-classes-grub-efi`: Add :term:`GRUB_TITLE` variable to set custom GRUB titles. - ``gawk``: Enable high precision arithmetic support by default (``mpfr``
documentation/ref-manual/variables.rst +2 -2
@@ -6131,7 +6131,7 @@ system and gives an overview of their function and contents. By default, no API key is used, which results in larger delays between API requests and limits the number of queries to the public rate limits posted at the `NVD developer's page <https://nvd.nist.gov/developers/start-here>`__. - + NVD API keys can be requested through the `Request an API Key <https://nvd.nist.gov/developers/request-an-api-key>`__ page. You can set this variable to the NVD API key in your ``local.conf`` file.
@@ -10404,7 +10404,7 @@ system and gives an overview of their function and contents. UBOOT_FIT_TEE_IMAGE ?= "tee-raw.bin" - If a relative path is provided, the file is expected to be relative to + If a relative path is provided, the file is expected to be relative to U-Boot's :term:`B` directory. An absolute path can be provided too, e.g.::
Signature · 1 line
2.44.0.501.g19981daefd7c
Hi Trevor,
Quoted 6 lines · Trevor Woerner via lists.yoctoproject.org
A 'make sphinx-lint' pass found the following issues:
trailing-whitespace
missing-space-after-literal role-with-double-backticks missing-space-before-role (role missing opening tag colon)
I'll let Antonin confirm but I assume it would be a good idea to have separate commits so we could easily backport them to earlier releases? Or maybe you/someone can run sphinx-lint on older releases and send patches for those too?
The changes look fine (and necessary) to me :)
[...]
documentation/dev-manual/start.rst Initializing the Build Environment · line 865
Quoted 13 lines
documentation/dev-manual/start.rst +2
-2@@ -860,7 +860,7 @@ Initializing the Build Environment Before you can use Yocto you need to setup the build environment. From within the ``poky`` directory, source the :ref:`ref-manual/structure:\`\`oe-init-build-env\`\`` environment setup script to define Yocto Project's build environment on your build host:: - - $ source oe-init-build-env + + $ source oe-init-build-env
You could also remove one whitespace before the $ to respect the "code-blocks are aligned by three whitespaces" rule we have (and which seems to not be part of our documentation/standards.md :) ).
Thanks!
Quentin
Quoted 10 lines · Quentin Schulz
Hi Trevor,
Quoted 6 lines · Trevor Woerner via lists.yoctoproject.org
A 'make sphinx-lint' pass found the following issues:
trailing-whitespace
missing-space-after-literal role-with-double-backticks missing-space-before-role (role missing opening tag colon)
Quoted 4 lines
I'll let Antonin confirm but I assume it would be a good idea to have separate commits so we could easily backport them to earlier releases? Or maybe you/someone can run sphinx-lint on older releases and send patches for those too?
okay, waiting on Antonin
Quoted 7 lines
The changes look fine (and necessary) to me :)
Reviewed-by Quentin Schulz <[email protected]>[...]
Quoted 16 lines
documentation/dev-manual/start.rst Initializing the Build Environment · line 864
Quoted 12 lines
documentation/dev-manual/start.rst +2
-2@@ -860,7 +860,7 @@ Initializing the Build Environment Before you can use Yocto you need to setup the build environment. From within the ``poky`` directory, source the :ref:`ref-manual/structure:\`\`oe-init-build-env\`\`` environment setup script to define Yocto Project's build environment on your build host:: - - $ source oe-init-build-env + + $ source oe-init-build-envYou could also remove one whitespace before the $ to respect the "code-blocks are aligned by three whitespaces" rule we have (and which seems to not be part of our
documentation/standards.md:) ).
ok
Quoted 2 lines
Thanks!
Quentin
Quoted 11 lines · Trevor Woerner via lists.yoctoproject.org
Quoted 10 lines · Quentin Schulz
Hi Trevor,
Quoted 6 lines · Trevor Woerner via lists.yoctoproject.org
A 'make sphinx-lint' pass found the following issues:
trailing-whitespace
missing-space-after-literal role-with-double-backticks missing-space-before-role (role missing opening tag colon)
Quoted 6 lines
Quoted 4 lines
I'll let Antonin confirm but I assume it would be a good idea to have separate commits so we could easily backport them to earlier releases? Or maybe you/someone can run sphinx-lint on older releases and send patches for those too?
okay, waiting on Antonin
Ultimately the best approach would be to run sphinx-lint on each branch, because we might miss some lint warnings by simply backporting this patch.
Do you want to take care of it?
Quoted 24 lines
Quoted 7 lines
The changes look fine (and necessary) to me :)
Reviewed-by Quentin Schulz <[email protected]>[...]
Quoted 16 lines
documentation/dev-manual/start.rst Initializing the Build Environment · line 864
Quoted 12 lines
documentation/dev-manual/start.rst +2
-2@@ -860,7 +860,7 @@ Initializing the Build Environment Before you can use Yocto you need to setup the build environment. From within the ``poky`` directory, source the :ref:`ref-manual/structure:\`\`oe-init-build-env\`\`` environment setup script to define Yocto Project's build environment on your build host:: - - $ source oe-init-build-env + + $ source oe-init-build-envYou could also remove one whitespace before the $ to respect the "code-blocks are aligned by three whitespaces" rule we have (and which seems to not be part of our
documentation/standards.md:) ).
Quoted 1 line
ok
I can do it when applying your patch on master-next if that's ok to you, that's an easy enough change. :)
Thanks!
Antonin
Signature · 3 lines
Antonin Godard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Quoted 17 lines · Antonin Godard
Quoted 16 lines · Trevor Woerner via lists.yoctoproject.org
Quoted 14 lines · Quentin Schulz
Hi Trevor,
Quoted 6 lines · Trevor Woerner via lists.yoctoproject.org
A 'make sphinx-lint' pass found the following issues:
trailing-whitespace
missing-space-after-literal role-with-double-backticks missing-space-before-role (role missing opening tag colon)I'll let Antonin confirm but I assume it would be a good idea to have separate commits so we could easily backport them to earlier releases? Or maybe you/someone can run sphinx-lint on older releases and send patches for those too?
Quoted 6 lines
Quoted 1 line
okay, waiting on Antonin
Ultimately the best approach would be to run sphinx-lint on each branch, because we might miss some lint warnings by simply backporting this patch.
Do you want to take care of it?
Sure. In addition to master assume you want:
- kirkstone
- scarthgap
- walnascar
?
Quoted 24 lines
Quoted 24 lines
Quoted 23 lines
The changes look fine (and necessary) to me :)
Reviewed-by Quentin Schulz <[email protected]>[...]
documentation/dev-manual/start.rst Initializing the Build Environment · line 864
Quoted 12 lines
documentation/dev-manual/start.rst +2
-2@@ -860,7 +860,7 @@ Initializing the Build Environment Before you can use Yocto you need to setup the build environment. From within the ``poky`` directory, source the :ref:`ref-manual/structure:\`\`oe-init-build-env\`\`` environment setup script to define Yocto Project's build environment on your build host:: - - $ source oe-init-build-env + + $ source oe-init-build-envYou could also remove one whitespace before the $ to respect the "code-blocks are aligned by three whitespaces" rule we have (and which seems to not be part of our
documentation/standards.md:) ).
Quoted 4 lines
Quoted 1 line
ok
I can do it when applying your patch on master-next if that's ok to you, that's an easy enough change. :)
Yes please.
Hi,
Quoted 23 lines · Trevor Woerner
Quoted 22 lines · Antonin Godard
Quoted 11 lines · Trevor Woerner via lists.yoctoproject.org
Quoted 10 lines · Quentin Schulz
Hi Trevor,
Quoted 6 lines · Trevor Woerner via lists.yoctoproject.org
A 'make sphinx-lint' pass found the following issues:
trailing-whitespace
missing-space-after-literal role-with-double-backticks missing-space-before-role (role missing opening tag colon)Quoted 6 lines
Quoted 4 lines
I'll let Antonin confirm but I assume it would be a good idea to have separate commits so we could easily backport them to earlier releases? Or maybe you/someone can run sphinx-lint on older releases and send patches for those too?
okay, waiting on Antonin
Ultimately the best approach would be to run sphinx-lint on each branch, because we might miss some lint warnings by simply backporting this patch.
Quoted 6 lines
Quoted 1 line
Do you want to take care of it?
Sure. In addition to master assume you want:
- kirkstone
- scarthgap
- walnascar
Yes, that's exactly those, thanks.
Antonin
Signature · 3 lines
Antonin Godard, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Antonin Godard
AppliedQuoted 8 lines · Trevor Woerner
A 'make sphinx-lint' pass found the following issues:
trailing-whitespace
missing-space-after-literal role-with-double-backticks missing-space-before-role (role missing opening tag colon)[...]
Applied, thanks!
[1/1] sphinx-lint: various fixes
commit: 6d4c67457e00a80dda4cd05bc5f05d8ebd8da5fc
Best regards,
Signature · 1 line
Antonin Godard <[email protected]>