From 3d74662f5aab8303e27011cc750e64baed9bfafd Mon Sep 17 00:00:00 2001 From: Maria Dimashova Date: Fri, 17 Jun 2011 11:33:06 +0000 Subject: [PATCH] updated check_docs script and whitelist --- doc/check_docs.py | 6 ++++-- doc/check_docs_whitelist.txt | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) 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 -- 2.7.4