lkml.org 
[lkml]   [2020]   [Apr]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: [PATCH 31/35] powerpc: docs: cxl.rst: mark two section titles as such
Em Thu, 9 Apr 2020 10:37:52 +1000
Andrew Donnellan <ajd@linux.ibm.com> escreveu:

> On 9/4/20 1:46 am, Mauro Carvalho Chehab wrote:
> > The User API chapter contains two sub-chapters. Mark them as
> > such.
> >
> > Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
>
> Thanks.
>
> Though the other subsections in this file use ----- rather than ^^^^^,
> what's the difference?

ReST syntax allows the usage of several different markup symbols for
titles. It dynamically attributes the first one it finds as level 1,
the second one as level 2 and so on.

As we added the "^^^^" markup before "-----", after this patch, it now has:

=======
level 1
=======

level 2
=======

level 3
^^^^^^^

level 4
-------


>
> Acked-by: Andrew Donnellan <ajd@linux.ibm.com>
>
> > ---
> > Documentation/powerpc/cxl.rst | 2 ++
> > 1 file changed, 2 insertions(+)
> >
> > diff --git a/Documentation/powerpc/cxl.rst b/Documentation/powerpc/cxl.rst
> > index 920546d81326..d2d77057610e 100644
> > --- a/Documentation/powerpc/cxl.rst
> > +++ b/Documentation/powerpc/cxl.rst
> > @@ -133,6 +133,7 @@ User API
> > ========
> >
> > 1. AFU character devices
> > +^^^^^^^^^^^^^^^^^^^^^^^^
> >
> > For AFUs operating in AFU directed mode, two character device
> > files will be created. /dev/cxl/afu0.0m will correspond to a
> > @@ -395,6 +396,7 @@ read
> >
> >
> > 2. Card character device (powerVM guest only)
> > +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >
> > In a powerVM guest, an extra character device is created for the
> > card. The device is only used to write (flash) a new image on the
> >
>



Thanks,
Mauro

\
 
 \ /
  Last update: 2020-04-09 07:54    [W:0.066 / U:0.336 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site