From: Kefu Chai Date: Sun, 6 Mar 2022 06:27:50 +0000 (+0800) Subject: doc/conf.py: silence warnings from breathe X-Git-Tag: v16.2.8~24^2~3 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a3eb662e6cfe037839289eb0c6248d95e89dba5b;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 (cherry picked from commit 8891d653198c30f9578499126e1ee9ee67eca04a) --- diff --git a/doc/conf.py b/doc/conf.py index 8ba08573ae7..9011b7497fb 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -143,7 +143,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', } # edit_on_github options