This is the main source for the babeljs.io website; feel free to suggest changes to our docs!
- Current:
master
branch is deployed to https://babeljs.io - Old:
old-site
branch is deployed to https://old.babeljs.io
$ git clone [email protected]:babel/website.git
$ cd website
$ yarn && yarn bootstrap
- Just run
yarn start
next time (to check the package.json for scripts).
To keep documentation in sync across all of Babel's packages, the docs are now directly located in this repository. The READMEs in babel/babel
are auto generated and point to this documentation.
You might want to make yourself familiar with docusaurus to make significant changes to the website. If you only want to make content changes you just need to know about versioned docs.
/docs
- the files in here are responsible for the "next" version at https://babeljs.io/docs/en/next./website/versioned_docs/version-*
- these are the docs for the past versions, the latest one being the currently published version at https://babeljs.io/docs/en
After making your changes to the markdown files in the /docs
folder, a git hook script will suggest files from the past versions folders that you might also need to apply your changes to.
For questions and support on contributing please join our Slack community, channel #website
or directly here.