summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorNĂ­colas F. R. A. Prado <nfraprado@collabora.com>2025-04-08 13:57:47 -0400
committerJonathan Corbet <corbet@lwn.net>2025-04-14 10:04:07 -0600
commitfb42d8dcbc3f01782b4df4ef2b69ec5a902d992e (patch)
tree0794bce6f6c19ed1d4b6cfd78c7120fff8fcd736 /scripts/lib/kdoc/kdoc_files.py
parent9f488ccd0f567ca66a146bc31e6578cba3b5abee (diff)
docs: automarkup: Move common logic to add and resolve xref to helper
Several of the markup functions contain the same code, calling into sphinx's pending_xref and resolve_xref functions to add and resolve a cross-reference, with only a few of the parameters changed (domain, reference type, markup content). Move this logic to its own function and reuse it in the markup functions. No functional change. Signed-off-by: NĂ­colas F. R. A. Prado <nfraprado@collabora.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/20250408-automarkup-resolve-xref-helper-v2-1-e0a9b8fc7fdd@collabora.com
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions