aboutsummaryrefslogtreecommitdiff
path: root/Documentation/sphinx/kerneldoc.py
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-09-24 11:32:38 +0200
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>2020-10-15 07:49:37 +0200
commit71e552aebf260239463d348ecb75b972bee0804b (patch)
treecb1b2ddf622a87b5cf9517249bef46b76cb59921 /Documentation/sphinx/kerneldoc.py
parent6e9e415854c15dbf920481eb1d245988e405bbc0 (diff)
downloadlinux-71e552aebf260239463d348ecb75b972bee0804b.tar.gz
linux-71e552aebf260239463d348ecb75b972bee0804b.tar.bz2
linux-71e552aebf260239463d348ecb75b972bee0804b.zip
docs: cdomain.py: add support for a new Sphinx 3.1+ tag
Since Sphinx 3.0, the C domain code was rewritten, but only after version 3.1 it got support for setting namespaces on C domains, with is something that it is required, in order to document system calls, like ioctl() and others. As part of changing the documentation subsystem to properly build with Sphinx 3.1+, add support for such new tag: .. c:namespace::" Such tag optionally replaces the optional "name" tag for functions, setting a single namespace domain for all C references found at the file. With that, it should be possible to convert existing documentation to be compatible with both Sphinx 1.x/2.x and 3.1+. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'Documentation/sphinx/kerneldoc.py')
0 files changed, 0 insertions, 0 deletions