Skip to content

Commit 33598d1

Browse files
authored
Merge pull request #3355 from AndreMiras/fix/documentation_links
💚 Fix documentation link checks
2 parents 830bb13 + 08dd06c commit 33598d1

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

doc/source/buildoptions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ options (this list may not be exhaustive):
6363
python-for-android computes it from ``--version``. If the computed value is
6464
too large, keep the display version in ``--version`` and set a valid
6565
``--numeric-version``. See Android's
66-
`versionCode documentation <https://developer.android.com/tools/publishing/versioning>`__.
66+
`versionCode documentation <https://developer.android.com/studio/publish/versioning>`__.
6767
- ``--orientation``: The orientations that the app will display in.
6868
(Available options are ``portrait``, ``landscape``, ``portrait-reverse``, ``landscape-reverse``).
6969
Since Android ignores ``android:screenOrientation`` when in multi-window mode
@@ -159,7 +159,7 @@ ready.
159159
python-for-android computes it from ``--version``. If the computed value is
160160
too large, keep the display version in ``--version`` and set a valid
161161
``--numeric-version``. See Android's
162-
`versionCode documentation <https://developer.android.com/tools/publishing/versioning>`__.
162+
`versionCode documentation <https://developer.android.com/studio/publish/versioning>`__.
163163
- ``--orientation``: The orientations that the app will display in.
164164
(Available options are ``portrait``, ``landscape``, ``portrait-reverse``, ``landscape-reverse``).
165165
Since Android ignores ``android:screenOrientation`` when in multi-window mode

doc/source/conf.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,9 @@ def get_version():
319319

320320
# GitHub parses anchor tags differently to pure HTML
321321
r"https://github.com/kivy/python-for-android/blob.*",
322+
323+
# Ubuntu Pastebin asks automated programs not to access the site.
324+
r"https://pastebin\.ubuntu\.com/$",
322325
]
323326

324327
# Allow redirects for URLs where we prefer to keep the original form

0 commit comments

Comments
 (0)