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

Code Sandbox for Experimental Docs #1441

Open
ChurroC opened this issue Jun 17, 2024 · 3 comments
Open

Code Sandbox for Experimental Docs #1441

ChurroC opened this issue Jun 17, 2024 · 3 comments

Comments

@ChurroC
Copy link

ChurroC commented Jun 17, 2024

Just wondering if this is something the experimental docs could use. I’ve been recently looking through the experimental docs and I really love how innovative they are. And I kinda want to contribute a bit and was wondering if you would mind using code sandbox for showing code examples that are editable.

@clauderic
Copy link
Owner

That's a great idea! If you want to work on the docs locally just make sure to install the mintlify cli

@ChurroC
Copy link
Author

ChurroC commented Jun 20, 2024

That's a great idea! If you want to work on the docs locally just make sure to install the mintlify cli

This might just be me but I can’t seem to figure out how to add custom dependencies to mintlify. I’ve tried searching it up but I don’t know where to add dependencies. I even tried to import from a cdn but that didn’t work either.

@clauderic
Copy link
Owner

What are you trying to add? Sandpack?

I'm told dependency management is coming very soon to mintlify. In the meantime I have been using iframes that point to storybook and we could also add other endpoints if needed, like apps/playground.

I think you can also include a script.js file https://mintlify.com/docs/integrations/custom/js

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

No branches or pull requests

2 participants