diff options
author | Michael Opdenacker <michael.opdenacker@bootlin.com> | 2021-04-16 18:27:05 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-04-23 16:39:03 +0100 |
commit | c3c6de21876aad811e08538544c8fe76d22ccd09 (patch) | |
tree | e22ee00a9c1ec588965f32050a42e05946bc9f71 /documentation/ref-manual/faq.rst | |
parent | 773536c333248214f8f41eff698d8bfd3c687249 (diff) | |
download | poky-c3c6de21876aad811e08538544c8fe76d22ccd09.tar.gz |
manuals: code insertion simplification over two lines
This simplifies paragraphs ending with a colon and followed
by code insertion.
Automatically substituted through the command:
sed -i -z "s/:\n\s*::/::/g" file.rst
This generates identical HTML output.
(From yocto-docs rev: 28e2192a7c12d64b68061138a9f6c796453eebb1)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/ref-manual/faq.rst')
-rw-r--r-- | documentation/ref-manual/faq.rst | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/documentation/ref-manual/faq.rst b/documentation/ref-manual/faq.rst index a9103f83c6..e7bca829a3 100644 --- a/documentation/ref-manual/faq.rst +++ b/documentation/ref-manual/faq.rst | |||
@@ -209,8 +209,7 @@ section in the Yocto Project Development Tasks Manual. | |||
209 | **A:** You need to create a form factor file as described in the | 209 | **A:** You need to create a form factor file as described in the |
210 | ":ref:`bsp-guide/bsp:miscellaneous bsp-specific recipe files`" section in | 210 | ":ref:`bsp-guide/bsp:miscellaneous bsp-specific recipe files`" section in |
211 | the Yocto Project Board Support Packages (BSP) Developer's Guide. Set | 211 | the Yocto Project Board Support Packages (BSP) Developer's Guide. Set |
212 | the ``HAVE_TOUCHSCREEN`` variable equal to one as follows: | 212 | the ``HAVE_TOUCHSCREEN`` variable equal to one as follows:: |
213 | :: | ||
214 | 213 | ||
215 | HAVE_TOUCHSCREEN=1 | 214 | HAVE_TOUCHSCREEN=1 |
216 | 215 | ||
@@ -313,8 +312,7 @@ HTTPS requests and direct them to the ``http://`` sources mirror. You | |||
313 | can use ``file://`` URLs to point to local directories or network shares | 312 | can use ``file://`` URLs to point to local directories or network shares |
314 | as well. | 313 | as well. |
315 | 314 | ||
316 | Aside from the previous technique, these options also exist: | 315 | Aside from the previous technique, these options also exist:: |
317 | :: | ||
318 | 316 | ||
319 | BB_NO_NETWORK = "1" | 317 | BB_NO_NETWORK = "1" |
320 | 318 | ||
@@ -322,8 +320,7 @@ This statement tells BitBake to issue an error | |||
322 | instead of trying to access the Internet. This technique is useful if | 320 | instead of trying to access the Internet. This technique is useful if |
323 | you want to ensure code builds only from local sources. | 321 | you want to ensure code builds only from local sources. |
324 | 322 | ||
325 | Here is another technique: | 323 | Here is another technique:: |
326 | :: | ||
327 | 324 | ||
328 | BB_FETCH_PREMIRRORONLY = "1" | 325 | BB_FETCH_PREMIRRORONLY = "1" |
329 | 326 | ||
@@ -331,8 +328,7 @@ This statement | |||
331 | limits the build system to pulling source from the ``PREMIRRORS`` only. | 328 | limits the build system to pulling source from the ``PREMIRRORS`` only. |
332 | Again, this technique is useful for reproducing builds. | 329 | Again, this technique is useful for reproducing builds. |
333 | 330 | ||
334 | Here is another technique: | 331 | Here is another technique:: |
335 | :: | ||
336 | 332 | ||
337 | BB_GENERATE_MIRROR_TARBALLS = "1" | 333 | BB_GENERATE_MIRROR_TARBALLS = "1" |
338 | 334 | ||