You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: Update thumbnail documentation for latest CLI
There was a refactor where `marimo tools thumbnails generate` was
replaced with `marimo export thumbnail`. The documentation still
showed outdated example commands.
I also found a missing ``` which broke a lot of the page. Fixed
that as well.
Copy file name to clipboardExpand all lines: docs/guides/publishing/thumbnails.md
+12-11Lines changed: 12 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,8 @@
3
3
Generate screenshot-based thumbnail images for notebooks, used by [OpenGraph previews](opengraph.md) and cards in [gallery mode](../apps.md#gallery-mode).
4
4
5
5
```bash
6
-
marimo export thumbnail generate notebook.py
6
+
marimo export thumbnail notebook.py
7
+
```
7
8
8
9
## Output location
9
10
@@ -31,13 +32,13 @@ This is the default OpenGraph thumbnail path used by [OpenGraph previews](opengr
31
32
You can generate a thumbnail for a single notebook:
32
33
33
34
```bash
34
-
marimo tools thumbnails generate notebook.py
35
+
marimo export thumbnail notebook.py
35
36
```
36
37
37
38
Or generate thumbnails for all notebooks in a directory:
38
39
39
40
```bash
40
-
marimo tools thumbnails generate folder/
41
+
marimo export thumbnail folder/
41
42
```
42
43
43
44
When you pass a directory, marimo scans it for marimo notebooks and skips non-notebook files (for example `README.md`).
@@ -49,19 +50,19 @@ By default, thumbnails are generated without executing the notebook (fast; no ou
0 commit comments