summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Williams <andy@andywilliams.me>2018-01-14 00:05:59 +0000
committerAndy Williams <andy@andywilliams.me>2018-01-14 00:05:59 +0000
commit8a71ac57ab0c22c3fe76e6f6111be998c077d07b (patch)
treea7c640c28d9884d60d0bd29045203bdf6e942db9
parent90e186a0c8631764cf6f771a9f431b78ad326d8a (diff)
docs: Show when classes really are top level EFL namespace
-rw-r--r--src/scripts/elua/apps/gendoc.lua11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/scripts/elua/apps/gendoc.lua b/src/scripts/elua/apps/gendoc.lua
index 55a380633c..3ae12e1191 100644
--- a/src/scripts/elua/apps/gendoc.lua
+++ b/src/scripts/elua/apps/gendoc.lua
@@ -306,11 +306,16 @@ end
306-- builders 306-- builders
307 307
308local nspaces_group = function(ns) 308local nspaces_group = function(ns)
309 if ns[1] == "efl" and (ns[2] ~= "class" and ns[2] ~= "interface" and ns[2] ~= "object" and ns[2] ~= "promise") then 309 if #ns <= 2 then
310 return ns[1] .. "." .. ns[2] 310 return ns[1]
311 end 311 end
312 312
313 return ns[1] 313 if ns[1] == "efl" and (ns[2] == "class" or ns[2] == "interface" or
314 ns[2] == "object" or ns[2] == "promise") then
315 return ns[1]
316 end
317
318 return ns[1] .. "." .. ns[2]
314end 319end
315 320
316local nspaces_filter = function(items, ns) 321local nspaces_filter = function(items, ns)