jenkins-bot submitted this change.
[doc] Fix version strings
Change-Id: I257a8b6c2d8e4c1f32798597c59fd17858a0085e
---
M pywikibot/bot_choice.py
M pywikibot/config.py
M pywikibot/families/commons_family.py
M pywikibot/families/foundation_family.py
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/pywikibot/bot_choice.py b/pywikibot/bot_choice.py
index 5a77185..b322367 100644
--- a/pywikibot/bot_choice.py
+++ b/pywikibot/bot_choice.py
@@ -544,7 +544,7 @@
"""An option to select multiple items from a list.
- .. versionadded 3.0
+ .. versionadded:: 3.0
"""
def test(self, value: str) -> bool:
@@ -575,7 +575,7 @@
"""An option to show a list and select multiple items.
- .. versionadded 3.0
+ .. versionadded:: 3.0
"""
diff --git a/pywikibot/config.py b/pywikibot/config.py
index ae751f4..64cc696 100644
--- a/pywikibot/config.py
+++ b/pywikibot/config.py
@@ -27,7 +27,7 @@
- datafilepath
- shortpath
-.. versionchanged 6.2::
+.. versionchanged:: 6.2
config2 was renamed to config
"""
#
diff --git a/pywikibot/families/commons_family.py b/pywikibot/families/commons_family.py
index af7e007..718f3e8 100644
--- a/pywikibot/families/commons_family.py
+++ b/pywikibot/families/commons_family.py
@@ -42,6 +42,6 @@
def interface(self, code) -> str:
"""Return 'DataSite' to enable structured data.
- .. versionadded 6.5
+ .. versionadded:: 6.5
"""
return 'DataSite'
diff --git a/pywikibot/families/foundation_family.py b/pywikibot/families/foundation_family.py
index d0b7556..35e0d86 100644
--- a/pywikibot/families/foundation_family.py
+++ b/pywikibot/families/foundation_family.py
@@ -1,9 +1,9 @@
"""Family module for Foundation wiki.
-.. versionadded 3.0
+.. versionadded:: 3.0
"""
#
-# (C) Pywikibot team, 2019-2021
+# (C) Pywikibot team, 2019-2022
#
# Distributed under the terms of the MIT license.
#
@@ -14,7 +14,7 @@
"""Family class for Foundation wiki.
- .. versionadded 3.0
+ .. versionadded:: 3.0
"""
name = 'foundation'
To view, visit change 856989. To unsubscribe, or for help writing mail filters, visit settings.