updated check_docs script and whitelist

This commit is contained in:
Maria Dimashova 2011-06-17 11:33:06 +00:00
parent 6e8b4e646a
commit 3d74662f5a
2 changed files with 5 additions and 2 deletions

View File

@ -82,7 +82,9 @@ class RSTParser(object):
lineno += 1
ll = l.strip()
if balance == 0:
if not ll.startswith(".. c:function::") and not ll.startswith(".. cpp:function::"):
if not ll.startswith(".. c:function::") and \
not ll.startswith(".. cpp:function::") and \
not ll.startswith(".. ocv:function::"):
continue
fdecl = ll[ll.find("::") + 3:]
elif balance > 0:
@ -180,4 +182,4 @@ for m in opencv_module_list:
print "\n\n*************************** " + m + " *************************\n"
p.check_module_docs(m)

View File

@ -58,6 +58,7 @@ CvSVM::CvSVM
CvSVM::clear
CvSVM::read
CvSVM::write
CvMLData::CvMLData
CvRTrees::CvRTrees
CvRTrees::clear
CvRTrees::read