jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/676808 )
Change subject: [sphinx] Bugfix for lines index ......................................................................
[sphinx] Bugfix for lines index
Change-Id: Ic5dcf92903218da5d5c2407203443a00c21e62e3 --- 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 4490491..7faaa7f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -409,7 +409,7 @@ length = 0 for index, line in enumerate(lines): if line == 'Initializer.': - lines[line] = '' + lines[index] = '' elif line == '¶ms;': lines[index] = ('This script supports use of ' ':py:mod:`pywikibot.pagegenerators` arguments.')