]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc/conf.py: silence warnings from breathe
authorKefu Chai <tchaikov@gmail.com>
Sun, 6 Mar 2022 06:27:50 +0000 (14:27 +0800)
committerKefu Chai <tchaikov@gmail.com>
Sun, 6 Mar 2022 06:27:55 +0000 (14:27 +0800)
breathe calls doxygen for extracting/generating docs from code.
while doxygen complains at seeing undocumented fields/func. these
warnings could fail the sphinx-build command, if it takes warnings
as errors.

in this change, these warnings are silenced.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
doc/conf.py

index 79f32d24760ec9daecaab7bdd376a8ff16f5a2e4..71d24d61104e4ad76534da1e6e3e713340070214 100644 (file)
@@ -167,7 +167,8 @@ breathe_domain_by_extension = {'py': 'py',
 breathe_doxygen_config_options = {
     'EXPAND_ONLY_PREDEF': 'YES',
     'MACRO_EXPANSION': 'YES',
-    'PREDEFINED': 'CEPH_RADOS_API= '
+    'PREDEFINED': 'CEPH_RADOS_API= ',
+    'WARN_IF_UNDOCUMENTED': 'NO',
 }
 
 # graphviz options