diff --git a/doc/check_docs.py b/doc/check_docs.py index 46d7775f4c..42fa642524 100644 --- a/doc/check_docs.py +++ b/doc/check_docs.py @@ -84,7 +84,8 @@ class RSTParser(object): if balance == 0: if not ll.startswith(".. c:function::") and \ not ll.startswith(".. cpp:function::") and \ - not ll.startswith(".. ocv:function::"): + not ll.startswith(".. ocv:function::") and \ + not ll.startswith(".. ocv:cfunction::"): continue fdecl = ll[ll.find("::") + 3:] elif balance > 0: