documentation seems to use bad postbuild_arch example

Open Beginner friendly
#3,299 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

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.

Description

Documentation easy Priority: Low

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
Dominant language
Python
Stars
8.9k
Forks
2k
Avg merge
12h 20m
Merged PRs (30d)
9

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from kivy/python-for-android

All issues in kivy/python-for-android

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.