diff --git a/doc/source/apis.rst b/doc/source/apis.rst index 7d94b7446..3404c472d 100644 --- a/doc/source/apis.rst +++ b/doc/source/apis.rst @@ -140,7 +140,7 @@ With Kivy, add an ``on_pause`` method to your App class, which returns True:: With the webview bootstrap, pausing should work automatically. -Under SDL2, you can handle the `appropriate events `__ (see SDL_APP_WILLENTERBACKGROUND etc.). +Under SDL2, you can handle the `appropriate events `__ (see SDL_APP_WILLENTERBACKGROUND etc.). Observing Activity result diff --git a/doc/source/conf.py b/doc/source/conf.py index 773083f98..057b6f6ea 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -321,3 +321,15 @@ def get_version(): r"https://github.com/kivy/python-for-android/blob.*", ] +# Allow redirects for URLs where we prefer to keep the original form +linkcheck_allowed_redirects = { + # Kivy chat redirects to Discord invite + r"https://chat\.kivy\.org/": r"https://discord\.com/.*", + # GitHub archive URLs redirect to codeload + r"https://github\.com/kivy/python-for-android/archive/.*": r"https://codeload\.github\.com/.*", + # GitHub gist homepage redirects to starred + r"https://gist\.github\.com/$": r"https://gist\.github\.com/.*", + # Google Play Store redirects + r"https://play\.google\.com/store/$": r"https://play\.google\.com/store/.*", +} + diff --git a/doc/source/index.rst b/doc/source/index.rst index 383e185d9..e6b2016bb 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -18,7 +18,7 @@ It can generate: It supports multiple CPU architectures. -It supports apps developed with `Kivy framework `_, but was +It supports apps developed with `Kivy framework `_, but was built to be flexible about the backend libraries (through "bootstraps"), and also supports `PySDL2 `_, and a `WebView `_ with @@ -34,7 +34,7 @@ dependencies for Android devices, and bundling it with the app's python code and dependencies. The Python code is then interpreted on the Android device. It is recommended that python-for-android be used via -`Buildozer `_, which ensures the correct +`Buildozer `_, which ensures the correct dependencies are pre-installed, and centralizes the configuration. However, python-for-android is not limited to being used with Buildozer.