Building a custom content manager for the Jupyter Lab that comes bundled with Zero to Jupyterhub with Kubernetes.
Trying to figure out how to plug this custom content manager into the Jupyter Lab Docker image we are building. Bottom line, want to Jupyter Lab to use the new custom content manager we are building rather than the default content manager that ships with Z2JK.
Read the “notebook” docs that explains how to create a custom content manager. The doc describes a configuration property called “c.NotebookApp.contents_manager_class”.
Question 1: If we import the module containing our custom content manager into the jupyter-notebook-config.py and then set “c.NotebookApp.contents_manager_class” equal to our custom content manager Python class will Jupyter Lab use this custom content manager instead of the default content manager?
Question 2: I do not find a jupyter-notebook-config.py file that comes with Z2JK. I know I can generate a commented-out jupyter-notebook-config.py file. Do I just uncomment the c.NotebookApp.contents_manager_class property, set its value and add an import statement to this file?
Question 3: Do install the jupyter-notebook-config.py file into the <jovyan home directory/.jupyter folder as part of the Jupyter Lab Docker image build process?
Your response is much appreciated.
cheers.