Skip to content
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

Try using Editor in Docs #6451

Open
wants to merge 15 commits into
base: master
Choose a base branch
from
Open

Try using Editor in Docs #6451

wants to merge 15 commits into from

Conversation

aurindam
Copy link
Member

@aurindam aurindam commented Oct 5, 2024

Now you can edit the code in the docs and press on "play" button to see the changes. There is also a copy button for easily copying the code.

@tronical
Copy link
Member

tronical commented Oct 5, 2024

I get a JavaScript error when trying this: Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'cm6.createEditorState').

I assume that cm6 refers to CodeMirror as editor. I'm not in favor of shipping minified bundles in our repo, it's like embedding binaries. This might mean that it may be necessary to add a bundler to our sphinx build.

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