public inbox for docs@lists.yoctoproject.org
 help / color / mirror / Atom feed
* [PATCH] doc: use monospaced font for visual clarity of options
@ 2026-01-08 16:28 Robert P. J. Day
  2026-01-09  9:40 ` [bitbake-devel] " Antonin Godard
  0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2026-01-08 16:28 UTC (permalink / raw)
  To: YP docs mailing list; +Cc: BitBake developer list


Use monospaced font for command options, to make it clear when double
dashes are being used.

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>

---

  since i saw an example of this being done in the same chapter
of the bitbake manual without quotes, i chose to do it that way.

diff --git a/doc/bitbake-user-manual/bitbake-user-manual-intro.rst b/doc/bitbake-user-manual/bitbake-user-manual-intro.rst
index 329b02829..4e70eaf9d 100644
--- a/doc/bitbake-user-manual/bitbake-user-manual-intro.rst
+++ b/doc/bitbake-user-manual/bitbake-user-manual-intro.rst
@@ -538,7 +538,7 @@ The following command runs the clean task on the ``foo.bb`` recipe file::

 .. note::

-   The "-b" option explicitly does not handle recipe dependencies. Other
+   The ``-b`` option explicitly does not handle recipe dependencies. Other
    than for debugging purposes, it is instead recommended that you use
    the syntax presented in the next section.

@@ -553,7 +553,7 @@ dependencies, both for build-time and runtime. There must be a way for
 you to express recipe preferences when multiple recipes provide the same
 functionality, or when there are multiple versions of a recipe.

-The ``bitbake`` command, when not using "--buildfile" or "-b" only
+The ``bitbake`` command, when not using ``--buildfile`` or ``-b`` only
 accepts a "PROVIDES". You cannot provide anything else. By default, a
 recipe file generally "PROVIDES" its "packagename" as shown in the
 following example::
@@ -561,7 +561,7 @@ following example::
   $ bitbake foo

 This next example "PROVIDES" the
-package name and also uses the "-c" option to tell BitBake to just
+package name and also uses the ``-c`` option to tell BitBake to just
 execute the ``do_clean`` task::

   $ bitbake -c clean foo


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

* Re: [bitbake-devel] [PATCH] doc: use monospaced font for visual clarity of options
  2026-01-08 16:28 [PATCH] doc: use monospaced font for visual clarity of options Robert P. J. Day
@ 2026-01-09  9:40 ` Antonin Godard
  0 siblings, 0 replies; 2+ messages in thread
From: Antonin Godard @ 2026-01-09  9:40 UTC (permalink / raw)
  To: Robert P. J. Day, YP docs mailing list; +Cc: BitBake developer list

On Thu Jan 8, 2026 at 5:25 PM CET, Robert P. J. Day wrote:
>
> Use monospaced font for command options, to make it clear when double
> dashes are being used.
>
> Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
>
> ---
>
>   since i saw an example of this being done in the same chapter
> of the bitbake manual without quotes, i chose to do it that way.
>
> diff --git a/doc/bitbake-user-manual/bitbake-user-manual-intro.rst b/doc/bitbake-user-manual/bitbake-user-manual-intro.rst
> index 329b02829..4e70eaf9d 100644
> --- a/doc/bitbake-user-manual/bitbake-user-manual-intro.rst
> +++ b/doc/bitbake-user-manual/bitbake-user-manual-intro.rst
> @@ -538,7 +538,7 @@ The following command runs the clean task on the ``foo.bb`` recipe file::
>
>  .. note::
>
> -   The "-b" option explicitly does not handle recipe dependencies. Other
> +   The ``-b`` option explicitly does not handle recipe dependencies. Other
>     than for debugging purposes, it is instead recommended that you use
>     the syntax presented in the next section.
>
> @@ -553,7 +553,7 @@ dependencies, both for build-time and runtime. There must be a way for
>  you to express recipe preferences when multiple recipes provide the same
>  functionality, or when there are multiple versions of a recipe.
>
> -The ``bitbake`` command, when not using "--buildfile" or "-b" only
> +The ``bitbake`` command, when not using ``--buildfile`` or ``-b`` only
>  accepts a "PROVIDES". You cannot provide anything else. By default, a
>  recipe file generally "PROVIDES" its "packagename" as shown in the
>  following example::
> @@ -561,7 +561,7 @@ following example::
>    $ bitbake foo
>
>  This next example "PROVIDES" the
> -package name and also uses the "-c" option to tell BitBake to just
> +package name and also uses the ``-c`` option to tell BitBake to just
>  execute the ``do_clean`` task::
>
>    $ bitbake -c clean foo

Reviewed-by: Antonin Godard <antonin.godard@bootlin.com>

Thanks,
Antonin

-- 
Antonin Godard, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com



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

end of thread, other threads:[~2026-01-09  9:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-08 16:28 [PATCH] doc: use monospaced font for visual clarity of options Robert P. J. Day
2026-01-09  9:40 ` [bitbake-devel] " Antonin Godard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox