From: Kefu Chai Date: Sun, 6 Mar 2022 06:27:50 +0000 (+0800) Subject: doc/conf.py: silence warnings from breathe X-Git-Tag: v18.0.0~1277^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8891d653198c30f9578499126e1ee9ee67eca04a;p=ceph.git doc/conf.py: silence warnings from breathe 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 --- diff --git a/doc/conf.py b/doc/conf.py index 79f32d24760ec..71d24d61104e4 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -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