forked from enlightenment/efl
docgen: fix generation and generate notes correctly
This commit is contained in:
parent
9ec1b4fa53
commit
e46d6d41d2
|
@ -224,7 +224,7 @@ M.Class = Node:clone {
|
||||||
end
|
end
|
||||||
ret = {}
|
ret = {}
|
||||||
for cl in self.class:inherits_get() do
|
for cl in self.class:inherits_get() do
|
||||||
ret[#ret + 1] = cl
|
ret[#ret + 1] = M.Class(cl)
|
||||||
end
|
end
|
||||||
self._cache_inhc = ret
|
self._cache_inhc = ret
|
||||||
return ret
|
return ret
|
||||||
|
|
|
@ -407,7 +407,8 @@ writers["dokuwiki"] = util.Object:clone {
|
||||||
local hasraw, hasnote = false, false
|
local hasraw, hasnote = false, false
|
||||||
while tokp:tokenize() do
|
while tokp:tokenize() do
|
||||||
local tp = tokp:type_get()
|
local tp = tokp:type_get()
|
||||||
if notetypes[tp] then
|
local tag = notetypes[tp]
|
||||||
|
if tag then
|
||||||
self:write_raw(tag)
|
self:write_raw(tag)
|
||||||
hasnote = true
|
hasnote = true
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue