From 325c23cd0f80456111ce886af141501a8a74282c Mon Sep 17 00:00:00 2001 From: Michael Opdenacker Date: Mon, 28 Mar 2022 17:37:44 +0200 Subject: manuals: fix quoting of double dashes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise rendered as "en" dashes by sphinx, for example: git pull –rebase instead of git pull --rebase Readers could confuse them with normal dashes. Exception: replace by \-\- in italic text (*text*) as Sphinx cannot nest italic and quoted text. For consistency, also update quoting in strings in the same code hunks. (From yocto-docs rev: 4e7ce372e37f76148f623a5295a15e08bc2603ff) Signed-off-by: Michael Opdenacker Signed-off-by: Richard Purdie --- documentation/migration-guides/migration-2.1.rst | 6 +++--- documentation/migration-guides/migration-2.3.rst | 2 +- documentation/migration-guides/release-notes-3.4.rst | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to 'documentation/migration-guides') diff --git a/documentation/migration-guides/migration-2.1.rst b/documentation/migration-guides/migration-2.1.rst index eb29694bb5..ae6268d509 100644 --- a/documentation/migration-guides/migration-2.1.rst +++ b/documentation/migration-guides/migration-2.1.rst @@ -281,7 +281,7 @@ The following changes have been made for the Poky distribution: using the Poky distribution can easily include to enable the same functionality. - Any recipe that needs to opt-out of having the "--disable-static" + Any recipe that needs to opt-out of having the ``--disable-static`` option specified on the configure command line either because it is not a supported option for the configure script or because static libraries are needed should set the following variable:: @@ -384,9 +384,9 @@ These additional changes exist: - The :ref:`devtool modify ` command now defaults to extracting the source since that is most - commonly expected. The "-x" or "--extract" options are now no-ops. If + commonly expected. The ``-x`` or ``--extract`` options are now no-ops. If you wish to provide your own existing source tree, you will now need - to specify either the "-n" or "--no-extract" options when running + to specify either the ``-n`` or ``--no-extract`` options when running ``devtool modify``. - If the formfactor for a machine is either not supplied or does not diff --git a/documentation/migration-guides/migration-2.3.rst b/documentation/migration-guides/migration-2.3.rst index 59271abbc0..d49ed474ca 100644 --- a/documentation/migration-guides/migration-2.3.rst +++ b/documentation/migration-guides/migration-2.3.rst @@ -370,7 +370,7 @@ The following changes have been made to Wic: now the current directory by default instead of the unusual ``/var/tmp/wic``. - The "-o" and "--outdir" options remain unchanged and are used to + The ``-o`` and ``--outdir`` options remain unchanged and are used to specify your preferred output directory if you do not want to use the default directory. diff --git a/documentation/migration-guides/release-notes-3.4.rst b/documentation/migration-guides/release-notes-3.4.rst index 927de6dc0c..5a8fb4b5a9 100644 --- a/documentation/migration-guides/release-notes-3.4.rst +++ b/documentation/migration-guides/release-notes-3.4.rst @@ -60,8 +60,8 @@ New Features / Enhancements in 3.4 - wic enhancements: - Added erofs filesystem support - - Added --extra-space argument to leave extra space after last partition - - Added --no-fstab-update part option to allow using the stock fstab + - Added ``--extra-space argument`` to leave extra space after last partition + - Added ``--no-fstab-update`` part option to allow using the stock fstab - bootimg-efi: added Unified Kernel Image option - bootimg-pcbios: use label provided when formatting a DOS partition @@ -75,7 +75,7 @@ New Features / Enhancements in 3.4 - BitBake enhancements: - New bitbake-getvar helper command to query a variable value (with history) - - bitbake-layers: layerindex-fetch: add --fetchdir parameter + - bitbake-layers: layerindex-fetch: add ``--fetchdir`` parameter - bitbake-layers: show-recipes: add skip reason to output - bitbake-diffsigs: sort diff output for consistency - Allow setting upstream for local hash equivalence server -- cgit v1.2.3-54-g00ecf