-
Notifications
You must be signed in to change notification settings - Fork 80
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
Tracking: Turing Way #1336
Comments
Amazing, thank you so much for getting the ball rolling on this @rowanc1. Really excited to see where we can go with this. And happy to assist where we can! Linking to the issue over on TTW where we've been tracking our own attempts/progress on enabling multi-language support: the-turing-way/the-turing-way#3255 |
@rowanc1 was this meeting recorded in any fashion? I had some pre-conceived ideas around what TTW is doing regarding Crowdin, etc, and I know a bit about the space of tools. My read is that there are many ways to do this, so any guidance on the solution that TTW is converging on would be useful context. |
Hi @agoose77! @BatoolMM is the person to ask about translation, or have a look here at our existing documentation. And then from an infrastructure perspective this is the latest. In summary, there's currently no obvious out-of-the-box tools that we could use to deploy a multi-language site. We might be able to get something working with RTD, but honestly we would prefer an internal process that didn't rely on an external build service (so that we would be able to host anywhere). |
@fwkoch just made a change that takes turing way from >1min to build to 17 seconds. 🚀 |
Just leaving some of my thoughts/opinions, Hosting isn't the same as the build. However, hosting that we have considered/used (Netlify, RTD) do place restrictions on the build. Multilingual support seems surprising difficult given how many languages are commonly used.
Neither of these feel like they suit us. We don't want to enforce the idea of a primary or default language. We don't really see the task as reproducing the same information in each language. Maybe we want something more like Wikipedia, where different languages are fairly independent but if there are pages on the same topic in two languages, you can switch between them. This really isn't my area so I have no idea how difficult or possible that is 😆 |
Hi folks! |
@da5nsy thank you for trying out Jupyter Book and reporting back! I'll take a look at this within the next day. |
We're going to work through the error logs from the-turing-way/the-turing-way#4019 tomorrow at a collab cafe. If any folks from mystmd would like to join they'd be super welcome! |
I've experimented JB2 for EDS book since last month - Happy to join the collab session to have a look at the error logs too! |
It would be awesome to have a some of the exploration of this documented here so that we can improve things! I think that @agoose77 will be there, however I can't make it. Good luck!! 🚀 |
We had a look at some error logs. There were a lot of hard-failure errors in @sgibson91's local build that look suspiciously like resource-exhaustion errors during the HTML build specifically. We also found a lot of errors pertaining to genuinely missing links. I observed:
|
DOI fixed in continuous-foundation/doi-utils#15 The |
This should fix 5/6: |
As of today, the-turing-way/the-turing-way#4019 is merged and therefore The Turing Way is running JB2! 🎉 Thank you all for all your assistance in getting us to this point. Looking forward to being able to be a test case for new developments going forwards! We're working through some residual points in the-turing-way/the-turing-way#4056 |
It would be great if anyone has insight on the-turing-way/the-turing-way#4055 and could comment. The problem only seems to occur on MacOS. It happens with The Turing Way, but not with a minimal Jupyter Book. So I'm not entirely sure if it is a Turing Way problem or perhaps a Jupyter/Myst bug. If there are some other sizeable books I could test building I would be happy to try 🙏. |
And to echo what @da5nsy has said. All of the collaboration has been amazing. It is so great to have the developers looking so closely at our problems. I hope it is also helpful for you to find bugs and get some user feedback 🙏. |
Woohoo! Thanks y'all for being so helpful and collaborative. Could we write up a little case study for the jupyter blog? |
This is awesome news, so grateful to both teams for the excellent collaboration!! Kudos to everyone involved :) |
I think that would be great 🚀. Do we want to find some time to draft something together? From our side, @da5nsy really helped push it over the line, I did a little fixing around the edges, and @sgibson91 did the lion's share of the migration work. |
Happy to be involved! Can you link us to a similar example (if such thing exists)? What would the audience be? (A list of the technical steps vs a broader and more accessible "why we upgraded"). |
A hearty congrats to the Turing Way folks. 🎉 I was going through the new site and was really having fun with the deep dive links in the glossary. I am very excited to share this case study of folks upgrading — seeing Turing Way switch over is a huge milestone and I am excited to ship some new features that improve a few of the things I saw as well. :) @da5nsy @sgibson91 @JimMadge I would be very interested in both accounts. I am going through a similar upgrade process for @mmcky's content at QuantEcon for large, executable books and the technical upgrade requirements would be good to compare on, esp. regarding where we can smooth some things out. Content wise, I think that the JupyterBlog should probably be a bit higher level — why upgrade, new capabilities, and a vision for reuse between resources. Again, I would be very interested in your perspectives there @da5nsy @sgibson91 @JimMadge. |
I've opened a PR to update some syntax to the way we do things in MyST: the-turing-way/the-turing-way#4061 This probably did parse differently under docutils, but I don't hate the change that we're imposing — the extra newline improves readability imo. https://docutils.sourceforge.io/docs/ref/rst/restructuredtext.html#block-quotes |
Quick thoughts on a blog from me:
Personally, I think that having a regular heartbeat of blog content is more important than having "the right" content. I'd be a fan of communicating and celebrating wins wherever we can. In this case, I think a "cast study" is the right framing. The audience might be other communities that are interested in using Jupyter Book 2, and that have experience with Jupyter Book 1. A lightweight structure could be:
I'd be fine putting this either on the JupyterBook blog, or on the Jupyter Blog. Probably lean towards the Jupyter Book blog since this is more relevant to JB-specific users rather than Jupyter at large. If you want inspiration, here's a blog post about a Project Pythia workshop we participated in - though this is way, way more information than we'd need - I'm just imagining like 300 words or so. |
Huge 👍 on @choldgraf's suggestion above, with emphasis on making it lightweight enough that it's not a huge burden for anyone to produce, to keep the ❤ actually beating on a regular cadence :) |
That structure sounds good to me. Maybe we could start a shared document where we answer those questions asynchronously. Would that work for the JB team and whoever will write/edit the blog post? |
xref #1876 |
xref #1877 |
We had a wonderful conversation this morning with the TuringWay team on how best to support the TuringWay team in their adoption of JupyterBook v2, which will be using
mystmd
. There were a lot of exciting possibilities that we talked about in terms of creating an ecosystem of content that the TuringWay could expose (figure, equations, glossaries), and that be included, linked to and cross-referenced by other books, tutorials, and communities in the wider open-science ecosystem. There are also some current deficiencies in MyST MD at the moment, one of the core ones is around internationalization. We got a really good demo from @BatoolMM on how that process is working, and some of the sticking points on how to bring content together to have a unified experience between languages. The localization also must include right-to-left languages, which will require a number of style updates and improvements across the components.Resources for translations:
Example of Turing Way content deployed in MyST
Some cool things
Updates that need to happen
myst init
#1223 (in progress)Note
-->note
(that can be upstreamed right away)@username
references on a page (e.g. changelogs) or have those fallback to a configured list of IDs and improve, e.g. our GitHub person cards.There are probably a number of other things that will come out as we work towards these goals, I encourage members of the TuringWay team to jump in here and let us know how we can support you. Please try the preview above and get a sense of where we are at. One of the cool wins is that the performance of navigating between pages should be improved quite a bit. There are also some abbreviations that will work and increase accessibility etc. for various pages.
I know that my team and @agoose77 do have some time to help with specific things, and some issues are in progress this week, so hopefully when we meet again in a few weeks there will be some progress to show!
@JimMadge @da5nsy @BatoolMM @agoose77 @sgibson91
We have had some previous conversations with the Environmental DataScience Book as well:
https://github.com/alan-turing-institute/environmental-ds-book
@acocac
The text was updated successfully, but these errors were encountered: