kivy / kivy/python-for-android

documentation seems to use bad postbuild_arch example

Open Beginner friendly
#3,299 0 comments 0 reactions 0 assignees View on GitHub
Documentation easy Priority: Low
Dominant language
Python
Stars
8.9k
Forks
2k
Avg merge
12h 20m
Merged PRs (30d)
9

Description

There seems to be a bad example for postbuild_arch in the recipe documentation. It should call postbuild_arch instead of build_arch:

```
diff --git a: doc/source/recipes.rst b: doc/source/recipes.rst
index b6e34319..c5097cb9 100644
--- a: doc/source/recipes.rst
+++ b: doc/source/recipes.rst
@@ -88,7 +88,7 @@ The actual build process takes place via three core methods::
# Do the main recipe build

def postbuild_arch(self, arch):
- super().build_arch(arch)
+ super().postbuild_arch(arch)
# Do any clearing up

$ git describe --tags --dirty --always
v2024.01.21-250-g2f107b15-dirty
```

Contributor guide

Open the contributing guide

Research direction

Open doc/source/recipes.rst and inspect the postbuild_arch example around the recipe build methods. Update the example so it calls postbuild_arch rather than build_arch, then review the rendered recipe documentation to confirm the example is correct.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Quiet
Clarity
Clearly specified
Newbie friendliness
88/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.