FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

docs(mkdocs): generalize the preview dependency note in hello world · pythonnative/pythonnative@9441e73 · GitHub

Repository navigation

Commit 9441e73

Browse files
committed
docs(mkdocs): generalize the preview dependency note in hello world
The docs page's app/main.py snippet doesn't import emoji; only the examples/hello-world app does. Point readers at their own [requirements].packages instead of an install they don't need.
1 parent 5abb940 commit 9441e73

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎docs/examples/hello-world.md‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,12 @@ def App():
4949
### Preview on desktop
5050

5151
For the fastest feedback loop, run the example in the desktop preview
52-
before opening an emulator or simulator. The preview imports the real
53-
app code, so install the example's declared package first:
52+
before opening an emulator or simulator. The preview imports your real
53+
app code, so if your project declares packages in
54+
`[requirements].packages`, `pip install` them first. From the project
55+
root:
5456

5557
```bash
56-
pip install emoji
5758
pn preview
5859
```
5960

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL