Skip to content

Commit

Permalink
Add exhibits URL
Browse files Browse the repository at this point in the history
  • Loading branch information
krassowski committed Jun 4, 2024
1 parent 46e0072 commit 85ca022
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/_nebari/stages/kubernetes_services/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,7 @@ class JupyterLabGalleryExhibit(schema.Base):
class JupyterLabGallerySettings(schema.Base):
title: str = "Examples"
destination: str = "examples"
exhibits_url: Optional[str] = None
exhibits: List[JupyterLabGalleryExhibit] = []


Expand Down
5 changes: 3 additions & 2 deletions src/_nebari/stages/kubernetes_services/template/jupyterhub.tf
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,9 @@ variable "jupyterlab-default-settings" {
variable "jupyterlab-gallery-settings" {
description = "Server-side settings for jupyterlab-gallery extension"
type = object({
title = optional(string)
destination = optional(string)
title = optional(string)
destination = optional(string)
exhibits_url = optional(string)
exhibits = list(object({
git = string
repository = string
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,9 @@ variable "jupyterlab-default-settings" {
variable "jupyterlab-gallery-settings" {
description = "Server-side settings for jupyterlab-gallery extension"
type = object({
title = optional(string)
destination = optional(string)
title = optional(string)
destination = optional(string)
exhibits_url = optional(string)
exhibits = list(object({
git = string
repository = string
Expand Down

0 comments on commit 85ca022

Please sign in to comment.