OSDN Git Service

docs: mtd: spi-nor: Fix formatting of text vs. diagrams
authorJonathan Neuschäfer <j.neuschaefer@gmx.net>
Sat, 7 Nov 2020 18:39:01 +0000 (19:39 +0100)
committerJonathan Corbet <corbet@lwn.net>
Fri, 13 Nov 2020 22:08:56 +0000 (15:08 -0700)
Currently, all diagrams below "Before this framework, the layer is like"
and the text in between are rendered as one monospace text block.
Instead, each individual diagram should be a monospace text block.

Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Link: https://lore.kernel.org/r/20201107183902.1182809-1-j.neuschaefer@gmx.net
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/driver-api/mtd/spi-nor.rst

index 1f04376..4a3adca 100644 (file)
@@ -34,7 +34,8 @@ Before this framework, the layer is like::
          ------------------------
                SPI NOR chip
 
-   After this framework, the layer is like:
+After this framework, the layer is like::
+
                    MTD
          ------------------------
               SPI NOR framework
@@ -45,7 +46,8 @@ Before this framework, the layer is like::
          ------------------------
               SPI NOR chip
 
-  With the SPI NOR controller driver (Freescale QuadSPI), it looks like:
+With the SPI NOR controller driver (Freescale QuadSPI), it looks like::
+
                    MTD
          ------------------------
               SPI NOR framework