2020-11-07 19:12:27

by J. Neuschäfer

[permalink] [raw]
Subject: [PATCH] docs: mtd: spi-nor: Fix formatting of text vs. diagrams

Corrently, 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 <[email protected]>
---
Documentation/driver-api/mtd/spi-nor.rst | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/Documentation/driver-api/mtd/spi-nor.rst b/Documentation/driver-api/mtd/spi-nor.rst
index 1f0437676762b..4a3adca417fdb 100644
--- a/Documentation/driver-api/mtd/spi-nor.rst
+++ b/Documentation/driver-api/mtd/spi-nor.rst
@@ -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
--
2.28.0


2020-11-13 22:11:08

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH] docs: mtd: spi-nor: Fix formatting of text vs. diagrams

On Sat, 7 Nov 2020 19:39:01 +0100
Jonathan Neuschäfer <[email protected]> wrote:

> Corrently, 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 <[email protected]>
> ---
> Documentation/driver-api/mtd/spi-nor.rst | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)

Applied, thanks.

jon