Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1028547?usp=email )
Change subject: [doc] remove .html suffix at python doc links ......................................................................
[doc] remove .html suffix at python doc links
the suffix is added by the documentation.
Change-Id: I589529132f225513c1acecafa91ceacd72a8cf8f --- M docs/conf.py 1 file changed, 2 insertions(+), 4 deletions(-)
Approvals: Xqt: Verified; Looks good to me, approved
diff --git a/docs/conf.py b/docs/conf.py index 5efdf3b..c3e10fe 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -498,11 +498,9 @@ # Phabricator tasks 'phab': ('https://phabricator.wikimedia.org/%s', '%s'), # Python howto link - 'pyhow': ('https://docs.python.org/3/howto/%s.html', - 'Python Howto %s'), + 'pyhow': ('https://docs.python.org/3/howto/%s', 'Python Howto %s'), # Python library link - 'pylib': ('https://docs.python.org/3/library/%s.html', - 'Python Library %s'), + 'pylib': ('https://docs.python.org/3/library/%s', 'Python Library %s'), # Generic Python link; should be used with explicit title 'python': ('https://docs.python.org/3/%s', None), }