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: run notebooks as scripts example (#4554)

Akshay Agrawal4e368ef0940a
diff --git a/docs/examples/index.md b/docs/examples/index.md
index d14bf59a64..e934193166 100644
--- a/docs/examples/index.md
+++ b/docs/examples/index.md
@@ -34,6 +34,8 @@ cells](../guides/reactivity.md).
- 🐞 [**Using the debugger**](running_cells/debugging.md)
+- 🐍 [**Run notebooks as scripts**](../guides/scripts.md)
+
</div>
## Visual Outputs
diff --git a/marimo/_runtime/control_flow.py b/marimo/_runtime/control_flow.py
index 17dd56a517..6575df1e34 100644
--- a/marimo/_runtime/control_flow.py
+++ b/marimo/_runtime/control_flow.py
@@ -38,7 +38,7 @@ def stop(predicate: bool, output: Optional[object] = None) -> None:
```
Raises:
- When `predicate` is `True`, raises a `MarimoStopError`.
+ MarimoStopError: When `predicate` is `True`, raises a `MarimoStopError`.
"""
if predicate:
raise MarimoStopError(output)