aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
diff options
context:
space:
mode:
authorNĂ­colas F. R. A. Prado <nfraprado@protonmail.com>2020-11-17 02:12:01 +0000
committerJonathan Corbet <corbet@lwn.net>2020-11-30 10:54:33 -0700
commitfb568273c0555097e8955643fa5d054b4e01bfc7 (patch)
treebb0bb8c6e6273e3055df529684c529c669d553c8 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h
parentDocumentation/features: Update feature lists for 5.10 (diff)
downloadwireguard-linux-fb568273c0555097e8955643fa5d054b4e01bfc7.tar.xz
wireguard-linux-fb568273c0555097e8955643fa5d054b4e01bfc7.zip
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
0 files changed, 0 insertions, 0 deletions