Repository navigation
docs: add Jupyter Gallery configuration page - #219
Merged
Merged
Conversation
Documents the current jupyterlab-gallery setup: exhibits must live in a jupyter_gallery_config.py on the singleuser config path (injected via singleuser.extraFiles), since GalleryManager only exists in the singleuser server and hub.extraConfig silently no-ops (#134). Covers the exhibit schema and the remote-icon trap: an exhibit whose icon is a remote URL fails to load on restricted-egress clusters with no fallback, so locked-down deployments should point icon at a local, same-origin asset. Notes that a first-class singleuser.gallery values key (#118) would supersede this workaround, so the page is scoped to be replaced once that lands. Closes #218.
Contributor
|
Docs preview for |
kcpevey
reviewed
Aug 18, 2026
| Each entry in `c.GalleryManager.exhibits` is a dict. The keys the upstream | ||
| `GalleryManager` understands: | ||
|
|
||
| | Key | Purpose | |
Contributor
There was a problem hiding this comment.
which of these are required?
|
|
||
| For private repositories, supply `account` and a personal access `token`. | ||
| Rather than embedding the token literally in the config, reference it from an | ||
| environment variable set on the singleuser pod (for example via |
Contributor
There was a problem hiding this comment.
How do I actually set this on my deployment? Its something I have to manually set a the k8s level? Will I lose it if I upgrade NIC?
This was referenced Aug 20, 2026
Co-authored-by: Kim Pevey <kcpevey@openteams.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a Jupyter Gallery page to the docs site, closing #218.
Documents the current reality on
main: exhibits have to live in ajupyter_gallery_config.pyon the singleuser config path, injected viasingleuser.extraFiles.GalleryManageronly exists in the singleuser server, so putting it underhub.extraConfigsilently no-ops (that was #134).The page covers three things:
singleuser.extraFilessnippet.git,title,homepage,description,icon,branch,depth, andaccount/tokenfor private repos, with the PAT-via-env-var note pointing at the upstream README).iconis a remote URL fails to load on air-gapped / restricted-egress clusters and leaves a broken-image placeholder with no fallback. The recommendation is to pointiconat a local, same-origin asset on those deployments.I scoped the page deliberately as a workaround doc. #118 proposes a first-class
singleuser.galleryvalues key that removes the hand-rolled config file entirely; if it lands, this page collapses to the values key. There's a "Looking ahead" section that says exactly that so we don't ossify around the workaround. I'm about to run a full review on #118 separately to see if we can just unblock it.Also adds the page to the Guides sidebar and a row in the configuration reference table.