Skip to content

Commit 73f29fd

Browse files
committed
fix: Globals ref jumps to item
1 parent f2da09c commit 73f29fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

config.ld

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ end
3030

3131
--- Handles display name and link for Globals module @see / @{} references
3232
--- This may have to be modified in the future if we start having things be in subdirectories
33-
custom_see_handler("^Globals%.(.+)$", function(name)
34-
local url = "./Globals.html"
33+
custom_see_handler("^Globals%.([^%.]+)(.*)$", function(name, fieldExt)
34+
local url = ("./Globals.html%#%s"):format(name)
3535

36-
return name, url
36+
return name .. fieldExt, url
3737
end)
3838

3939
--- Postprocesses the HTML generated by LDoc.

0 commit comments

Comments
 (0)