Skip to content

A reactive notebook for Python — run reproducible experiments, query with SQL, execute as a script, deploy as an app, and version with git. Stored as pure Python. All in a modern, AI-native editor.

docs: fix paths for "Exporting multiple notebooks" scripts (#4127)

Andrea Ghensi8df8f5be0ce2
diff --git a/docs/guides/exporting.md b/docs/guides/exporting.md
index 8a83edfea3..794f141730 100644
--- a/docs/guides/exporting.md
+++ b/docs/guides/exporting.md
@@ -187,19 +187,19 @@ files=("batch_and_form.py" "data_explorer.py")
for file in "${files[@]}"; do
without_extension="${file%.*}"
- marimo export html-wasm "$file" -o public/"$without_extension".html --mode run
+ marimo export html-wasm "$file" -o site/"$without_extension".html --mode run
done
```
Optionally, you can create an `index.html` file in the public directory:
```bash
-echo "<html><body><ul>" > public/index.html
+echo "<html><body><ul>" > site/index.html
for file in "${files[@]}"; do
without_extension="${file%.*}"
- echo "<li><a href=\"$without_extension.html\">$without_extension</a></li>" >> public/index.html
+ echo "<li><a href=\"$without_extension.html\">$without_extension</a></li>" >> site/index.html
done
-echo "</ul></body></html>" >> public/index.html
+echo "</ul></body></html>" >> site/index.html
```
## 🏝️ Embed marimo outputs in HTML using Islands