[PATCH 4/4] recipe-style-guide: Prune unicode from code example

[email protected] Mon, 27 Jul 2026 19:35:29 +0300
Newsgroups org.yoctoproject.lists.docs
Message-ID <[email protected]>
From: Niko Mauno <[email protected]>

Copy-pasting example segment containing unicode characters causes
breakage like:

  ERROR: ParseError at .../foobar.bb:158: unparsed line: 'RDEPENDS:${PN} = “foo”'

therefore replace the unicode characters in the example with regular
ASCII characters.

Signed-off-by: Niko Mauno <[email protected]>
---
 documentation/contributor-guide/recipe-style-guide.rst | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/documentation/contributor-guide/recipe-style-guide.rst b/documentation/contributor-guide/recipe-style-guide.rst
index f81ffb2ab..84c6bb14e 100644
--- a/documentation/contributor-guide/recipe-style-guide.rst
+++ b/documentation/contributor-guide/recipe-style-guide.rst
@@ -192,11 +192,11 @@ Custom tasks should be sorted similarly.
 
 Package specific variables are typically grouped together, e.g.::
 
-    RDEPENDS:${PN} = “foo”
-    RDEPENDS:${PN}-libs = “bar”
+    RDEPENDS:${PN} = "foo"
+    RDEPENDS:${PN}-libs = "bar"
 
-    RRECOMMENDS:${PN} = “one”
-    RRECOMMENDS:${PN}-libs = “two”
+    RRECOMMENDS:${PN} = "one"
+    RRECOMMENDS:${PN}-libs = "two"
 
 Recipe License Fields
 ---------------------
-- 
2.47.3