-
-
Notifications
You must be signed in to change notification settings - Fork 10
Description
What kind of documentation issue is this?
Unclear or confusing documentation
Affected page
https://tutorial.beeware.org/tutorial/tutorial-3/
Describe the issue
I actually have four small issues on various pages, but on Discord @kattni suggested I make a single issue.
One
On step 3:
Once this completes, if you look in the project directory, you should now see a directory corresponding to your platform (macOS, linux, or windows)
It could be more clear that that directory shows up within the build directory. Later on, when the .dmg gets created it points out it's in the dist directory, so I think the platform folder being in build could be more explicit
Two
On step 7,
essentially any package on PyPI package can be installed
should probably be
essentially any package on PyPI can be installed
Three
On step 8, it says the change in say_hello will cause the API to obtain post 42, which is probably a reference to an older version of the tutorial as we're now just going straight to a json object
Four
Also on step 8, and this is the most complex one.
There's a confusing bit:
Briefcase uses httpx internally, so it's already in your local environment - you don't need to install it separately to use it here. Let's add a httpx API call to our app. Modify the requires setting in our pyproject.toml to include the new requirement:
So if it's already there, why do we have to add it? I think I figured out that it's only in the dev environment, but the first time through I bumped on this and was confused.
Later it says
we need to tell developer mode to reinstall requirements, by using the -r argument:
And based on my run through, it's not necessary there. It is necessary on the briefcase run step
Suggested improvement
I'll follow this up with a PR with my suggestions in it