Re: [PATCH v5 22/52] docs: get rid of :c:type explicit declarations for structs

From
Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Date
2020-10-06 16:41:10
Also in
alsa-devel, linux-fpga, linux-fscrypt, linux-media, linux-mm, lkml
Reply to
Mauro Carvalho Chehab, 2020-10-06
On Tue, Oct 06, 2020 at 04:03:19PM +0200, Mauro Carvalho Chehab wrote:
The :c:type:`foo` only works properly with structs before
Sphinx 3.x.

On Sphinx 3.x, structs should now be declared using the
.. c:struct, and referenced via :c:struct tag.

As we now have the automarkup.py macro, that automatically
convert:
	struct foo

into cross-references, let's get rid of that, solving
several warnings when building docs with Sphinx 3.x.

Reviewed-by: André Almeida <redacted> # blk-mq.rst
Reviewed-by: Takashi Iwai <redacted> # sound
Reviewed-by: Mike Rapoport <redacted>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
---
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Thread (59 messages) 59 messages, 6 authors, last reply 2020-10-14
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help