We welcome any contribution that brings value to the project, whether they are opened for Hacktoberfest or not. However, we don't appreciate spam PRs such as #2367, that would hinder future collaboration. It also takes precious maintainer time that is better spent on other PRs that benefit rest of the community.
If you want to contribute but don't know where to start, you can take a look at the open issues in this repository, or the "docs" issues in
babel/babel
.
This is the 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
Node: Check that Node is installed with version 10.19.0 and up. You can check this with node -v.
Yarn: Make sure that Yarn 1 is installed with version >= 1.19.0.
$ git clone [email protected]:babel/website.git
$ cd website
$ yarn && yarn bootstrap
- Just run
yarn start
next time (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 docs for the previous 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.