Xqt has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/816132 )

Change subject: [doc] Fix sphinx
......................................................................

[doc] Fix sphinx

Change-Id: I76285eb8584bb1cd14895a80dccdc773b50404f5
---
M pywikibot/bot.py
M pywikibot/page/_links.py
M pywikibot/page/_pages.py
M pywikibot/site/_apisite.py
M pywikibot/time.py
M pywikibot/tools/__init__.py
6 files changed, 12 insertions(+), 12 deletions(-)

Approvals:
  Xqt: Verified; Looks good to me, approved



diff --git a/pywikibot/bot.py b/pywikibot/bot.py
index 3fd0700..91b252a 100644
--- a/pywikibot/bot.py
+++ b/pywikibot/bot.py
@@ -2263,7 +2263,7 @@
         Before adding a new claim, it checks if we can add it, using provided
         filters.

-        ..seealso:: documentation of :py:obj:`claimit.py<scripts.claimit>`
+        .. seealso:: documentation of :py:obj:`claimit.py<scripts.claimit>`

         :param exists_arg: pattern for merging existing claims with new ones
         :param logger_callback: function logging the output of the method
diff --git a/pywikibot/page/_links.py b/pywikibot/page/_links.py
index 43e7800..e814093 100644
--- a/pywikibot/page/_links.py
+++ b/pywikibot/page/_links.py
@@ -1,9 +1,9 @@
 """Objects representing internal or interwiki link in wikitext.

-..note::
-  `Link` objects defined here represent a wiki-page's title, while
-  :class:`pywikibot.Page` objects represent the page itself, including
-  its contents.
+.. note::
+   `Link` objects defined here represent a wiki-page's title, while
+   :class:`pywikibot.Page` objects represent the page itself, including
+   its contents.
 """
 #
 # (C) Pywikibot team, 2008-2022
diff --git a/pywikibot/page/_pages.py b/pywikibot/page/_pages.py
index 11a89fb..a6f4ea3 100644
--- a/pywikibot/page/_pages.py
+++ b/pywikibot/page/_pages.py
@@ -10,9 +10,9 @@
 various pages for Proofread Extensions are defined in
 ``pywikibot.proofreadpage``.

-..note:: `Link` objects represent a wiki-page's title, while
-  :class:`pywikibot.Page` objects (defined here) represent the page
-  itself, including its contents.
+.. note:: `Link` objects represent a wiki-page's title, while
+   :class:`pywikibot.Page` objects (defined here) represent the page
+   itself, including its contents.
 """
 #
 # (C) Pywikibot team, 2008-2022
diff --git a/pywikibot/site/_apisite.py b/pywikibot/site/_apisite.py
index 8c4cdd0..c1e14b5 100644
--- a/pywikibot/site/_apisite.py
+++ b/pywikibot/site/_apisite.py
@@ -509,7 +509,7 @@
     def userinfo(self) -> None:
         """Delete cached userinfo.

-        ..versionadded:: 5.5
+        .. versionadded:: 5.5
         """
         if hasattr(self, '_userinfo'):
             del self._userinfo
@@ -581,7 +581,7 @@
     def globaluserinfo(self) -> None:
         """Delete cached globaluserinfo of current user.
 
-        ..versionadded:: 7.0
+        .. versionadded:: 7.0
         """
         username = self.username()
         assert username is not None
diff --git a/pywikibot/time.py b/pywikibot/time.py
index b5240a9..eea240a 100644
--- a/pywikibot/time.py
+++ b/pywikibot/time.py
@@ -25,7 +25,7 @@
     'TZoneFixedOffset'
 )

-#: ..versionadded:: 7.5
+#: .. versionadded:: 7.5
 MW_KEYS = types.MappingProxyType({
     's': 'seconds',
     'h': 'hours',
diff --git a/pywikibot/tools/__init__.py b/pywikibot/tools/__init__.py
index 39758f6..1ff1f98 100644
--- a/pywikibot/tools/__init__.py
+++ b/pywikibot/tools/__init__.py
@@ -634,7 +634,7 @@
     >>> data
     [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19]

-    ..versionadded:: 3.0
+    .. versionadded:: 3.0
     """

     def __init__(self, group=None, target=None, name: str = 'GeneratorThread',

--
To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/816132
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: I76285eb8584bb1cd14895a80dccdc773b50404f5
Gerrit-Change-Number: 816132
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-MessageType: merged
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to