Skip to content

shashimaurya1/website-1

 
 

Repository files navigation

⚠️ Hacktoberfest notice

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!

Setup

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).

Contributing to the website

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.

Versioned docs

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.

Looking for support?

For questions and support on contributing please join our Slack community, channel #website or directly here.

About

🌐 The Babel documentation website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 91.1%
  • CSS 8.9%