-
Notifications
You must be signed in to change notification settings - Fork 82
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
Minimal example project repo #219
Comments
Yes please! If you have a vision for a minimal example, I would love to see you run with that and we can work it into the docs for others to see! #202 also has some pointers to resources that might be helpful. The easiest way to deploy at the moment is to use Certainly static HTML is one option, another option is to use vercel or netlify, which work today but do require a place to host the static content (e.g. curvenote or in the future, github as the CDN for the static json). |
Yep, my vision is a document that shows the bare minimum of all core features. This is what the minimal example will contain:
|
Nice - that would be very much appreciated! Right now the I think this is something that we would eventually like in the EBP organization, especially if it is un-opinionated. Would you be up for iterating on the repo that you have already created with the idea of bringing that into the EBP organization in the future? (we could also do that right away if you want -- regardless, would love to keep you as the leader of this effort!) Let me know if that is something you want to explore! |
This looks awesome! Nice work! Apparently GitHub limits links at 4096 characters. Probably fair. We could probably host a small database behind the sandbox for long links. Also remembering that DOIs don't work in the sandbox yet, and apparently not HTML comments either. |
With a random letter compression algorithm that I found on the internet (http://www.unit-conversion.info/texttools/compress/), it was possible to reduce the string from 4536 to 2360 characters. |
Settings for this tweet https://twitter.com/kolibril13/status/1628168155473358848: A:::{figure} https://images.pexels.com/photos/40784/drops-of-water-water-nature-liquid-40784.jpeg A falling drop of water Lorem ipsum dolor sit amet. eos nostrum ipsum et unde omnis qui galisum quaerat et enim neque. Bnumbering:
Lorem ipsum dolor sit amet. eos nostrum ipsum et unde omnis qui galisum quaerat et enim neque. CLorem ipsum dolor sit amet. eos nostrum ipsum et unde omnis qui galisum quaerat et enim neque. Dtitle: Euler's identity
""" |
Thanks a lot for setting this up! I'm trying to use https://github.com/kolibril13/mystjs-minimal-example as a basis for setting up my own test repo https://github.com/corentinmorice1/myst-test. I use exactly the same workflow and the same myst.yml. Github actions runs just fine. But somehow the website is not uploaded. Would you know what could be happening? |
hey @corentinmorice1 , glad you found this useful. the only thing is that you probably should rename your readme from readme.md to readme.txt |
Sorry, the answer was already given in #430. I just hadn't changed the build and deployment branch to gh-pages. |
That is awesome @corentinmorice1, glad you are sorted! @kolibril13 I have a local github action as well that doesn't use the gh-pages branch that is over here: |
Which area is this feature request for?
Other
Describe the feature you'd like to request
It'd be amazing to have a minimal example repo!
And I would have some free hours to write that minimal example ✍️
Describe the solution you'd like
I've already created a repo here (https://github.com/kolibril13/mystjs-minimal-example).
Before I fill it with content, I was thinking of how to host this.
Is there already an option to use GitHub pages for that?
Looking at #188 it seems there is no option for that by now.
@rowanc1, can I use your server that also hosts https://myst-tools.org/docs/mystjs to run this minimal example?
In my opinion, it would be important that the minimal example lives in a separate repo and on a separate webpage, so that people can explore without getting overwhelmed.
The minimal example will be similar to the https://github.com/executablebooks/mystjs-quickstart guide.
But the difference: this minimal example won't have to be transformed throughout a tutorial.
Instead, all mystjs syntax will be already in place for people to explore.
Also, the current quick-start has a docs-in-docs narrative, which I sometimes find a bit mind-bending.
This minimal example content will instead be about another topic that is not related to myst.
Describe alternatives you've considered
No response
The text was updated successfully, but these errors were encountered: