Skip to content

Commit dbc9bce

Browse files
committed
fix: custom see handler
1 parent 24c5480 commit dbc9bce

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

config.ld

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ ldoc.wrap = true
3030
ldoc.sort_modules = false -- Custom sorting is implemented in postprocess_html
3131

3232
ldoc.custom_see_handler("^Globals%.([^%.]+)(.*)$", function(name, extra)
33-
-- Ensure the Globals module exists
34-
local module = assert(ldoc.modules.by_name["Globals"], "Unable to get Globals module!")
35-
3633
-- Construct the URL assuming the Globals module is a sibling file
3734
local url = ("Globals.%s#%s"):format(ldoc.ext or "html", name)
3835

0 commit comments

Comments
 (0)