JS Rocks website
HTML CSS JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
2014 Fixed typo with wrong information Feb 19, 2016
2015 "JavaScript Iterables and Iterators" article: add video version Feb 19, 2016
2016/01/configuring-babel-6-for-node-js Configuring Babel 6 for Node.js: make resume smaller Jan 7, 2016
_stylus merge pr #41 Dec 12, 2014
avatars JS Rocks Apr 17, 2015
categories fix markdown header Feb 1, 2016
cn Fixed typo with wrong information Feb 19, 2016
css Rebuilding Oct 18, 2015
fonts JS Rocks Apr 17, 2015
images fixed testimonial profile pictures Sep 1, 2015
img Progressive header.jpg Dec 5, 2014
js Rebuilding Oct 18, 2015
pages/about fix flags and social navigation bar at small screens Jul 16, 2014
pt-br Fixed typo with wrong information Feb 19, 2016
src/templates/default/resources/images fix flags and social navigation bar at small screens Jul 16, 2014
.gitignore update .gitignore Apr 17, 2015
.nojekyll add .nojekyll May 11, 2015
CNAME JS Rocks Apr 17, 2015
CONTRIBUTORS.md Adding contributors Dec 9, 2014
LICENSE.md add README, LICENSE / <a> sizes / add main.js May 18, 2014
README.md README: finish ES6 Rocks -> JS Rocks rebranding, closes #57 Jun 7, 2015
favicon.ico fix favicon Apr 17, 2015
favicon.png fix favicon Apr 17, 2015
harmonic.js fix markdown header Feb 1, 2016
humans.txt Merge pull request #67 from robsongajunior/src May 23, 2015
index.html update @Ult_Combo's author picture; "how I'm using es6 modules in pro… Jan 13, 2016
rss.xml "JavaScript Iterables and Iterators" article: add video version Feb 19, 2016

README.md

JS Rocks

How to contribute

JSRocks.org is a collaborative website about the latest JavaScript features and tools.
Anyone can contribute by writing an article, making a layout change, suggesting new sections, reporting issues, etc.
Contributing to JS Rocks is super easy, choose the type of contribution you want.

Writing an article

The JS Rocks website is built with Harmonic, our static site generator.

  • First thing you need to do is to install Harmonic.
npm install harmonic -g

You'll need Node.js >= 0.10 (or io.js) and npm already installed.
Check out the main Harmonic documentation if you're in trouble.

  • Fork and clone the jsrockshq.github.io repository
# replace YOUR_USERNAME with your GitHub username below
git clone https://github.com/YOUR_USERNAME/jsrockshq.github.io.git
cd jsrockshq.github.io
git remote add upstream https://github.com/JSRocksHQ/jsrockshq.github.io.git
  • Create a new branch using upstream/src as base and checkout to it
git fetch upstream
git checkout -b my-awesome-post upstream/src
  • Create a new post
harmonic new_post "My awesome post"

This command will create a new markdown file in /src/posts/[LANG].

  • Run Harmonic to check if your post is ready
harmonic run

This command will build and run the JS Rocks website in the default port 9356.

  • Commit your changes
git add .
git commit -m "my awesome article"
  • Push your new branch to your forked repository
git push origin HEAD

Go to your forked repository's page on Github.com and create a pull request for the src branch.

Issues

You can help JS Rocks by finding a bug in the website, a typo in an article or even an incorrect sentence.
File an issue, and we will solve it ASAP.