Add enum documentation and Since
tag to the generated gir file
Fix gen-api-gtkdoc.py to also parse an enums detailed description, which may contain a `since` attribute. This makes the enums documentation and `Since` attribute end up in the final .gir file.
This commit is contained in:
@@ -271,6 +271,7 @@ class DoxyEnum(DoxyElement):
|
||||
|
||||
e = DoxyEnum(name, d)
|
||||
e.add_brief(xml.find("briefdescription"))
|
||||
e.add_detail(xml.find("detaileddescription"))
|
||||
for p in xml.findall("enumvalue"):
|
||||
e.add_member(p)
|
||||
return e
|
||||
|
Reference in New Issue
Block a user