Suppress autodoc warnings

Change-Id: I66e3dcee93320e7e130d90dedac43405e7a453f6
Signed-off-by: Clif Houck <me@clifhouck.com>
This commit is contained in:
Clif Houck
2026-02-23 13:39:15 -06:00
parent 1b1bd3a1ff
commit acd3468c05

View File

@@ -145,7 +145,9 @@ exclude_patterns = ['api/ironic.drivers.modules.ansible.playbooks.*',
# Ignore the following warning: WARNING: while setting up extension
# wsmeext.sphinxext: directive 'autoattribute' is already registered,
# it will be overridden.
suppress_warnings = ['app.add_directive']
# NOTE(clif) Also suppress autodoc warnings as a whole since it seems
# impossible to only suppress mocked imports warnings.
suppress_warnings = ['app.add_directive', 'autodoc']
# -- Options for HTML output --------------------------------------------------