Skip to content
Browse files
Fix doc coverage test for "added in XXX" check
  • Loading branch information
wonder-sk authored and nyalldawson committed Aug 30, 2016
1 parent a4ffbf3 commit b0c67cd
Showing 1 changed file with 5 additions and 2 deletions.
@@ -530,12 +530,15 @@ def parseClassElem(self, e):
# test for "added in QGIS xxx" string
d = e.find('detaileddescription')
found_version_added = False
if d.find('para'):
for s in d.find('para').getiterator('simplesect'):
for para in d.getiterator('para'):
for s in para.getiterator('simplesect'):
if s.get('kind') == 'note':
for p in s.getiterator('para'):
if p.text and p.text.lower().startswith('added in'):
found_version_added = True
if found_version_added:

return documentable_members, documented_members, undocumented_members, bindable_members, found_version_added

0 comments on commit b0c67cd

Please sign in to comment.