-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Switch to Docusaurus #1485
Comments
@hzoo Hi. I am a member of the team that helped create Docusaurus. Definitely let us know if you have any questions. We tried to keep the initial launch simple in terms of format support.
We are looking at other support moving forward though. |
Happy to answer questions about Gatsby as well + help with transition as well if that's the decision! |
Just took a very quick look at Docusaurus. I think it'd be a fun experience to give it a spin using the Babel docs. @hzoo can I give it a shot? If yes, anything specific you'd like me to check while attempting the migration? |
Nothing in particular I guess we just need to check the REPL still can work, etc. I'm ok if we have to change styles too if it's more structured. Maybe want to land in another branch so can iterate too |
I think switch is necessary. I'm the maintainer of babeljs.cn. |
@QC-L Ideally we should have a way to translate it easily in this repo (like a But we have our READMEs in the main babel repo, I don't know what's the best way to do it. |
We'll I'd be happy to see a PR for it, for sure it's necessary ^ we really need versioning + translation as mentioned |
I think we can refer to the practice of several sites. The first way, like nodejs.org. The second way, like vuejs.org. |
Crowdin can do that (although the translations are stored on Crowdin, not in the repo). We use Crowdin for the Yarn website. |
Now that the site is on Netlify, we have much more flexibility compared to if we were still using Github Pages. Go for it 😄 The Netlify build runs |
I was going to switch us to docusaurus which uses crowdin as well, but having trouble understanding all our build steps haha edit: looks like we might be able to just do this side-by-side given it uses a |
How to manage the translation using crowdin? Crowdin translation should be submitted by anyone, how to ensure quality? like this babeljs.cn |
@QC-L Crowdin has an approval process, and only approved translations would appear on the site. |
@Daniel15 Thanks, I'll translate it in Chinese. |
Alright I'm just going to deploy for 3 site urls (new.babeljs.io, old.babeljs.io, and babeljs.io). Going to merge It's not ready/done yet but I'l make a new issue with stuff we should do. |
Moving to #1544 |
EDIT: #1521
https://twitter.com/fbOpenSource/status/941370631357997056
Docusaurus was released: https://docusaurus.io/blog/2017/12/14/introducing-docusaurus.html
Used on a few FB projects like prettier, jest, react-native, etc.
I mostly am in favor because other projects are using that have transitioned to it easily (doesn't seem hard since it's markdown but also can use react for custom stuff) and it has 2 features we are missing (and leaves the two we already have which is algolia search and markdown).
We need translation + site versioning. Translation is definetely a want, and site versioning is literally an issue right now while we are developing Babel 7 but everyone getting confused at the documentation being v6 while the repo is in v7.
Also https://twitter.com/gatsbyjs which is what react is using, and what I was thinking about earlier. It does seem like the jekyll -> docusaurus doesn't seem that hard so we could switch to that later anyway?
Always looking for help for anyone that would like to make this happen!
The text was updated successfully, but these errors were encountered: