Skip to content

Commit 7ee684e

Browse files
authored
Modify gallery configuration example in documentation (#251)
Updated example configuration for GalleryManager with new tutorial details.
1 parent a768c00 commit 7ee684e

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

‎docs/src/content/docs/gallery.md‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ JupyterLab, each backed by a git repository the user can clone with one click.
99
The extension already ships in the singleuser image, so configuring it is only
1010
a matter of telling the `GalleryManager` which exhibits to show. If not exhibits are included in the config, the section remains empty.
1111

12+
![gallery_image_overview](https://raw.githubusercontent.com/nebari-dev/jupyterlab-gallery/main/ui-tests/tests/jupyterlab_gallery.spec.ts-snapshots/in-launchpad-linux.png)
13+
1214
## Location of the configuration
1315

1416
`GalleryManager` only exists in the **singleuser** Jupyter server, not in the
@@ -76,15 +78,15 @@ reach the outside network, so that fetch fails and the tile shows the browser's
7678
broken-image placeholder with no fallback.
7779

7880
For those environments, point `icon` at a **local** asset served from within
79-
the deployment — bundled into the singleuser image, or served from the same
80-
origin — so the tile renders without any external fetch:
81+
the deployment: bundled into the singleuser image, or served from the same
82+
origin; so the tile renders without any external fetch:
8183

8284
```python
8385
c.GalleryManager.exhibits = [
8486
{
85-
"title": "JATIC Checkmaite Tutorial",
86-
"git": "https://internal.example.com/jatic/checkmaite.git",
87-
"icon": "/etc/jupyter/gallery-icons/checkmaite.png", # local, no external fetch
87+
"title": "My Tutorial",
88+
"git": "https://internal.example.com/test/demo-app.git",
89+
"icon": "/etc/jupyter/gallery-icons/demo-app.png", # local, no external fetch
8890
},
8991
]
9092
```

0 commit comments

Comments
 (0)