Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💚 Fix sphinx documentation build errors #3091

Merged
merged 1 commit into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion doc/source/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ You can also test the master branch from Github using::
pip install git+https://github.com/kivy/python-for-android.git

Installing Prerequisites
~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~

p4a requires a few dependencies to be installed on your system to work
properly. While we're working on a way to automate pre-requisites checks,
Expand Down
5 changes: 3 additions & 2 deletions doc/source/recipes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,10 @@ For example, when downloading from a private github repository, you can specify
```

(For the DOWNLOAD_HEADERS_my-package-name environment variable - specify as a JSON formatted set of values)
```
.. code-block:: bash

[["Authorization","token <your personal access token>"],["Accept", "application/vnd.github+json"]]
```

The actual build process takes place via three core methods::

def prebuild_arch(self, arch):
Expand Down
4 changes: 2 additions & 2 deletions pythonforandroid/recipe.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,7 @@ class Recipe(metaclass=RecipeMeta):
keys should be the generated libraries and the values the relative path of
the library inside his build folder. This dict will be used to perform
different operations:

- copy the library into the right location, depending on if it's shared
or static)
- check if we have to rebuild the library
Expand Down Expand Up @@ -571,7 +572,6 @@ def should_build(self, arch):
'''Should perform any necessary test and return True only if it needs
building again. Per default we implement a library test, in case that
we detect so.

'''
if self.built_libraries:
return not all(
Expand All @@ -591,7 +591,7 @@ def install_libraries(self, arch):
'''This method is always called after `build_arch`. In case that we
detect a library recipe, defined by the class attribute
`built_libraries`, we will copy all defined libraries into the
right location.
right location.
'''
if not self.built_libraries:
return
Expand Down
1 change: 1 addition & 0 deletions pythonforandroid/toolchain.py
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,7 @@ def recipes(self, args):
"""
Prints recipes basic info, e.g.
.. code-block:: bash

python3 3.7.1
depends: ['hostpython3', 'sqlite3', 'openssl', 'libffi']
conflicts: []
Expand Down
Loading