Skip to content

Fix notebook converter #1360

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: master
Choose a base branch
from
Open

Conversation

rashidnhm
Copy link
Collaborator

Update notebook converter to remove setting author info. Fix cell_id ……issue.

Title:
Fix QML notebook converter

Summary:
The current QML converter is not working with newer jupyter notebooks due to them not having an id for each cell.

In addition, the way demo author information is stored in QML today is completely different to how it was stored back when this converter was first written.

This PR updates the notebook converter such that the author info is no longer needed, and the cell_id is used only if present, if missing it simply uses the cell number instead.

Relevant references:
[sc-90046]

Possible Drawbacks:
As per before, the generated demo can be passed to sphinx-build, which has been tested. But it likely will not be 100% up to standard of the Product team, but this converter should give the author a quick conversion base to work off of.

Related GitHub Issues:
None.

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.

1 participant