{"action":"created","comment":{"url":"https://api.github.com/repos/webpack/webpack.io/pulls/comments/71831314","id":71831314,"diff_hunk":"@@ -0,0 +1,27 @@\n+import React from 'react'\n+import {Link} from 'react-router'\n+\n+export default React.createClass({\n+  displayName: 'SectionIndex',\n+  render() {\n+    const section = this.props.section\n+\n+    return (\n+      <div className=\"section-index__wrapper\">\n+        <h1>{section.title}</h1>\n+\n+        <ul className=\"section-list\">{section.pages().reverse().map((page, i) => {","path":"layouts/SectionIndex.jsx","position":13,"original_position":13,"commit_id":"7dc985334139d25a0133614bc2cc9aca46a1217e","original_commit_id":"7dc985334139d25a0133614bc2cc9aca46a1217e","user":{"login":"sokra","id":1365881,"avatar_url":"https://avatars.githubusercontent.com/u/1365881?v=3","gravatar_id":"","url":"https://api.github.com/users/sokra","html_url":"https://github.com/sokra","followers_url":"https://api.github.com/users/sokra/followers","following_url":"https://api.github.com/users/sokra/following{/other_user}","gists_url":"https://api.github.com/users/sokra/gists{/gist_id}","starred_url":"https://api.github.com/users/sokra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sokra/subscriptions","organizations_url":"https://api.github.com/users/sokra/orgs","repos_url":"https://api.github.com/users/sokra/repos","events_url":"https://api.github.com/users/sokra/events{/privacy}","received_events_url":"https://api.github.com/users/sokra/received_events","type":"User","site_admin":false},"body":"Why `reverse`?","created_at":"2016-07-22T06:16:54Z","updated_at":"2016-07-22T06:16:54Z","html_url":"https://github.com/webpack/webpack.io/pull/39#discussion_r71831314","pull_request_url":"https://api.github.com/repos/webpack/webpack.io/pulls/39","_links":{"self":{"href":"https://api.github.com/repos/webpack/webpack.io/pulls/comments/71831314"},"html":{"href":"https://github.com/webpack/webpack.io/pull/39#discussion_r71831314"},"pull_request":{"href":"https://api.github.com/repos/webpack/webpack.io/pulls/39"}}},"pull_request":{"url":"https://api.github.com/repos/webpack/webpack.io/pulls/39","id":77730152,"html_url":"https://github.com/webpack/webpack.io/pull/39","diff_url":"https://github.com/webpack/webpack.io/pull/39.diff","patch_url":"https://github.com/webpack/webpack.io/pull/39.patch","issue_url":"https://api.github.com/repos/webpack/webpack.io/issues/39","number":39,"state":"open","locked":false,"title":"Generate the site through antwar","user":{"login":"bebraw","id":166921,"avatar_url":"https://avatars.githubusercontent.com/u/166921?v=3","gravatar_id":"","url":"https://api.github.com/users/bebraw","html_url":"https://github.com/bebraw","followers_url":"https://api.github.com/users/bebraw/followers","following_url":"https://api.github.com/users/bebraw/following{/other_user}","gists_url":"https://api.github.com/users/bebraw/gists{/gist_id}","starred_url":"https://api.github.com/users/bebraw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bebraw/subscriptions","organizations_url":"https://api.github.com/users/bebraw/orgs","repos_url":"https://api.github.com/users/bebraw/repos","events_url":"https://api.github.com/users/bebraw/events{/privacy}","received_events_url":"https://api.github.com/users/bebraw/received_events","type":"User","site_admin":false},"body":"This PR generates the site through [antwar](https://github.com/antwarjs/antwar), a site generator of mine (webpack/react). It's quite full-featured and I'll be adding functionality to it as we need it.\r\n\r\nA couple of notes:\r\n\r\n* The styling looks rough (headers etc. are off) but I expect @gregvenech will take care of those so I didn't put too much thought into that. The files can move around etc. based on the need. It's just webpack underneath after all.\r\n* Most of the focus was put on content. I restructured the site. From contributor's point of view it's just markdown (see `content/`) and I tried to keep it as neat as possible. You can see this in the proposed sectioning.\r\n* Section index and pages (root/section) can be styled and modified separately through `layouts/`. I made it so that section pages have Disqus in them and also contain previous/next links for easier navigation. Custom functionality can be added there as needed.\r\n* Each page contains Gitter sidecar pointing to the official chat. Easy to disable if you want, though. This is managed through `layouts/Body.jsx`. You can also control the GitHub \"fork\" banner, and site navigation there.\r\n* There's a custom build of [Fontello](http://fontello.com/) included. It provided those prev/next links and a couple of custom fonts for tips and warnings.\r\n* There's custom Markdown syntax in form of `T>` and `W>`. That's more semantic than using `>` everywhere.\r\n* Each Markdown header receives an anchor automatically so you can link to a specific part of a page.\r\n* Code highlighting goes through [prism](http://prismjs.com/). There's a bit of custom code but I tried to keep it to minimum. Their Node build is a little problematic and the library works better on frontend. Here I process highlighting through Node so that the build result is completely static apart from third party dependencies (Disqus, Gitter).","created_at":"2016-07-17T08:36:40Z","updated_at":"2016-07-22T06:16:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ceb73f1380da3101fadf0d5ce29a66aae54fb7d0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/webpack/webpack.io/pulls/39/commits","review_comments_url":"https://api.github.com/repos/webpack/webpack.io/pulls/39/comments","review_comment_url":"https://api.github.com/repos/webpack/webpack.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/webpack/webpack.io/issues/39/comments","statuses_url":"https://api.github.com/repos/webpack/webpack.io/statuses/7dc985334139d25a0133614bc2cc9aca46a1217e","head":{"label":"webpack:antwar","ref":"antwar","sha":"7dc985334139d25a0133614bc2cc9aca46a1217e","user":{"login":"webpack","id":2105791,"avatar_url":"https://avatars.githubusercontent.com/u/2105791?v=3","gravatar_id":"","url":"https://api.github.com/users/webpack","html_url":"https://github.com/webpack","followers_url":"https://api.github.com/users/webpack/followers","following_url":"https://api.github.com/users/webpack/following{/other_user}","gists_url":"https://api.github.com/users/webpack/gists{/gist_id}","starred_url":"https://api.github.com/users/webpack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webpack/subscriptions","organizations_url":"https://api.github.com/users/webpack/orgs","repos_url":"https://api.github.com/users/webpack/repos","events_url":"https://api.github.com/users/webpack/events{/privacy}","received_events_url":"https://api.github.com/users/webpack/received_events","type":"Organization","site_admin":false},"repo":{"id":61886109,"name":"webpack.io","full_name":"webpack/webpack.io","owner":{"login":"webpack","id":2105791,"avatar_url":"https://avatars.githubusercontent.com/u/2105791?v=3","gravatar_id":"","url":"https://api.github.com/users/webpack","html_url":"https://github.com/webpack","followers_url":"https://api.github.com/users/webpack/followers","following_url":"https://api.github.com/users/webpack/following{/other_user}","gists_url":"https://api.github.com/users/webpack/gists{/gist_id}","starred_url":"https://api.github.com/users/webpack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webpack/subscriptions","organizations_url":"https://api.github.com/users/webpack/orgs","repos_url":"https://api.github.com/users/webpack/repos","events_url":"https://api.github.com/users/webpack/events{/privacy}","received_events_url":"https://api.github.com/users/webpack/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/webpack/webpack.io","description":null,"fork":false,"url":"https://api.github.com/repos/webpack/webpack.io","forks_url":"https://api.github.com/repos/webpack/webpack.io/forks","keys_url":"https://api.github.com/repos/webpack/webpack.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/webpack/webpack.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/webpack/webpack.io/teams","hooks_url":"https://api.github.com/repos/webpack/webpack.io/hooks","issue_events_url":"https://api.github.com/repos/webpack/webpack.io/issues/events{/number}","events_url":"https://api.github.com/repos/webpack/webpack.io/events","assignees_url":"https://api.github.com/repos/webpack/webpack.io/assignees{/user}","branches_url":"https://api.github.com/repos/webpack/webpack.io/branches{/branch}","tags_url":"https://api.github.com/repos/webpack/webpack.io/tags","blobs_url":"https://api.github.com/repos/webpack/webpack.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/webpack/webpack.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/webpack/webpack.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/webpack/webpack.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/webpack/webpack.io/statuses/{sha}","languages_url":"https://api.github.com/repos/webpack/webpack.io/languages","stargazers_url":"https://api.github.com/repos/webpack/webpack.io/stargazers","contributors_url":"https://api.github.com/repos/webpack/webpack.io/contributors","subscribers_url":"https://api.github.com/repos/webpack/webpack.io/subscribers","subscription_url":"https://api.github.com/repos/webpack/webpack.io/subscription","commits_url":"https://api.github.com/repos/webpack/webpack.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/webpack/webpack.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/webpack/webpack.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/webpack/webpack.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/webpack/webpack.io/contents/{+path}","compare_url":"https://api.github.com/repos/webpack/webpack.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/webpack/webpack.io/merges","archive_url":"https://api.github.com/repos/webpack/webpack.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/webpack/webpack.io/downloads","issues_url":"https://api.github.com/repos/webpack/webpack.io/issues{/number}","pulls_url":"https://api.github.com/repos/webpack/webpack.io/pulls{/number}","milestones_url":"https://api.github.com/repos/webpack/webpack.io/milestones{/number}","notifications_url":"https://api.github.com/repos/webpack/webpack.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/webpack/webpack.io/labels{/name}","releases_url":"https://api.github.com/repos/webpack/webpack.io/releases{/id}","deployments_url":"https://api.github.com/repos/webpack/webpack.io/deployments","created_at":"2016-06-24T13:22:52Z","updated_at":"2016-07-22T00:34:09Z","pushed_at":"2016-07-22T04:56:20Z","git_url":"git://github.com/webpack/webpack.io.git","ssh_url":"git@github.com:webpack/webpack.io.git","clone_url":"https://github.com/webpack/webpack.io.git","svn_url":"https://github.com/webpack/webpack.io","homepage":null,"size":412,"stargazers_count":51,"watchers_count":51,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":41,"forks":5,"open_issues":41,"watchers":51,"default_branch":"master"}},"base":{"label":"webpack:master","ref":"master","sha":"d27b81ed85deb13363f46ae5f571a16e211dc4b0","user":{"login":"webpack","id":2105791,"avatar_url":"https://avatars.githubusercontent.com/u/2105791?v=3","gravatar_id":"","url":"https://api.github.com/users/webpack","html_url":"https://github.com/webpack","followers_url":"https://api.github.com/users/webpack/followers","following_url":"https://api.github.com/users/webpack/following{/other_user}","gists_url":"https://api.github.com/users/webpack/gists{/gist_id}","starred_url":"https://api.github.com/users/webpack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webpack/subscriptions","organizations_url":"https://api.github.com/users/webpack/orgs","repos_url":"https://api.github.com/users/webpack/repos","events_url":"https://api.github.com/users/webpack/events{/privacy}","received_events_url":"https://api.github.com/users/webpack/received_events","type":"Organization","site_admin":false},"repo":{"id":61886109,"name":"webpack.io","full_name":"webpack/webpack.io","owner":{"login":"webpack","id":2105791,"avatar_url":"https://avatars.githubusercontent.com/u/2105791?v=3","gravatar_id":"","url":"https://api.github.com/users/webpack","html_url":"https://github.com/webpack","followers_url":"https://api.github.com/users/webpack/followers","following_url":"https://api.github.com/users/webpack/following{/other_user}","gists_url":"https://api.github.com/users/webpack/gists{/gist_id}","starred_url":"https://api.github.com/users/webpack/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/webpack/subscriptions","organizations_url":"https://api.github.com/users/webpack/orgs","repos_url":"https://api.github.com/users/webpack/repos","events_url":"https://api.github.com/users/webpack/events{/privacy}","received_events_url":"https://api.github.com/users/webpack/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/webpack/webpack.io","description":null,"fork":false,"url":"https://api.github.com/repos/webpack/webpack.io","forks_url":"https://api.github.com/repos/webpack/webpack.io/forks","keys_url":"https://api.github.com/repos/webpack/webpack.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/webpack/webpack.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/webpack/webpack.io/teams","hooks_url":"https://api.github.com/repos/webpack/webpack.io/hooks","issue_events_url":"https://api.github.com/repos/webpack/webpack.io/issues/events{/number}","events_url":"https://api.github.com/repos/webpack/webpack.io/events","assignees_url":"https://api.github.com/repos/webpack/webpack.io/assignees{/user}","branches_url":"https://api.github.com/repos/webpack/webpack.io/branches{/branch}","tags_url":"https://api.github.com/repos/webpack/webpack.io/tags","blobs_url":"https://api.github.com/repos/webpack/webpack.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/webpack/webpack.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/webpack/webpack.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/webpack/webpack.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/webpack/webpack.io/statuses/{sha}","languages_url":"https://api.github.com/repos/webpack/webpack.io/languages","stargazers_url":"https://api.github.com/repos/webpack/webpack.io/stargazers","contributors_url":"https://api.github.com/repos/webpack/webpack.io/contributors","subscribers_url":"https://api.github.com/repos/webpack/webpack.io/subscribers","subscription_url":"https://api.github.com/repos/webpack/webpack.io/subscription","commits_url":"https://api.github.com/repos/webpack/webpack.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/webpack/webpack.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/webpack/webpack.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/webpack/webpack.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/webpack/webpack.io/contents/{+path}","compare_url":"https://api.github.com/repos/webpack/webpack.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/webpack/webpack.io/merges","archive_url":"https://api.github.com/repos/webpack/webpack.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/webpack/webpack.io/downloads","issues_url":"https://api.github.com/repos/webpack/webpack.io/issues{/number}","pulls_url":"https://api.github.com/repos/webpack/webpack.io/pulls{/number}","milestones_url":"https://api.github.com/repos/webpack/webpack.io/milestones{/number}","notifications_url":"https://api.github.com/repos/webpack/webpack.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/webpack/webpack.io/labels{/name}","releases_url":"https://api.github.com/repos/webpack/webpack.io/releases{/id}","deployments_url":"https://api.github.com/repos/webpack/webpack.io/deployments","created_at":"2016-06-24T13:22:52Z","updated_at":"2016-07-22T00:34:09Z","pushed_at":"2016-07-22T04:56:20Z","git_url":"git://github.com/webpack/webpack.io.git","ssh_url":"git@github.com:webpack/webpack.io.git","clone_url":"https://github.com/webpack/webpack.io.git","svn_url":"https://github.com/webpack/webpack.io","homepage":null,"size":412,"stargazers_count":51,"watchers_count":51,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":41,"forks":5,"open_issues":41,"watchers":51,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/webpack/webpack.io/pulls/39"},"html":{"href":"https://github.com/webpack/webpack.io/pull/39"},"issue":{"href":"https://api.github.com/repos/webpack/webpack.io/issues/39"},"comments":{"href":"https://api.github.com/repos/webpack/webpack.io/issues/39/comments"},"review_comments":{"href":"https://api.github.com/repos/webpack/webpack.io/pulls/39/comments"},"review_comment":{"href":"https://api.github.com/repos/webpack/webpack.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/webpack/webpack.io/pulls/39/commits"},"statuses":{"href":"https://api.github.com/repos/webpack/webpack.io/statuses/7dc985334139d25a0133614bc2cc9aca46a1217e"}}}}
{"actor":{"display_login":"sokra"}}