updated check_docs script and whitelist
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user