Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -249,6 +249,7 @@ class JupyterLabGallerySettings(schema.Base):
title: str = "Examples"
destination: str = "examples"
exhibits: List[JupyterLabGalleryExhibit] = []
hide_gallery_without_exhibits: bool = True


class JupyterLab(schema.Base):
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)
hide_gallery_without_exhibits = optional(bool)
exhibits = list(object({
git = string
title = 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)
hide_gallery_without_exhibits = optional(bool)
exhibits = list(object({
git = string
title = string
Expand Down