summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2017-11-24 18:25:56 +0100
committerRémi Verschelde <rverschelde@gmail.com>2017-11-24 18:25:56 +0100
commitf5c513ca7beef75759cdff4d50760aebe7118df2 (patch)
treea3f57e30ddf8b6919d7d39facda13647d3a8bff8
parent92f07fefcd334686e81f56555d83530ae6741c2b (diff)
doc status: Partial revert of e23454d, setgets are no longer listed
-rw-r--r--doc/tools/doc_status.py20
1 files changed, 2 insertions, 18 deletions
diff --git a/doc/tools/doc_status.py b/doc/tools/doc_status.py
index 170ded9f50..ab74c0b9d6 100644
--- a/doc/tools/doc_status.py
+++ b/doc/tools/doc_status.py
@@ -245,21 +245,6 @@ class ClassStatus:
status = ClassStatus()
status.name = c.attrib['name']
- # setgets do not count
- methods = []
- for tag in list(c):
- if tag.tag in ['methods']:
- for sub_tag in list(tag):
- methods.append(sub_tag.attrib['name'])
- if tag.tag in ['members']:
- for sub_tag in list(tag):
- try:
- if(sub_tag.attrib['setter'].startswith('_') == False):
- methods.remove(sub_tag.attrib['setter'])
- if(sub_tag.attrib['getter'].startswith('_') == False):
- methods.remove(sub_tag.attrib['getter'])
- except:
- pass
for tag in list(c):
if tag.tag == 'brief_description':
@@ -270,9 +255,8 @@ class ClassStatus:
elif tag.tag in ['methods', 'signals']:
for sub_tag in list(tag):
- if sub_tag.attrib['name'] in methods or tag.tag == 'signals':
- descr = sub_tag.find('description')
- status.progresses[tag.tag].increment(len(descr.text.strip()) > 0)
+ descr = sub_tag.find('description')
+ status.progresses[tag.tag].increment(len(descr.text.strip()) > 0)
elif tag.tag in ['constants', 'members']:
for sub_tag in list(tag):
status.progresses[tag.tag].increment(len(sub_tag.text.strip()) > 0)