aboutsummaryrefslogtreecommitdiff
path: root/doc/sphinx/kerneldoc.py
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2024-01-17 09:27:23 -0500
committerTom Rini <trini@konsulko.com>2024-01-17 09:27:23 -0500
commitbdaa0b27b3b384a8dbe2dc9d48ce870b0854d6ec (patch)
tree13cfd6369c9f16f11903a0c80c53047904307cd4 /doc/sphinx/kerneldoc.py
parent106332d6cc583c4339e07020989d09b567900a59 (diff)
parent21c856797e2735fbd4e8b900803e6c42eae8d434 (diff)
Merge tag 'efi-2024-04-rc1-2' of https://source.denx.de/u-boot/custodians/u-boot-efi
Documentation: * add generated index to table of contents * create index entries for commands * update Python packages used to build the documentation * fix typos in dfu documentation UEFI: * split unrelated code from efi_bootmgr.c * rename CONFIG_BOOTEFI_BOOTMGR to CONFIG_EFI_BOOTMGR * net: tftp: remove explicit EFI configuration dependency * fs: remove explicit EFI configuration dependency Other: * Add Goldfish RTC driver and make it available on RISC-V QEMU
Diffstat (limited to 'doc/sphinx/kerneldoc.py')
-rw-r--r--doc/sphinx/kerneldoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/sphinx/kerneldoc.py b/doc/sphinx/kerneldoc.py
index 8189c33b9d..01a55429c5 100644
--- a/doc/sphinx/kerneldoc.py
+++ b/doc/sphinx/kerneldoc.py
@@ -138,7 +138,7 @@ class KernelDocDirective(Directive):
lineoffset = int(match.group(1)) - 1
# we must eat our comments since the upset the markup
else:
- doc = env.srcdir + "/" + env.docname + ":" + str(self.lineno)
+ doc = str(env.srcdir) + "/" + env.docname + ":" + str(self.lineno)
result.append(line, doc + ": " + filename, lineoffset)
lineoffset += 1