summaryrefslogtreecommitdiff
path: root/tools/docs
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+huawei@kernel.org>2026-03-06 16:45:45 +0100
committerJonathan Corbet <corbet@lwn.net>2026-03-09 10:34:38 -0600
commit4160533d058cfa667159e8d6a46fe42c738a4a84 (patch)
tree4f7db1b0c61d1ef9e1d671fc49df6cbcabebb144 /tools/docs
parent1a63342a2774c734b73841fdfa41cf4d8d58cd94 (diff)
downloadlinux-next-4160533d058cfa667159e8d6a46fe42c738a4a84.tar.gz
linux-next-4160533d058cfa667159e8d6a46fe42c738a4a84.zip
docs: kdoc_output: fix naming for DOC markups
Right now, DOC markups aren't being handled properly, as it was using the same name for all output. Fix it by filling the title argument on a different way. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Message-ID: <11d809e5c4bec23240d3ace3f342dbb2a9263446.1772810752.git.mchehab+huawei@kernel.org>
Diffstat (limited to 'tools/docs')
-rwxr-xr-xtools/docs/sphinx-build-wrapper2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/docs/sphinx-build-wrapper b/tools/docs/sphinx-build-wrapper
index d3f0dba13da1..2c63d28f639d 100755
--- a/tools/docs/sphinx-build-wrapper
+++ b/tools/docs/sphinx-build-wrapper
@@ -625,7 +625,7 @@ class SphinxBuilder:
# Use shlex here, as it handles well parameters with commas
args = shlex.split(line)
- fname = f"{args[3]}.{args[2]}"
+ fname = f"{args[1]}.{args[2]}"
fname = fname.replace("/", " ")
fname = f"{output_dir}/{fname}"