jenkins-bot submitted this change.

View Change

Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified
[doc] Fix sphinx roles

Change-Id: Ia1c2b24afb8bb07c25fe0747aab424b2ab8c03b0
---
M pywikibot/families/lingualibre_family.py
M pywikibot/i18n.py
M pywikibot/site/_apisite.py
M pywikibot/site/_generators.py
M setup.py
5 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/pywikibot/families/lingualibre_family.py b/pywikibot/families/lingualibre_family.py
index 99a36ad..6b81c93 100644
--- a/pywikibot/families/lingualibre_family.py
+++ b/pywikibot/families/lingualibre_family.py
@@ -1,9 +1,9 @@
"""Family module for Lingua Libre.

-.. versionaddded: 6.5
+.. versionadded:: 6.5
"""
#
-# (C) Pywikibot team, 2021-2023
+# (C) Pywikibot team, 2021-2024
#
# Distributed under the terms of the MIT license.
#
@@ -16,7 +16,7 @@

"""Family class for Lingua Libre.

- .. versionaddded: 6.5
+ .. versionadded:: 6.5
"""

name = 'lingualibre'
diff --git a/pywikibot/i18n.py b/pywikibot/i18n.py
index 51146cc..9a5ceb7 100644
--- a/pywikibot/i18n.py
+++ b/pywikibot/i18n.py
@@ -15,7 +15,7 @@
See :py:obj:`twtranslate` for more information on the messages.
"""
#
-# (C) Pywikibot team, 2004-2023
+# (C) Pywikibot team, 2004-2024
#
# Distributed under the terms of the MIT license.
#
@@ -657,7 +657,7 @@
) -> str:
"""Get the bot prefix string like 'Bot: ' including space delimiter.

- .. note: If *source* is a str and ``config.bot_prefix`` is set to
+ .. note:: If *source* is a str and ``config.bot_prefix`` is set to
None, it cannot be determined whether the current user is a bot
account. In this cas the prefix will be returned.
.. versionadded:: 8.1
diff --git a/pywikibot/site/_apisite.py b/pywikibot/site/_apisite.py
index 4924b60..729a7ec 100644
--- a/pywikibot/site/_apisite.py
+++ b/pywikibot/site/_apisite.py
@@ -2516,7 +2516,7 @@

Requires appropriate privileges.

- .. seealso: :api:`Delete`
+ .. seealso:: :api:`Delete`

Page to be deleted can be given either as Page object or as pageid.
To delete a specific version of an image the oldimage identifier
diff --git a/pywikibot/site/_generators.py b/pywikibot/site/_generators.py
index 6d954e3..1ee5a29 100644
--- a/pywikibot/site/_generators.py
+++ b/pywikibot/site/_generators.py
@@ -1856,7 +1856,7 @@
Pages are listed in a fixed sequence, only the starting point is
random.

- .. seealso: :api:`Random`
+ .. seealso:: :api:`Random`
.. versionchanged:: 9.0
Raises ``TypeError`` instead of ``AssertionError`` if
*redirects* is invalid.
diff --git a/setup.py b/setup.py
index 5428b45..cb14e17 100755
--- a/setup.py
+++ b/setup.py
@@ -17,7 +17,7 @@
``pywikibot.__metadata__.py`` and adding developmental identifier
- upload this patchset to Gerrit and merge it.

-.. warning: do not upload a development release to pypi.
+.. warning:: do not upload a development release to pypi.
"""
#
# (C) Pywikibot team, 2009-2024

To view, visit change 1030593. To unsubscribe, or for help writing mail filters, visit settings.

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