Skip to contentSkip to conversation

ref-manual: render options in monospace to show quotes properly

PATCH Applied Robert P. J. Day 2 participants 2 messages Sep 6, 2021 – Sep 13, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ref-manual: render options in monospace to show quotes properly

It's important (at least for now) to mark up options with monospaced font to highlight the difference between single and double quotes.

---

documentation/ref-manual/devtool-reference.rst +2 -2
index 1862c481d..883f54e39 100644
@@ -78,7 +78,7 @@ has a number of sub-commands for each function. You can run
 
 As directed in the general help output, you can
 get more syntax on a specific command by providing the command name and
-using "--help"::
+using ``--help``::
 
    $ devtool add --help
    NOTE: Starting bitbake server...
@@ -471,7 +471,7 @@ Use the ``devtool build`` command to build your recipe. The
 
 When you use the ``devtool build`` command, you must supply the root
 name of the recipe (i.e. do not provide versions, paths, or extensions).
-You can use either the "-s" or the "--disable-parallel-make" options to
+You can use either the ``-s`` or the ``--disable-parallel-make`` options to
 disable parallel makes during the build. Here is an example::
 
    $ devtool build recipe
Signature · 6 lines
========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                         http://crashcourse.ca

LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================
Reviewed-by on v1 1/1 Applied
#1 lore raw

Hi Robert,

Quoted 21 lines · Robert P. J. Day

It's important (at least for now) to mark up options with monospaced font to highlight the difference between single and double quotes.

---

documentation/ref-manual/devtool-reference.rst +1 -1
index 1862c481d..883f54e39 100644
@@ -78,7 +78,7 @@ has a number of sub-commands for each function. You can run
 
 As directed in the general help output, you can
 get more syntax on a specific command by providing the command name and
-using "--help"::
+using ``--help``::
 
    $ devtool add --help
    NOTE: Starting bitbake server...

documentation/ref-manual/devtool-reference.rst Use the ``devtool build`` command to build your recipe. The · line 477

Quoted 8 lines
documentation/ref-manual/devtool-reference.rst +1 -1
@@ -471,7 +471,7 @@ Use the ``devtool build`` command to build your recipe. The
 
 When you use the ``devtool build`` command, you must supply the root
 name of the recipe (i.e. do not provide versions, paths, or extensions).
-You can use either the "-s" or the "--disable-parallel-make" options to
+You can use either the ``-s`` or the ``--disable-parallel-make`` options to
 disable parallel makes during the build. Here is an example::
 
    $ devtool build recipe

Thanks for the patch! Agreeing on the direction to take. I'm sure there are many further places to update.

Applied in master-next.
Cheers,
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com