Commit 3d74662f authored by Maria Dimashova's avatar Maria Dimashova

updated check_docs script and whitelist

parent 6e8b4e64
......@@ -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)
\ No newline at end of file
......@@ -58,6 +58,7 @@ CvSVM::CvSVM
CvSVM::clear
CvSVM::read
CvSVM::write
CvMLData::CvMLData
CvRTrees::CvRTrees
CvRTrees::clear
CvRTrees::read
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment