Skip to content

Commit c8e9f60

Browse files
committed
PyScript in JavaScript and minor corrections.
1 parent 81500fe commit c8e9f60

File tree

6 files changed

+505
-79
lines changed

6 files changed

+505
-79
lines changed

docs/assets/images/pyscript.svg

Lines changed: 1 addition & 1 deletion
Loading

docs/index.md

Lines changed: 27 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,41 @@
1-
![PyScript Logo](assets/images/pyscript.svg)
1+
2+
<div><img alt="PyScript Logo" src="assets/images/pyscript.svg"></div>
23

34
<h1 style="text-align: center; font-weight: bold;">PyScript is an <u>open source</u> platform for Python in the browser.</h1>
45

56
<dl>
67
<dt><strong>I'm a beginner...</strong></dt>
7-
<dd>Welcome! PyScript is designed to be friendly for beginner coders. The
8-
best way to start is to read our
9-
<a href="beginning-pyscript">beginning PyScript guide</a>
10-
and then use
8+
<dd>Welcome! PyScript is designed to be friendly for beginner coders. Start
9+
with our <a href="./beginning-pyscript">beginning PyScript guide</a>
10+
and use
1111
<a href="https://pyscript.com/" target="_blank">pyscript.com</a>
12-
to create your first apps. Problems? Check out our
13-
<a href="faq">frequently asked questions</a>.</dd>
12+
to create your first apps. Graduate to the
13+
<a href="./user-guide">user guide</a> to grow your understanding.</dd>
1414
<dt><strong>I'm already technical...</strong></dt>
15-
<dd>The beginner docs will set you up with a simple coding environment. For
16-
more in-depth technical coverage of PyScript, consult the
17-
<a href="user-guide">user guide</a>. The
18-
<a href="examples">example applications</a> demonstrate many of the features
19-
of PyScript. The <a href="api">API docs</a> and <a href="faq">FAQ</a>
20-
contain lots of technical detail.</dd>
21-
<dt><strong>I want to contribute...</strong></dt>
22-
<dd>
23-
<p>Welcome, friend!
24-
PyScript is an <a href="license/">open source project</a>, we expect
25-
participants to act in the spirit of our
26-
<a href="conduct/">code of conduct</a> and we have many
27-
ways in which <a href="contributing/"><u>you</u> can contribute</a>.
28-
Our <a href="developers/">developer guide</a> explains how to set
29-
up a working development environment for PyScript.</p>
30-
</dd>
15+
<dd>The beginner docs describe a
16+
<a href="./beginning-pyscript#editing-your-app">simple coding environment</a>.
17+
Consult the
18+
<a href="./user-guide">user guide</a> for comprehensive learning
19+
resources. The
20+
<a href="./example-apps/overview/">example applications</a> demonstrate many of
21+
the features of PyScript. The <a href="./api/init/">API docs</a> and <a href="./faq">FAQ</a>
22+
contain the technical details.</dd>
3123
<dt><strong>I want support...</strong></dt>
3224
<dd>
3325
<p>Join the conversation on our
3426
<a href="https://discord.gg/HxvBtukrg2" target="_blank">discord server</a>,
3527
for realtime chat with core maintainers and fellow users of PyScript.
36-
Check out <a href="https://www.youtube.com/@PyScriptTV">our YouTube
37-
channel</a>, full of community calls and show and tells.
38-
Explore
39-
<a href="https://learning.anaconda.cloud/" target="_blank">educational</a>
40-
and
41-
<a href="https://www.anaconda.com/professional-services" target="_blank">commercial</a>
42-
support provided by our open source sponsor
43-
<a href="https://anaconda.com/" target="_blank">Anaconda Inc</a> (this
44-
helps pay for and sustain PyScript!).</p>
28+
Check out <a href="https://www.youtube.com/@PyScriptTV" target="_blank">our YouTube
29+
channel</a>, full of community calls and show-and-tells.</p>
4530
</ul></dd>
31+
<dt><strong>I want to contribute...</strong></dt>
32+
<dd>
33+
<p>Welcome, friend!
34+
PyScript is an <a href="./license/">open source project</a>, we expect
35+
participants to act in the spirit of our
36+
<a href="./conduct/">code of conduct</a> and we have many
37+
ways in which <a href="./contributing/"><u>you</u> can contribute</a>.
38+
Our <a href="./developers/">developer guide</a> explains how to set
39+
up a working development environment for PyScript.</p>
40+
</dd>
4641
</dl>

docs/user-guide/ffi.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ consistently across both Pyodide and MicroPython interpreters. This
1111
guide explains how to use the FFI to bridge between Python and
1212
JavaScript when necessary.
1313

14+
!!! info
15+
16+
PyScript also enables JavaScript to call into Python!
17+
18+
Please see the [PyScript in JavaScript](./from_javascript.md) section
19+
of this user-guide for more information.
20+
1421
## When to use the FFI
1522

1623
The FFI is a low-level interface for situations where higher-level

0 commit comments

Comments
 (0)