Xqt submitted this change.

View Change

Approvals: jenkins-bot: Verified Xqt: Looks good to me, approved
[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.

Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Iddd7096bc382205a4b74fadc30d2515661d40cbe
Gerrit-Change-Number: 676712
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <info@gno.de>
Gerrit-Reviewer: Xqt <info@gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged