1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-24 17:23:25 -05:00
linux/Documentation/sphinx
Nícolas F. R. A. Prado fb568273c0 docs: automarkup.py: Allow automatic cross-reference inside C namespace
Sphinx 3.1 introduced namespaces for C cross-references. With this,
each C domain type/function declaration is put inside the namespace that
was active at the time of its declaration.

Add support for automatic cross-referencing inside C namespaces by
checking whether the corresponding source file had a C namespace Sphinx
directive, and if so, try cross-referencing inside of it before going to
the global scope.

This assumes there's only one namespace (if any) per rst file.

Signed-off-by: Nícolas F. R. A. Prado <nfraprado@protonmail.com>
Link: https://lore.kernel.org/r/20201117021107.214704-1-nfraprado@protonmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
2020-11-30 10:54:33 -07:00
..
automarkup.py docs: automarkup.py: Allow automatic cross-reference inside C namespace 2020-11-30 10:54:33 -07:00
cdomain.py docs: cdomain.py: extend it to handle new Sphinx 3.x tags 2020-10-15 07:49:37 +02:00
kernel_abi.py docs: ABI: make it parse ABI/stable as ReST-compatible files 2020-10-30 13:07:02 +01:00
kernel_include.py
kerneldoc.py docs: kerneldoc.py: add support for kerneldoc -nosymbol 2020-10-15 07:49:38 +02:00
kernellog.py docs: kernellog.py: add support for info() 2020-10-30 13:02:26 +01:00
kfigure.py
load_config.py
maintainers_include.py
parallel-wrapper.sh
parse-headers.pl docs: get rid of :c:type explicit declarations for structs 2020-10-15 07:49:40 +02:00
requirements.txt
rstFlatTable.py