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/kernel-dev/concepts-appx.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/kernel-dev/concepts-appx.rst')
-rw-r--r-- | documentation/kernel-dev/concepts-appx.rst | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/documentation/kernel-dev/concepts-appx.rst b/documentation/kernel-dev/concepts-appx.rst index 4b6dbe5ef9..63e67315fa 100644 --- a/documentation/kernel-dev/concepts-appx.rst +++ b/documentation/kernel-dev/concepts-appx.rst | |||
@@ -359,8 +359,7 @@ To determine whether or not a given option is "hardware" or | |||
359 | "non-hardware", the kernel Metadata in ``yocto-kernel-cache`` contains | 359 | "non-hardware", the kernel Metadata in ``yocto-kernel-cache`` contains |
360 | files that classify individual or groups of options as either hardware | 360 | files that classify individual or groups of options as either hardware |
361 | or non-hardware. To better show this, consider a situation where the | 361 | or non-hardware. To better show this, consider a situation where the |
362 | ``yocto-kernel-cache`` contains the following files: | 362 | ``yocto-kernel-cache`` contains the following files:: |
363 | :: | ||
364 | 363 | ||
365 | yocto-kernel-cache/features/drm-psb/hardware.cfg | 364 | yocto-kernel-cache/features/drm-psb/hardware.cfg |
366 | yocto-kernel-cache/features/kgdb/hardware.cfg | 365 | yocto-kernel-cache/features/kgdb/hardware.cfg |
@@ -400,8 +399,7 @@ provides explanations for the various files: | |||
400 | (i.e. ``hardware.kcf`` or ``non-hardware.kcf``). | 399 | (i.e. ``hardware.kcf`` or ``non-hardware.kcf``). |
401 | 400 | ||
402 | Here is a specific example using the | 401 | Here is a specific example using the |
403 | ``kernel-cache/bsp/mti-malta32/hardware.cfg``: | 402 | ``kernel-cache/bsp/mti-malta32/hardware.cfg``:: |
404 | :: | ||
405 | 403 | ||
406 | CONFIG_SERIAL_8250 | 404 | CONFIG_SERIAL_8250 |
407 | CONFIG_SERIAL_8250_CONSOLE | 405 | CONFIG_SERIAL_8250_CONSOLE |