summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@osg.samsung.com>2016-08-26 14:31:33 +0100
committerDaniel Kolesa <d.kolesa@osg.samsung.com>2016-08-26 14:31:33 +0100
commitcdaa4ab68c8cca562a25e4330f34193ac6efa1f1 (patch)
tree45ebb8c3e5bc19b7d1bb7550749762cca0be63ea /src
parentb04c0cf241763d6153860eaa6520adc0cd26d7d9 (diff)
docs: generate proper title for all pages
Diffstat (limited to 'src')
-rw-r--r--src/scripts/elua/apps/gendoc.lua18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/scripts/elua/apps/gendoc.lua b/src/scripts/elua/apps/gendoc.lua
index 44aea0b..edd50a9 100644
--- a/src/scripts/elua/apps/gendoc.lua
+++ b/src/scripts/elua/apps/gendoc.lua
@@ -353,7 +353,7 @@ local build_functable = function(f, title, ctitle, cl, tp)
353end 353end
354 354
355local build_ref = function() 355local build_ref = function()
356 local f = writer.Writer("reference") 356 local f = writer.Writer("reference", "EFL Reference")
357 f:write_h("EFL Reference", 2) 357 f:write_h("EFL Reference", 2)
358 358
359 local classes = {} 359 local classes = {}
@@ -689,7 +689,7 @@ end
689 689
690local build_class = function(cl) 690local build_class = function(cl)
691 local cln = cl:nspaces_get() 691 local cln = cl:nspaces_get()
692 local f = writer.Writer(cln) 692 local f = writer.Writer(cln, cl:full_name_get())
693 stats.check_class(cl) 693 stats.check_class(cl)
694 694
695 f:write_h(cl:full_name_get(), 2) 695 f:write_h(cl:full_name_get(), 2)
@@ -758,7 +758,7 @@ end
758 758
759local build_alias = function(tp) 759local build_alias = function(tp)
760 local ns = dtree.Node.nspaces_get(tp, "alias") 760 local ns = dtree.Node.nspaces_get(tp, "alias")
761 local f = writer.Writer(ns) 761 local f = writer.Writer(ns, tp:full_name_get())
762 stats.check_alias(tp) 762 stats.check_alias(tp)
763 763
764 write_tsigs(f, tp, ns) 764 write_tsigs(f, tp, ns)
@@ -772,7 +772,7 @@ end
772 772
773local build_struct = function(tp) 773local build_struct = function(tp)
774 local ns = dtree.Node.nspaces_get(tp, "struct") 774 local ns = dtree.Node.nspaces_get(tp, "struct")
775 local f = writer.Writer(ns) 775 local f = writer.Writer(ns, tp:full_name_get())
776 stats.check_struct(tp) 776 stats.check_struct(tp)
777 777
778 write_tsigs(f, tp, ns) 778 write_tsigs(f, tp, ns)
@@ -798,7 +798,7 @@ end
798 798
799local build_enum = function(tp) 799local build_enum = function(tp)
800 local ns = dtree.Node.nspaces_get(tp, "enum") 800 local ns = dtree.Node.nspaces_get(tp, "enum")
801 local f = writer.Writer(ns) 801 local f = writer.Writer(ns, tp:full_name_get())
802 stats.check_enum(tp) 802 stats.check_enum(tp)
803 803
804 write_tsigs(f, tp, ns) 804 write_tsigs(f, tp, ns)
@@ -823,7 +823,7 @@ local build_enum = function(tp)
823end 823end
824 824
825local build_variable = function(v, constant) 825local build_variable = function(v, constant)
826 local f = writer.Writer(v:nspaces_get()) 826 local f = writer.Writer(v:nspaces_get(), v:full_name_get())
827 if constant then 827 if constant then
828 stats.check_constant(v) 828 stats.check_constant(v)
829 else 829 else
@@ -902,7 +902,7 @@ end
902 902
903build_method = function(fn, cl) 903build_method = function(fn, cl)
904 local mns = fn:nspaces_get(cl) 904 local mns = fn:nspaces_get(cl)
905 local f = writer.Writer(mns) 905 local f = writer.Writer(mns, cl:full_name_get() .. "." .. fn:name_get())
906 stats.check_method(fn, cl) 906 stats.check_method(fn, cl)
907 907
908 f:write_h(cl:full_name_get() .. "." .. fn:name_get(), 2) 908 f:write_h(cl:full_name_get() .. "." .. fn:name_get(), 2)
@@ -931,7 +931,7 @@ end
931 931
932build_property = function(fn, cl) 932build_property = function(fn, cl)
933 local pns = fn:nspaces_get(cl) 933 local pns = fn:nspaces_get(cl)
934 local f = writer.Writer(pns) 934 local f = writer.Writer(pns, cl:full_name_get() .. "." .. fn:name_get())
935 935
936 local ft = fn:type_get() 936 local ft = fn:type_get()
937 local isget = (ft == fn.PROP_GET or ft == fn.PROPERTY) 937 local isget = (ft == fn.PROP_GET or ft == fn.PROPERTY)
@@ -1006,7 +1006,7 @@ end
1006 1006
1007build_event = function(ev, cl) 1007build_event = function(ev, cl)
1008 local evn = ev:nspaces_get(cl) 1008 local evn = ev:nspaces_get(cl)
1009 local f = writer.Writer(evn) 1009 local f = writer.Writer(evn, cl:full_name_get() .. ": " .. ev:name_get())
1010 1010
1011 f:write_h(cl:full_name_get() .. ": " .. ev:name_get(), 2) 1011 f:write_h(cl:full_name_get() .. ": " .. ev:name_get(), 2)
1012 1012