{"action":"created","comment":{"url":"https://api.github.com/repos/nodejs/nodejs.org/pulls/comments/46334944","id":46334944,"diff_hunk":"@@ -210,8 +243,9 @@ function fullbuild () {\n   })\n }\n \n+// The server function, where the site is exposed through a static file server.","path":"build.js","position":150,"original_position":150,"commit_id":"18a4af8d8364d0386deccbdb99d2f653bdc24eef","original_commit_id":"18a4af8d8364d0386deccbdb99d2f653bdc24eef","user":{"login":"phillipj","id":1231635,"avatar_url":"https://avatars.githubusercontent.com/u/1231635?v=3","gravatar_id":"","url":"https://api.github.com/users/phillipj","html_url":"https://github.com/phillipj","followers_url":"https://api.github.com/users/phillipj/followers","following_url":"https://api.github.com/users/phillipj/following{/other_user}","gists_url":"https://api.github.com/users/phillipj/gists{/gist_id}","starred_url":"https://api.github.com/users/phillipj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phillipj/subscriptions","organizations_url":"https://api.github.com/users/phillipj/orgs","repos_url":"https://api.github.com/users/phillipj/repos","events_url":"https://api.github.com/users/phillipj/events{/privacy}","received_events_url":"https://api.github.com/users/phillipj/received_events","type":"User","site_admin":false},"body":"The server function, where the site is exposed through a static file server **locally**.","created_at":"2015-12-01T20:36:24Z","updated_at":"2015-12-01T20:36:24Z","html_url":"https://github.com/nodejs/nodejs.org/pull/396#discussion_r46334944","pull_request_url":"https://api.github.com/repos/nodejs/nodejs.org/pulls/396","_links":{"self":{"href":"https://api.github.com/repos/nodejs/nodejs.org/pulls/comments/46334944"},"html":{"href":"https://github.com/nodejs/nodejs.org/pull/396#discussion_r46334944"},"pull_request":{"href":"https://api.github.com/repos/nodejs/nodejs.org/pulls/396"}}},"pull_request":{"url":"https://api.github.com/repos/nodejs/nodejs.org/pulls/396","id":52170862,"html_url":"https://github.com/nodejs/nodejs.org/pull/396","diff_url":"https://github.com/nodejs/nodejs.org/pull/396.diff","patch_url":"https://github.com/nodejs/nodejs.org/pull/396.patch","issue_url":"https://api.github.com/repos/nodejs/nodejs.org/issues/396","number":396,"state":"open","locked":false,"title":"document build.js","user":{"login":"sup","id":6078550,"avatar_url":"https://avatars.githubusercontent.com/u/6078550?v=3","gravatar_id":"","url":"https://api.github.com/users/sup","html_url":"https://github.com/sup","followers_url":"https://api.github.com/users/sup/followers","following_url":"https://api.github.com/users/sup/following{/other_user}","gists_url":"https://api.github.com/users/sup/gists{/gist_id}","starred_url":"https://api.github.com/users/sup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sup/subscriptions","organizations_url":"https://api.github.com/users/sup/orgs","repos_url":"https://api.github.com/users/sup/repos","events_url":"https://api.github.com/users/sup/events{/privacy}","received_events_url":"https://api.github.com/users/sup/received_events","type":"User","site_admin":false},"body":"this is something that i've been wanting to do for a longer time now. let's document the quite complicated (for a metalsmith build script at least) `build.js` file.\r\n\r\ni've started and added some base comments. if any of those are wrong or superfluous, please let me know. also let me know if there's something left to be documented!","created_at":"2015-11-30T19:56:32Z","updated_at":"2015-12-01T20:36:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ce58c91c8ff59654dce96a8dcda3fc0afc23f935","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/nodejs/nodejs.org/pulls/396/commits","review_comments_url":"https://api.github.com/repos/nodejs/nodejs.org/pulls/396/comments","review_comment_url":"https://api.github.com/repos/nodejs/nodejs.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nodejs/nodejs.org/issues/396/comments","statuses_url":"https://api.github.com/repos/nodejs/nodejs.org/statuses/18a4af8d8364d0386deccbdb99d2f653bdc24eef","head":{"label":"nodejs:sup-buildjs-stuff","ref":"sup-buildjs-stuff","sha":"18a4af8d8364d0386deccbdb99d2f653bdc24eef","user":{"login":"nodejs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"repo":{"id":37717474,"name":"nodejs.org","full_name":"nodejs/nodejs.org","owner":{"login":"nodejs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nodejs/nodejs.org","description":"The Node.js website.","fork":false,"url":"https://api.github.com/repos/nodejs/nodejs.org","forks_url":"https://api.github.com/repos/nodejs/nodejs.org/forks","keys_url":"https://api.github.com/repos/nodejs/nodejs.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nodejs/nodejs.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nodejs/nodejs.org/teams","hooks_url":"https://api.github.com/repos/nodejs/nodejs.org/hooks","issue_events_url":"https://api.github.com/repos/nodejs/nodejs.org/issues/events{/number}","events_url":"https://api.github.com/repos/nodejs/nodejs.org/events","assignees_url":"https://api.github.com/repos/nodejs/nodejs.org/assignees{/user}","branches_url":"https://api.github.com/repos/nodejs/nodejs.org/branches{/branch}","tags_url":"https://api.github.com/repos/nodejs/nodejs.org/tags","blobs_url":"https://api.github.com/repos/nodejs/nodejs.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nodejs/nodejs.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nodejs/nodejs.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/nodejs/nodejs.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nodejs/nodejs.org/statuses/{sha}","languages_url":"https://api.github.com/repos/nodejs/nodejs.org/languages","stargazers_url":"https://api.github.com/repos/nodejs/nodejs.org/stargazers","contributors_url":"https://api.github.com/repos/nodejs/nodejs.org/contributors","subscribers_url":"https://api.github.com/repos/nodejs/nodejs.org/subscribers","subscription_url":"https://api.github.com/repos/nodejs/nodejs.org/subscription","commits_url":"https://api.github.com/repos/nodejs/nodejs.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/nodejs/nodejs.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/nodejs/nodejs.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/nodejs/nodejs.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/nodejs/nodejs.org/contents/{+path}","compare_url":"https://api.github.com/repos/nodejs/nodejs.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nodejs/nodejs.org/merges","archive_url":"https://api.github.com/repos/nodejs/nodejs.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nodejs/nodejs.org/downloads","issues_url":"https://api.github.com/repos/nodejs/nodejs.org/issues{/number}","pulls_url":"https://api.github.com/repos/nodejs/nodejs.org/pulls{/number}","milestones_url":"https://api.github.com/repos/nodejs/nodejs.org/milestones{/number}","notifications_url":"https://api.github.com/repos/nodejs/nodejs.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nodejs/nodejs.org/labels{/name}","releases_url":"https://api.github.com/repos/nodejs/nodejs.org/releases{/id}","created_at":"2015-06-19T11:05:10Z","updated_at":"2015-11-29T09:38:40Z","pushed_at":"2015-12-01T19:03:36Z","git_url":"git://github.com/nodejs/nodejs.org.git","ssh_url":"git@github.com:nodejs/nodejs.org.git","clone_url":"https://github.com/nodejs/nodejs.org.git","svn_url":"https://github.com/nodejs/nodejs.org","homepage":"https://nodejs.org","size":12369,"stargazers_count":171,"watchers_count":171,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":126,"mirror_url":null,"open_issues_count":36,"forks":126,"open_issues":36,"watchers":171,"default_branch":"master"}},"base":{"label":"nodejs:master","ref":"master","sha":"7e2310473cdf522b1630814ffd807479c796ade5","user":{"login":"nodejs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"repo":{"id":37717474,"name":"nodejs.org","full_name":"nodejs/nodejs.org","owner":{"login":"nodejs","id":9950313,"avatar_url":"https://avatars.githubusercontent.com/u/9950313?v=3","gravatar_id":"","url":"https://api.github.com/users/nodejs","html_url":"https://github.com/nodejs","followers_url":"https://api.github.com/users/nodejs/followers","following_url":"https://api.github.com/users/nodejs/following{/other_user}","gists_url":"https://api.github.com/users/nodejs/gists{/gist_id}","starred_url":"https://api.github.com/users/nodejs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nodejs/subscriptions","organizations_url":"https://api.github.com/users/nodejs/orgs","repos_url":"https://api.github.com/users/nodejs/repos","events_url":"https://api.github.com/users/nodejs/events{/privacy}","received_events_url":"https://api.github.com/users/nodejs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nodejs/nodejs.org","description":"The Node.js website.","fork":false,"url":"https://api.github.com/repos/nodejs/nodejs.org","forks_url":"https://api.github.com/repos/nodejs/nodejs.org/forks","keys_url":"https://api.github.com/repos/nodejs/nodejs.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nodejs/nodejs.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nodejs/nodejs.org/teams","hooks_url":"https://api.github.com/repos/nodejs/nodejs.org/hooks","issue_events_url":"https://api.github.com/repos/nodejs/nodejs.org/issues/events{/number}","events_url":"https://api.github.com/repos/nodejs/nodejs.org/events","assignees_url":"https://api.github.com/repos/nodejs/nodejs.org/assignees{/user}","branches_url":"https://api.github.com/repos/nodejs/nodejs.org/branches{/branch}","tags_url":"https://api.github.com/repos/nodejs/nodejs.org/tags","blobs_url":"https://api.github.com/repos/nodejs/nodejs.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nodejs/nodejs.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nodejs/nodejs.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/nodejs/nodejs.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nodejs/nodejs.org/statuses/{sha}","languages_url":"https://api.github.com/repos/nodejs/nodejs.org/languages","stargazers_url":"https://api.github.com/repos/nodejs/nodejs.org/stargazers","contributors_url":"https://api.github.com/repos/nodejs/nodejs.org/contributors","subscribers_url":"https://api.github.com/repos/nodejs/nodejs.org/subscribers","subscription_url":"https://api.github.com/repos/nodejs/nodejs.org/subscription","commits_url":"https://api.github.com/repos/nodejs/nodejs.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/nodejs/nodejs.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/nodejs/nodejs.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/nodejs/nodejs.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/nodejs/nodejs.org/contents/{+path}","compare_url":"https://api.github.com/repos/nodejs/nodejs.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nodejs/nodejs.org/merges","archive_url":"https://api.github.com/repos/nodejs/nodejs.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nodejs/nodejs.org/downloads","issues_url":"https://api.github.com/repos/nodejs/nodejs.org/issues{/number}","pulls_url":"https://api.github.com/repos/nodejs/nodejs.org/pulls{/number}","milestones_url":"https://api.github.com/repos/nodejs/nodejs.org/milestones{/number}","notifications_url":"https://api.github.com/repos/nodejs/nodejs.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nodejs/nodejs.org/labels{/name}","releases_url":"https://api.github.com/repos/nodejs/nodejs.org/releases{/id}","created_at":"2015-06-19T11:05:10Z","updated_at":"2015-11-29T09:38:40Z","pushed_at":"2015-12-01T19:03:36Z","git_url":"git://github.com/nodejs/nodejs.org.git","ssh_url":"git@github.com:nodejs/nodejs.org.git","clone_url":"https://github.com/nodejs/nodejs.org.git","svn_url":"https://github.com/nodejs/nodejs.org","homepage":"https://nodejs.org","size":12369,"stargazers_count":171,"watchers_count":171,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":126,"mirror_url":null,"open_issues_count":36,"forks":126,"open_issues":36,"watchers":171,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nodejs/nodejs.org/pulls/396"},"html":{"href":"https://github.com/nodejs/nodejs.org/pull/396"},"issue":{"href":"https://api.github.com/repos/nodejs/nodejs.org/issues/396"},"comments":{"href":"https://api.github.com/repos/nodejs/nodejs.org/issues/396/comments"},"review_comments":{"href":"https://api.github.com/repos/nodejs/nodejs.org/pulls/396/comments"},"review_comment":{"href":"https://api.github.com/repos/nodejs/nodejs.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nodejs/nodejs.org/pulls/396/commits"},"statuses":{"href":"https://api.github.com/repos/nodejs/nodejs.org/statuses/18a4af8d8364d0386deccbdb99d2f653bdc24eef"}}}}