From 58863491ce027e5b78b046d78e6b8b9d3d3e06e4 Mon Sep 17 00:00:00 2001 From: "Vinicius D. Cerutti" <51954708+viniciusdc@users.noreply.github.com> Date: Wed, 16 Sep 2026 13:59:09 -0300 Subject: [PATCH] Modify gallery configuration example in documentation Updated example configuration for GalleryManager with new tutorial details. --- docs/src/content/docs/gallery.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/docs/src/content/docs/gallery.md b/docs/src/content/docs/gallery.md index 0a6f13d..c6b0c90 100644 --- a/docs/src/content/docs/gallery.md +++ b/docs/src/content/docs/gallery.md @@ -9,6 +9,8 @@ JupyterLab, each backed by a git repository the user can clone with one click. The extension already ships in the singleuser image, so configuring it is only a matter of telling the `GalleryManager` which exhibits to show. If not exhibits are included in the config, the section remains empty. +![gallery_image_overview](https://raw.githubusercontent.com/nebari-dev/jupyterlab-gallery/main/ui-tests/tests/jupyterlab_gallery.spec.ts-snapshots/in-launchpad-linux.png) + ## Location of the configuration `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 broken-image placeholder with no fallback. For those environments, point `icon` at a **local** asset served from within -the deployment — bundled into the singleuser image, or served from the same -origin — so the tile renders without any external fetch: +the deployment: bundled into the singleuser image, or served from the same +origin; so the tile renders without any external fetch: ```python c.GalleryManager.exhibits = [ { - "title": "JATIC Checkmaite Tutorial", - "git": "https://internal.example.com/jatic/checkmaite.git", - "icon": "/etc/jupyter/gallery-icons/checkmaite.png", # local, no external fetch + "title": "My Tutorial", + "git": "https://internal.example.com/test/demo-app.git", + "icon": "/etc/jupyter/gallery-icons/demo-app.png", # local, no external fetch }, ] ```