Xqt submitted this change.
[sphinx] ignore deprecated methods
Change-Id: Iddd7096bc382205a4b74fadc30d2515661d40cbe
---
M docs/conf.py
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/conf.py b/docs/conf.py
index bbc1bb4..075f718 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -456,7 +456,7 @@
if name.startswith('__') and name.endswith('__'):
return True
if obj.__doc__ is not None \
- and obj.__doc__.startswith(('DEPRECATED', 'Deprecated')):
+ and ('DEPRECATED' in obj.__doc__ or 'Deprecated' in obj.__doc__):
return True
return skip or name in exclusions
To view, visit change 676712. To unsubscribe, or for help writing mail filters, visit settings.