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
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,11 @@ RUN mandb
RUN mkdir -p ${NB_PYTHON_PREFIX}/etc/jupyter/jupyter_server_config.d/ && \
mkdir -p ${NB_PYTHON_PREFIX}/etc/jupyter/jupyter_notebook_config.d/ && \
cp ${REPO_DIR}/custom_jupyter_server_config.json ${NB_PYTHON_PREFIX}/etc/jupyter/jupyter_server_config.d/ && \
cp ${REPO_DIR}/custom_jupyter_server_config.json ${NB_PYTHON_PREFIX}/etc/jupyter/jupyter_notebook_config.d/
cp ${REPO_DIR}/custom_jupyter_server_config.json ${NB_PYTHON_PREFIX}/etc/jupyter/jupyter_notebook_config.d/ && \
chown jovyan:staff ${NB_PYTHON_PREFIX}/etc/jupyter/jupyter_server_config.d/custom_jupyter_server_config.json && \
chown jovyan:staff ${NB_PYTHON_PREFIX}/etc/jupyter/jupyter_notebook_config.d/custom_jupyter_server_config.json && \
chmod 664 ${NB_PYTHON_PREFIX}/etc/jupyter/jupyter_server_config.d/custom_jupyter_server_config.json && \
chmod 664 ${NB_PYTHON_PREFIX}/etc/jupyter/jupyter_notebook_config.d/custom_jupyter_server_config.json

# Set up the defaults for Desktop. Keep config in the /etc so doesn't trash user environment (that they might want for other environments)
ENV XDG_CONFIG_HOME=/etc/xdg/userconfig
Expand Down
5 changes: 5 additions & 0 deletions custom_jupyter_server_config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"ContentsManager": {
"allow_hidden": true
},
"@jupyterlab/docmanager-extension:plugin": {
"defaultViewers": {
"qmd": "editor"
}
}
}