Skip to content

feat(docs): Add extension for embedding JupyterLite in docs #71

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

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

labdala
Copy link
Collaborator

@labdala labdala commented Jul 28, 2022

No description provided.

@labdala
Copy link
Collaborator Author

labdala commented Jul 29, 2022

When trying to embed jupyterlite in RTD (PR preview available), we get the following error:

Refused to apply style from 'https://itk-viewer-bootstrap-ui--71.org.readthedocs.build/en/71/_static/css/custom.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled

image

@oeway any ideas on how to handle this?

@thewtex
Copy link
Member

thewtex commented Jul 29, 2022

We seem to have an iframe in an iframe.

@labdala labdala marked this pull request as draft August 9, 2022 19:12
labdala added 3 commits August 9, 2022 16:28
This removed the MIME error, which is not the main problem for not running itkwidgets.
@labdala
Copy link
Collaborator Author

labdala commented Aug 11, 2022

The MIME policy issue has been solved in 8ec4fd4. Here is how it looks now:
image
More investigation is needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants