jenkins-bot has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/683906 )
Change subject: [sphinx] Remove single "Initializer." line from doc in
exceptions
......................................................................
[sphinx] Remove single "Initializer." line from doc in exceptions
Change-Id: I05b6d5849748271507c4b5a9f1e3bf5330892670
---
M docs/conf.py
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/docs/conf.py b/docs/conf.py
index 40726e9..d88005d 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -399,7 +399,7 @@
def pywikibot_docstring_fixups(app, what, name, obj, options, lines):
"""Fixup docstrings."""
- if what != 'class':
+ if what not in ('class', 'exception'):
return
if lines and lines[0] == 'Initializer.':
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/683906
To unsubscribe, or for help writing mail filters, visit
https://gerrit.wikimedia.org/r/settings
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: I05b6d5849748271507c4b5a9f1e3bf5330892670
Gerrit-Change-Number: 683906
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged