docgen: topmost line in inheritance hierarchy is bold
authorDaniel Kolesa <d.kolesa@osg.samsung.com>
Thu, 31 Mar 2016 13:40:27 +0000 (14:40 +0100)
committerDaniel Kolesa <d.kolesa@osg.samsung.com>
Thu, 12 May 2016 10:59:08 +0000 (11:59 +0100)
gendoc.lua

index fd25765..f5da5e1 100644 (file)
@@ -320,6 +320,9 @@ build_inherits = function(cl, t, lvl)
     lbuf:write_link(gen_namespaces(cl, cltp, true), cl:full_name_get())
     lbuf:write_raw(" ")
     lbuf:write_i("(" .. cltp .. ")")
+    if lvl == 0 then
+        lbuf:write_b(lbuf:finish())
+    end
     t[#t + 1] = { lvl, lbuf:finish() }
     for cln in cl:inherits_get() do
         local acl = eolian.class_get_by_name(cln)