This is the source for the babeljs.io website; feel free to suggest changes to our docs!
masterbranch is deployed to https://babeljs.io
old-sitebranch is deployed to https://old.babeljs.io
$ git clone email@example.com:babel/website.git $ cd website $ yarn && yarn bootstrap
- Just run
yarn startnext time (check the package.json for scripts).
Contributing to the website
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.