All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xen-devel] [PATCH] docs/misc: pvcalls: Verbatim block should be indented with 4 spaces
@ 2020-01-13 21:57 Julien Grall
  2020-01-13 21:59 ` Andrew Cooper
  2020-01-14  1:27 ` Stefano Stabellini
  0 siblings, 2 replies; 3+ messages in thread
From: Julien Grall @ 2020-01-13 21:57 UTC (permalink / raw)
  To: xen-devel
  Cc: Stefano Stabellini, Julien Grall, Wei Liu, Konrad Rzeszutek Wilk,
	George Dunlap, Andrew Cooper, Ian Jackson, Jan Beulich

At the moment, the diagram is only indented with 2 spaces. So pandoc
will try to badly interpret it and not display it correctly.

Fix it by indenting all the block by 4 spaces (i.e an extra 2 spaces).

Fixes: d661611d08 ("docs/markdown: Switch to using pandoc, and fix underscore escaping")
Signed-off-by: Julien Grall <julien@xen.org>
---
 docs/misc/pvcalls.pandoc | 36 ++++++++++++++++++------------------
 1 file changed, 18 insertions(+), 18 deletions(-)

diff --git a/docs/misc/pvcalls.pandoc b/docs/misc/pvcalls.pandoc
index 0c48b29842..729cf97bdf 100644
--- a/docs/misc/pvcalls.pandoc
+++ b/docs/misc/pvcalls.pandoc
@@ -867,24 +867,24 @@ and the second half to the **out** array. They are used as circular
 buffers for transferring data, and, together, they are the data ring.
 
 
-  +---------------------------+                 Indexes page
-  | Command ring:             |                 +----------------------+
-  | @0: xen_pvcalls_connect:  |                 |@0 pvcalls_data_intf: |
-  | @44: ref  +-------------------------------->+@76: ring_order = 1   |
-  |                           |                 |@80: ref[0]+          |
-  +---------------------------+                 |@84: ref[1]+          |
-                                                |           |          |
-                                                |           |          |
-                                                +----------------------+
-                                                            |
-                                                            v (data ring)
-                                                    +-------+-----------+
-                                                    |  @0->4098: in     |
-                                                    |  ref[0]           |
-                                                    |-------------------|
-                                                    |  @4099->8196: out |
-                                                    |  ref[1]           |
-                                                    +-------------------+
+        +---------------------------+                 Indexes page
+        | Command ring:             |                 +----------------------+
+        | @0: xen_pvcalls_connect:  |                 |@0 pvcalls_data_intf: |
+        | @44: ref  +-------------------------------->+@76: ring_order = 1   |
+        |                           |                 |@80: ref[0]+          |
+        +---------------------------+                 |@84: ref[1]+          |
+                                                      |           |          |
+                                                      |           |          |
+                                                      +----------------------+
+                                                                  |
+                                                                  v (data ring)
+                                                          +-------+-----------+
+                                                          |  @0->4098: in     |
+                                                          |  ref[0]           |
+                                                          |-------------------|
+                                                          |  @4099->8196: out |
+                                                          |  ref[1]           |
+                                                          +-------------------+
 
 
 #### Indexes Page Structure
-- 
2.17.1


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Xen-devel] [PATCH] docs/misc: pvcalls: Verbatim block should be indented with 4 spaces
  2020-01-13 21:57 [Xen-devel] [PATCH] docs/misc: pvcalls: Verbatim block should be indented with 4 spaces Julien Grall
@ 2020-01-13 21:59 ` Andrew Cooper
  2020-01-14  1:27 ` Stefano Stabellini
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Cooper @ 2020-01-13 21:59 UTC (permalink / raw)
  To: Julien Grall, xen-devel
  Cc: Stefano Stabellini, Wei Liu, Konrad Rzeszutek Wilk,
	George Dunlap, Ian Jackson, Jan Beulich

On 13/01/2020 21:57, Julien Grall wrote:
> At the moment, the diagram is only indented with 2 spaces. So pandoc
> will try to badly interpret it and not display it correctly.
>
> Fix it by indenting all the block by 4 spaces (i.e an extra 2 spaces).
>
> Fixes: d661611d08 ("docs/markdown: Switch to using pandoc, and fix underscore escaping")
> Signed-off-by: Julien Grall <julien@xen.org>

Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Xen-devel] [PATCH] docs/misc: pvcalls: Verbatim block should be indented with 4 spaces
  2020-01-13 21:57 [Xen-devel] [PATCH] docs/misc: pvcalls: Verbatim block should be indented with 4 spaces Julien Grall
  2020-01-13 21:59 ` Andrew Cooper
@ 2020-01-14  1:27 ` Stefano Stabellini
  1 sibling, 0 replies; 3+ messages in thread
From: Stefano Stabellini @ 2020-01-14  1:27 UTC (permalink / raw)
  To: Julien Grall
  Cc: Stefano Stabellini, Wei Liu, Konrad Rzeszutek Wilk,
	George Dunlap, Andrew Cooper, Ian Jackson, Jan Beulich,
	xen-devel

On Mon, 13 Jan 2020, Julien Grall wrote:
> At the moment, the diagram is only indented with 2 spaces. So pandoc
> will try to badly interpret it and not display it correctly.
> 
> Fix it by indenting all the block by 4 spaces (i.e an extra 2 spaces).
> 
> Fixes: d661611d08 ("docs/markdown: Switch to using pandoc, and fix underscore escaping")
> Signed-off-by: Julien Grall <julien@xen.org>

Acked-by: Stefano Stabellini <sstabellini@kernel.org>

Thanks!

> ---
>  docs/misc/pvcalls.pandoc | 36 ++++++++++++++++++------------------
>  1 file changed, 18 insertions(+), 18 deletions(-)
> 
> diff --git a/docs/misc/pvcalls.pandoc b/docs/misc/pvcalls.pandoc
> index 0c48b29842..729cf97bdf 100644
> --- a/docs/misc/pvcalls.pandoc
> +++ b/docs/misc/pvcalls.pandoc
> @@ -867,24 +867,24 @@ and the second half to the **out** array. They are used as circular
>  buffers for transferring data, and, together, they are the data ring.
>  
>  
> -  +---------------------------+                 Indexes page
> -  | Command ring:             |                 +----------------------+
> -  | @0: xen_pvcalls_connect:  |                 |@0 pvcalls_data_intf: |
> -  | @44: ref  +-------------------------------->+@76: ring_order = 1   |
> -  |                           |                 |@80: ref[0]+          |
> -  +---------------------------+                 |@84: ref[1]+          |
> -                                                |           |          |
> -                                                |           |          |
> -                                                +----------------------+
> -                                                            |
> -                                                            v (data ring)
> -                                                    +-------+-----------+
> -                                                    |  @0->4098: in     |
> -                                                    |  ref[0]           |
> -                                                    |-------------------|
> -                                                    |  @4099->8196: out |
> -                                                    |  ref[1]           |
> -                                                    +-------------------+
> +        +---------------------------+                 Indexes page
> +        | Command ring:             |                 +----------------------+
> +        | @0: xen_pvcalls_connect:  |                 |@0 pvcalls_data_intf: |
> +        | @44: ref  +-------------------------------->+@76: ring_order = 1   |
> +        |                           |                 |@80: ref[0]+          |
> +        +---------------------------+                 |@84: ref[1]+          |
> +                                                      |           |          |
> +                                                      |           |          |
> +                                                      +----------------------+
> +                                                                  |
> +                                                                  v (data ring)
> +                                                          +-------+-----------+
> +                                                          |  @0->4098: in     |
> +                                                          |  ref[0]           |
> +                                                          |-------------------|
> +                                                          |  @4099->8196: out |
> +                                                          |  ref[1]           |
> +                                                          +-------------------+
>  
>  
>  #### Indexes Page Structure
> -- 
> 2.17.1
> 

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-01-14  1:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-13 21:57 [Xen-devel] [PATCH] docs/misc: pvcalls: Verbatim block should be indented with 4 spaces Julien Grall
2020-01-13 21:59 ` Andrew Cooper
2020-01-14  1:27 ` Stefano Stabellini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.