Skip to content

Remove notebook export options that are not supported by SMD #691

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
# Related documentation: https://jupyterlab.readthedocs.io/en/stable/user/files.html#displaying-hidden-files
c.ContentsManager.allow_hidden = True

# Disable exporters that are not supported by the sagemaker distribution
c.PDFExporter.enabled = False
c.WebPDFExporter.enabled = False
c.QtPNGExporter.enabled = False
c.QtPDFExporter.enabled = False

# This will set the LanguageServerManager.extra_node_roots setting if amazon_sagemaker_sql_editor exists in the
# environment. Ignore otherwise, don't fail the JL server start
# Related documentation: https://jupyterlab-lsp.readthedocs.io/en/v3.4.0/Configuring.html
Expand Down
6 changes: 6 additions & 0 deletions template/v3/dirs/etc/jupyter/jupyter_server_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@
# Related documentation: https://jupyterlab.readthedocs.io/en/stable/user/files.html#displaying-hidden-files
c.ContentsManager.allow_hidden = True

# Disable exporters that are not supported by the sagemaker distribution
c.PDFExporter.enabled = False
c.WebPDFExporter.enabled = False
c.QtPNGExporter.enabled = False
c.QtPDFExporter.enabled = False

# This will set the LanguageServerManager.extra_node_roots setting if amazon_sagemaker_sql_editor exists in the
# environment. Ignore otherwise, don't fail the JL server start
# Related documentation: https://jupyterlab-lsp.readthedocs.io/en/v3.4.0/Configuring.html
Expand Down