jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/951063 )
Change subject: [doc] Fix some sphinx warnings
......................................................................
[doc] Fix some sphinx warnings
Change-Id: Ib4835feb67b0a6a6d393ab98089c0ef60e1090fe
---
M scripts/transferbot.py
M pywikibot/scripts/generate_family_file.py
2 files changed, 14 insertions(+), 5 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/pywikibot/scripts/generate_family_file.py b/pywikibot/scripts/generate_family_file.py
index e26a566..5b48299 100755
--- a/pywikibot/scripts/generate_family_file.py
+++ b/pywikibot/scripts/generate_family_file.py
@@ -29,7 +29,7 @@
[s]trict can be given for <dointerwiki> parameter to ensure that
sites are from the given domain.
.. versionchanged:: 8.4
- If the url scheme is missing, ``https```will be used.
+ If the url scheme is missing, ``https`` will be used.
"""
#
# (C) Pywikibot team, 2010-2023
diff --git a/scripts/transferbot.py b/scripts/transferbot.py
index 6aa75c7..22a6a3e 100755
--- a/scripts/transferbot.py
+++ b/scripts/transferbot.py
@@ -18,7 +18,7 @@
-target Use page generator of the target site
-Internal links are *not* repaired!
+.. warning:: Internal links are *not* repaired!
Pages to work on can be specified using any of:
@@ -31,18 +31,18 @@
the Arabic Wiktionary, adding "Wiktionary:Import enwp/" as prefix:
python pwb.py transferbot -family:wikipedia -lang:en -cat:"Query service" \
--tofamily:wiktionary -tolang:ar -prefix:"Wiktionary:Import enwp/"
+ -tofamily:wiktionary -tolang:ar -prefix:"Wiktionary:Import enwp/"
Copy the template "Query service" from the English Wikipedia to the
Arabic Wiktionary:
python pwb.py transferbot -family:wikipedia -lang:en -tofamily:wiktionary \
--tolang:ar -page:"Template:Query service"
+ -tolang:ar -page:"Template:Query service"
Copy 10 wanted templates of German Wikipedia from English Wikipedia to German:
python pwb.py transferbot -family:wikipedia -lang:en -tolang:de \
--wantedtemplates:10 -target
+ -wantedtemplates:10 -target
"""
#
# (C) Pywikibot team, 2014-2023
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/951063
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: Ib4835feb67b0a6a6d393ab98089c0ef60e1090fe
Gerrit-Change-Number: 951063
Gerrit-PatchSet: 2
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: D3r1ck01 <dalangi-ctr(a)wikimedia.org>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged
jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/950804 )
Change subject: Revert "[doc] Use Sphinx 7.2.2 for documentation"
......................................................................
Revert "[doc] Use Sphinx 7.2.2 for documentation"
This partly reverts commit f41e5057c7b032f73cccef6c81b8db5008e15cd6.
Sphinx 7.2.2 fails due to
https://github.com/sphinx-doc/sphinx/issues/11625
Change-Id: If66ff2f1f57b0d5f575be11211cef0226a04648b
---
M docs/conf.py
M docs/requirements.txt
2 files changed, 16 insertions(+), 2 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/docs/conf.py b/docs/conf.py
index 86f64aa..f8edf4d 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -43,7 +43,7 @@
# If your documentation needs a minimal Sphinx version, state it here.
#
-needs_sphinx = '7.2.2'
+needs_sphinx = '7.1.0'
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
diff --git a/docs/requirements.txt b/docs/requirements.txt
index d6cd828..6a5a53d 100644
--- a/docs/requirements.txt
+++ b/docs/requirements.txt
@@ -1,6 +1,6 @@
# This is a PIP requirements file for building Sphinx documentation of pywikibot
# requirements.txt is also needed
-sphinx >= 7.2.2
+sphinx >= 7.1.0
rstcheck >=6.1.2
sphinxext-opengraph >= 0.8.2
furo >= 2023.8.17
--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/950804
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: If66ff2f1f57b0d5f575be11211cef0226a04648b
Gerrit-Change-Number: 950804
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <info(a)gno.de>
Gerrit-Reviewer: Xqt <info(a)gno.de>
Gerrit-Reviewer: jenkins-bot
Gerrit-MessageType: merged