From: Maria Dimashova Date: Fri, 17 Jun 2011 11:33:06 +0000 (+0000) Subject: updated check_docs script and whitelist X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~6947 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3d74662f5aab8303e27011cc750e64baed9bfafd;p=platform%2Fupstream%2Fopencv.git updated check_docs script and whitelist --- diff --git a/doc/check_docs.py b/doc/check_docs.py index 3a2bdb1..46d7775 100644 --- a/doc/check_docs.py +++ b/doc/check_docs.py @@ -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 + diff --git a/doc/check_docs_whitelist.txt b/doc/check_docs_whitelist.txt index 0212cdc..fd78901 100644 --- a/doc/check_docs_whitelist.txt +++ b/doc/check_docs_whitelist.txt @@ -58,6 +58,7 @@ CvSVM::CvSVM CvSVM::clear CvSVM::read CvSVM::write +CvMLData::CvMLData CvRTrees::CvRTrees CvRTrees::clear CvRTrees::read