From 08dd06c8b586828a4c9eed1bf516a25dd92c6713 Mon Sep 17 00:00:00 2001 From: Andre Miras Date: Mon, 20 Jul 2026 17:36:17 +0000 Subject: [PATCH] :green_heart: Fix documentation link checks --- doc/source/buildoptions.rst | 4 ++-- doc/source/conf.py | 3 +++ 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/source/buildoptions.rst b/doc/source/buildoptions.rst index ac1f3040b..de95e5893 100644 --- a/doc/source/buildoptions.rst +++ b/doc/source/buildoptions.rst @@ -63,7 +63,7 @@ options (this list may not be exhaustive): python-for-android computes it from ``--version``. If the computed value is too large, keep the display version in ``--version`` and set a valid ``--numeric-version``. See Android's - `versionCode documentation `__. + `versionCode documentation `__. - ``--orientation``: The orientations that the app will display in. (Available options are ``portrait``, ``landscape``, ``portrait-reverse``, ``landscape-reverse``). Since Android ignores ``android:screenOrientation`` when in multi-window mode @@ -159,7 +159,7 @@ ready. python-for-android computes it from ``--version``. If the computed value is too large, keep the display version in ``--version`` and set a valid ``--numeric-version``. See Android's - `versionCode documentation `__. + `versionCode documentation `__. - ``--orientation``: The orientations that the app will display in. (Available options are ``portrait``, ``landscape``, ``portrait-reverse``, ``landscape-reverse``). Since Android ignores ``android:screenOrientation`` when in multi-window mode diff --git a/doc/source/conf.py b/doc/source/conf.py index 057b6f6ea..ecb22b701 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -319,6 +319,9 @@ def get_version(): # GitHub parses anchor tags differently to pure HTML r"https://github.com/kivy/python-for-android/blob.*", + + # Ubuntu Pastebin asks automated programs not to access the site. + r"https://pastebin\.ubuntu\.com/$", ] # Allow redirects for URLs where we prefer to keep the original form