summaryrefslogtreecommitdiff
path: root/script/parser
diff options
context:
space:
mode:
Diffstat (limited to 'script/parser')
-rw-r--r--script/parser/guide.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/parser/guide.lua b/script/parser/guide.lua
index 437e37b0..022be26d 100644
--- a/script/parser/guide.lua
+++ b/script/parser/guide.lua
@@ -989,6 +989,9 @@ function m.getStepRef(status, obj, mode)
or obj.type == 'doc.alias.name' then
return stepRefOfDocType(status, obj, mode)
end
+ if obj.type == 'function' then
+ return { obj }
+ end
return nil
end