linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* nodocs in 4.19-rcX
@ 2018-09-10 22:51 Randy Dunlap
  2018-09-11 15:25 ` Jonathan Corbet
  0 siblings, 1 reply; 5+ messages in thread
From: Randy Dunlap @ 2018-09-10 22:51 UTC (permalink / raw)
  To: linux-doc@vger.kernel.org, Jonathan Corbet

Hi Jonathan,

4.19-rc contains some users of :nodocs: but that is not recognized yet,
so we get:

lnx-419-rc3/Documentation/core-api/boot-time-mm.rst:78: ERROR: Error in "kernel-doc" directive:
unknown option: "nodocs".

.. kernel-doc:: mm/bootmem.c
   :nodocs:

lnx-419-rc3/Documentation/core-api/boot-time-mm.rst:91: ERROR: Error in "kernel-doc" directive:
unknown option: "nodocs".

.. kernel-doc:: mm/memblock.c
   :nodocs:


Do you plan to merge the patch(es) for :nodocs: ?

thanks,
-- 
~Randy

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

* Re: nodocs in 4.19-rcX
  2018-09-10 22:51 nodocs in 4.19-rcX Randy Dunlap
@ 2018-09-11 15:25 ` Jonathan Corbet
  2018-09-11 15:35   ` Randy Dunlap
  0 siblings, 1 reply; 5+ messages in thread
From: Jonathan Corbet @ 2018-09-11 15:25 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: linux-doc@vger.kernel.org, Mike Rapoport

On Mon, 10 Sep 2018 15:51:20 -0700
Randy Dunlap <rdunlap@infradead.org> wrote:

> 4.19-rc contains some users of :nodocs: but that is not recognized yet,
> so we get:
> 
> lnx-419-rc3/Documentation/core-api/boot-time-mm.rst:78: ERROR: Error in "kernel-doc" directive:
> unknown option: "nodocs".
> 
> .. kernel-doc:: mm/bootmem.c
>    :nodocs:
> 
> lnx-419-rc3/Documentation/core-api/boot-time-mm.rst:91: ERROR: Error in "kernel-doc" directive:
> unknown option: "nodocs".
> 
> .. kernel-doc:: mm/memblock.c
>    :nodocs:
> 
> 
> Do you plan to merge the patch(es) for :nodocs: ?

:nodocs" was v1 of the patch set:

  https://lwn.net/ml/linux-doc/1529328996-16247-1-git-send-email-rppt%40linux.vnet.ibm.com/

In the end, I merged v3, which changed things (and did not contain
the :nodocs: directive:

  https://lwn.net/ml/linux-doc/1530306311-10510-1-git-send-email-rppt%40linux.vnet.ibm.com/

So I'm guessing that anything that snuck in with :nodocs: didn't get
updated.  Somehow I missed that.  Adding CC: Mike, since his
fingerprints are on all aspects of this...:)

jon

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

* Re: nodocs in 4.19-rcX
  2018-09-11 15:25 ` Jonathan Corbet
@ 2018-09-11 15:35   ` Randy Dunlap
  2018-09-11 16:24     ` Mike Rapoport
  0 siblings, 1 reply; 5+ messages in thread
From: Randy Dunlap @ 2018-09-11 15:35 UTC (permalink / raw)
  To: Jonathan Corbet; +Cc: linux-doc@vger.kernel.org, Mike Rapoport

On 9/11/18 8:25 AM, Jonathan Corbet wrote:
> On Mon, 10 Sep 2018 15:51:20 -0700
> Randy Dunlap <rdunlap@infradead.org> wrote:
> 
>> 4.19-rc contains some users of :nodocs: but that is not recognized yet,
>> so we get:
>>
>> lnx-419-rc3/Documentation/core-api/boot-time-mm.rst:78: ERROR: Error in "kernel-doc" directive:
>> unknown option: "nodocs".
>>
>> .. kernel-doc:: mm/bootmem.c
>>    :nodocs:
>>
>> lnx-419-rc3/Documentation/core-api/boot-time-mm.rst:91: ERROR: Error in "kernel-doc" directive:
>> unknown option: "nodocs".
>>
>> .. kernel-doc:: mm/memblock.c
>>    :nodocs:
>>
>>
>> Do you plan to merge the patch(es) for :nodocs: ?
> 
> :nodocs" was v1 of the patch set:
> 
>   https://lwn.net/ml/linux-doc/1529328996-16247-1-git-send-email-rppt%40linux.vnet.ibm.com/
> 
> In the end, I merged v3, which changed things (and did not contain
> the :nodocs: directive:
> 
>   https://lwn.net/ml/linux-doc/1530306311-10510-1-git-send-email-rppt%40linux.vnet.ibm.com/

Yes, I found that later.

which uses (for the record)
   :functions:
with an empty functions list -- to exclude "DOC:" sections.

> So I'm guessing that anything that snuck in with :nodocs: didn't get
> updated.  Somehow I missed that.  Adding CC: Mike, since his
> fingerprints are on all aspects of this...:)

thanks.

-- 
~Randy

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

* Re: nodocs in 4.19-rcX
  2018-09-11 15:35   ` Randy Dunlap
@ 2018-09-11 16:24     ` Mike Rapoport
  2018-09-11 17:53       ` Randy Dunlap
  0 siblings, 1 reply; 5+ messages in thread
From: Mike Rapoport @ 2018-09-11 16:24 UTC (permalink / raw)
  To: Randy Dunlap; +Cc: Jonathan Corbet, linux-doc@vger.kernel.org

On Tue, Sep 11, 2018 at 08:35:18AM -0700, Randy Dunlap wrote:
> On 9/11/18 8:25 AM, Jonathan Corbet wrote:
> > On Mon, 10 Sep 2018 15:51:20 -0700
> > Randy Dunlap <rdunlap@infradead.org> wrote:
> > 
> >> 4.19-rc contains some users of :nodocs: but that is not recognized yet,
> >> so we get:
> >>
> >> lnx-419-rc3/Documentation/core-api/boot-time-mm.rst:78: ERROR: Error in "kernel-doc" directive:
> >> unknown option: "nodocs".
> >>
> >> .. kernel-doc:: mm/bootmem.c
> >>    :nodocs:
> >>
> >> lnx-419-rc3/Documentation/core-api/boot-time-mm.rst:91: ERROR: Error in "kernel-doc" directive:
> >> unknown option: "nodocs".
> >>
> >> .. kernel-doc:: mm/memblock.c
> >>    :nodocs:
> >>
> >>
> >> Do you plan to merge the patch(es) for :nodocs: ?
> > 
> > :nodocs" was v1 of the patch set:
> > 
> >   https://lwn.net/ml/linux-doc/1529328996-16247-1-git-send-email-rppt%40linux.vnet.ibm.com/
> > 
> > In the end, I merged v3, which changed things (and did not contain
> > the :nodocs: directive:
> > 
> >   https://lwn.net/ml/linux-doc/1530306311-10510-1-git-send-email-rppt%40linux.vnet.ibm.com/
> 
> Yes, I found that later.
> 
> which uses (for the record)
>    :functions:
> with an empty functions list -- to exclude "DOC:" sections.
> 
> > So I'm guessing that anything that snuck in with :nodocs: didn't get
> > updated.  Somehow I missed that.  Adding CC: Mike, since his
> > fingerprints are on all aspects of this...:)

Yeah, right. I've also missed that back then.
The fix is below.

> thanks.
> 
> -- 
> ~Randy
> 

From 1d7ab80e5388d993b7b262b24da1f3e55f30f508 Mon Sep 17 00:00:00 2001
From: Mike Rapoport <rppt@linux.vnet.ibm.com>
Date: Tue, 11 Sep 2018 19:16:36 +0300
Subject: [PATCH] docs/boot-time-mm: fix kernel-doc directive for including all
 but DOC:

There were several rounds of the patches that enabled "functions" directive
with no parameters in kerneldoc.py to allow including all the kernel-doc
comments except the DOC: sections.

Yet, the boot-time-mm.rst sneaked in with the older version of that
directive and was not updated. Update it now.

Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>
---
 Documentation/core-api/boot-time-mm.rst | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/core-api/boot-time-mm.rst b/Documentation/core-api/boot-time-mm.rst
index 03cb164..6e12e89 100644
--- a/Documentation/core-api/boot-time-mm.rst
+++ b/Documentation/core-api/boot-time-mm.rst
@@ -76,7 +76,7 @@ These interfaces available only with bootmem, i.e when ``CONFIG_NO_BOOTMEM=n``
 
 .. kernel-doc:: include/linux/bootmem.h
 .. kernel-doc:: mm/bootmem.c
-   :nodocs:
+   :functions:
 
 Memblock specific API
 ---------------------
@@ -89,4 +89,4 @@ really happens under the hood.
 
 .. kernel-doc:: include/linux/memblock.h
 .. kernel-doc:: mm/memblock.c
-   :nodocs:
+   :functions:
-- 
2.7.4

-- 
Sincerely yours,
Mike.


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

* Re: nodocs in 4.19-rcX
  2018-09-11 16:24     ` Mike Rapoport
@ 2018-09-11 17:53       ` Randy Dunlap
  0 siblings, 0 replies; 5+ messages in thread
From: Randy Dunlap @ 2018-09-11 17:53 UTC (permalink / raw)
  To: Mike Rapoport; +Cc: Jonathan Corbet, linux-doc@vger.kernel.org


> From 1d7ab80e5388d993b7b262b24da1f3e55f30f508 Mon Sep 17 00:00:00 2001
> From: Mike Rapoport <rppt@linux.vnet.ibm.com>
> Date: Tue, 11 Sep 2018 19:16:36 +0300
> Subject: [PATCH] docs/boot-time-mm: fix kernel-doc directive for including all
>  but DOC:
> 
> There were several rounds of the patches that enabled "functions" directive
> with no parameters in kerneldoc.py to allow including all the kernel-doc
> comments except the DOC: sections.
> 
> Yet, the boot-time-mm.rst sneaked in with the older version of that
> directive and was not updated. Update it now.
> 
> Signed-off-by: Mike Rapoport <rppt@linux.vnet.ibm.com>

Tested-by: Randy Dunlap <rdunlap@infradead.org>

Thanks.

> ---
>  Documentation/core-api/boot-time-mm.rst | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/core-api/boot-time-mm.rst b/Documentation/core-api/boot-time-mm.rst
> index 03cb164..6e12e89 100644
> --- a/Documentation/core-api/boot-time-mm.rst
> +++ b/Documentation/core-api/boot-time-mm.rst
> @@ -76,7 +76,7 @@ These interfaces available only with bootmem, i.e when ``CONFIG_NO_BOOTMEM=n``
>  
>  .. kernel-doc:: include/linux/bootmem.h
>  .. kernel-doc:: mm/bootmem.c
> -   :nodocs:
> +   :functions:
>  
>  Memblock specific API
>  ---------------------
> @@ -89,4 +89,4 @@ really happens under the hood.
>  
>  .. kernel-doc:: include/linux/memblock.h
>  .. kernel-doc:: mm/memblock.c
> -   :nodocs:
> +   :functions:
> 


-- 
~Randy

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

end of thread, other threads:[~2018-09-11 17:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-10 22:51 nodocs in 4.19-rcX Randy Dunlap
2018-09-11 15:25 ` Jonathan Corbet
2018-09-11 15:35   ` Randy Dunlap
2018-09-11 16:24     ` Mike Rapoport
2018-09-11 17:53       ` Randy Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).