diff --git a/docs/assets/waspy-flow.png b/docs/assets/waspy-flow.png new file mode 100644 index 0000000..738e45e Binary files /dev/null and b/docs/assets/waspy-flow.png differ diff --git a/docs/index.html b/docs/index.html index b0df04f..dd284f1 100644 --- a/docs/index.html +++ b/docs/index.html @@ -8,10 +8,10 @@ - + - + + + + + +
+
+
+

Get Started in Minutes

+

Four steps from zero to compiled WebAssembly.

+
+
-
-

1. Install Waspy

+
+

Install Waspy

Add Waspy to your Rust project:

cargo add waspy
- -
-

2. Compile Python to WASM

+ +
+

Compile Python to WASM

Use the simple API to compile your Python functions:

let wasm = waspy::compile_python_to_wasm(python_code)?;
- -
-

3. Advanced Features

+ +
+

Advanced Features

Compile entire projects with options:

let wasm = waspy::compile_python_project("./my_project", true)?;
- -
-

4. Run Anywhere

+ +
+

Run Anywhere

Execute your compiled WebAssembly in any environment:

WebAssembly.instantiate(wasm).then(instance => { /* magic */ }); @@ -1150,14 +1924,12 @@

4. Run Anywhere

- - -