We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 638b62c commit 0fb292cCopy full SHA for 0fb292c
1 file changed
ondemand/README.md
@@ -130,6 +130,27 @@ attributes:
130
max: 2
131
```
132
133
+### Add checkbox to start JupyterLab
134
+
135
+form.yml:
136
137
+```
138
+attributes:
139
+ jupyterlab_switch:
140
+ widget: "check_box"
141
+ label: "Use JupyterLab instead of Jupyter Notebook?"
142
+ help: |
143
+ JupyterLab is the next generation of Jupyter, and is completely compatible with existing Jupyter Notebooks.
144
+form:
145
+ - jupyterlab_switch
146
147
148
+template script.sh:
149
150
151
+jupyter <%= context.jupyterlab_switch == "1" ? "lab" : "notebook" %> --config="${CONFIG_FILE}" <%= context.extra_jupyter_args %>
152
153
154
155
## Jupyter App Detailed Tutorial
156
0 commit comments