{"action":"opened","number":34,"pull_request":{"url":"https://api.github.com/repos/ampproject/amp-by-example/pulls/34","id":61091804,"html_url":"https://github.com/ampproject/amp-by-example/pull/34","diff_url":"https://github.com/ampproject/amp-by-example/pull/34.diff","patch_url":"https://github.com/ampproject/amp-by-example/pull/34.patch","issue_url":"https://api.github.com/repos/ampproject/amp-by-example/issues/34","number":34,"state":"open","locked":false,"title":"Navigate between articles","user":{"login":"kul3r4","id":820891,"avatar_url":"https://avatars.githubusercontent.com/u/820891?v=3","gravatar_id":"","url":"https://api.github.com/users/kul3r4","html_url":"https://github.com/kul3r4","followers_url":"https://api.github.com/users/kul3r4/followers","following_url":"https://api.github.com/users/kul3r4/following{/other_user}","gists_url":"https://api.github.com/users/kul3r4/gists{/gist_id}","starred_url":"https://api.github.com/users/kul3r4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kul3r4/subscriptions","organizations_url":"https://api.github.com/users/kul3r4/orgs","repos_url":"https://api.github.com/users/kul3r4/repos","events_url":"https://api.github.com/users/kul3r4/events{/privacy}","received_events_url":"https://api.github.com/users/kul3r4/received_events","type":"User","site_admin":false},"body":"Added support for navigation between pages (prev and next) as for [Generate link to next example into each example file](https://github.com/ampproject/amp-by-example/issues/12) .\r\n\r\nThe change is made to the compile-example.js. \r\nWhen streaming the files in order to apply the template, when examining the first file only the info about the files are saved. When examining the second file, the previous arguments are used to apply the template using the current file name as \"next\", and so on.\r\nThe file \"last.html\" is a dummy file used for enabling the last file to be added correctly.\r\n","created_at":"2016-02-29T15:11:37Z","updated_at":"2016-02-29T15:11:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ampproject/amp-by-example/pulls/34/commits","review_comments_url":"https://api.github.com/repos/ampproject/amp-by-example/pulls/34/comments","review_comment_url":"https://api.github.com/repos/ampproject/amp-by-example/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ampproject/amp-by-example/issues/34/comments","statuses_url":"https://api.github.com/repos/ampproject/amp-by-example/statuses/68ba6400fab3a57f1e88496efe56719f5332ed32","head":{"label":"kul3r4:navigate-between-articles","ref":"navigate-between-articles","sha":"68ba6400fab3a57f1e88496efe56719f5332ed32","user":{"login":"kul3r4","id":820891,"avatar_url":"https://avatars.githubusercontent.com/u/820891?v=3","gravatar_id":"","url":"https://api.github.com/users/kul3r4","html_url":"https://github.com/kul3r4","followers_url":"https://api.github.com/users/kul3r4/followers","following_url":"https://api.github.com/users/kul3r4/following{/other_user}","gists_url":"https://api.github.com/users/kul3r4/gists{/gist_id}","starred_url":"https://api.github.com/users/kul3r4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kul3r4/subscriptions","organizations_url":"https://api.github.com/users/kul3r4/orgs","repos_url":"https://api.github.com/users/kul3r4/repos","events_url":"https://api.github.com/users/kul3r4/events{/privacy}","received_events_url":"https://api.github.com/users/kul3r4/received_events","type":"User","site_admin":false},"repo":{"id":52002202,"name":"amp-by-example","full_name":"kul3r4/amp-by-example","owner":{"login":"kul3r4","id":820891,"avatar_url":"https://avatars.githubusercontent.com/u/820891?v=3","gravatar_id":"","url":"https://api.github.com/users/kul3r4","html_url":"https://github.com/kul3r4","followers_url":"https://api.github.com/users/kul3r4/followers","following_url":"https://api.github.com/users/kul3r4/following{/other_user}","gists_url":"https://api.github.com/users/kul3r4/gists{/gist_id}","starred_url":"https://api.github.com/users/kul3r4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kul3r4/subscriptions","organizations_url":"https://api.github.com/users/kul3r4/orgs","repos_url":"https://api.github.com/users/kul3r4/repos","events_url":"https://api.github.com/users/kul3r4/events{/privacy}","received_events_url":"https://api.github.com/users/kul3r4/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kul3r4/amp-by-example","description":"Accelerated Mobile Pages in Action","fork":true,"url":"https://api.github.com/repos/kul3r4/amp-by-example","forks_url":"https://api.github.com/repos/kul3r4/amp-by-example/forks","keys_url":"https://api.github.com/repos/kul3r4/amp-by-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kul3r4/amp-by-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kul3r4/amp-by-example/teams","hooks_url":"https://api.github.com/repos/kul3r4/amp-by-example/hooks","issue_events_url":"https://api.github.com/repos/kul3r4/amp-by-example/issues/events{/number}","events_url":"https://api.github.com/repos/kul3r4/amp-by-example/events","assignees_url":"https://api.github.com/repos/kul3r4/amp-by-example/assignees{/user}","branches_url":"https://api.github.com/repos/kul3r4/amp-by-example/branches{/branch}","tags_url":"https://api.github.com/repos/kul3r4/amp-by-example/tags","blobs_url":"https://api.github.com/repos/kul3r4/amp-by-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kul3r4/amp-by-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kul3r4/amp-by-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/kul3r4/amp-by-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kul3r4/amp-by-example/statuses/{sha}","languages_url":"https://api.github.com/repos/kul3r4/amp-by-example/languages","stargazers_url":"https://api.github.com/repos/kul3r4/amp-by-example/stargazers","contributors_url":"https://api.github.com/repos/kul3r4/amp-by-example/contributors","subscribers_url":"https://api.github.com/repos/kul3r4/amp-by-example/subscribers","subscription_url":"https://api.github.com/repos/kul3r4/amp-by-example/subscription","commits_url":"https://api.github.com/repos/kul3r4/amp-by-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/kul3r4/amp-by-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/kul3r4/amp-by-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/kul3r4/amp-by-example/issues/comments{/number}","contents_url":"https://api.github.com/repos/kul3r4/amp-by-example/contents/{+path}","compare_url":"https://api.github.com/repos/kul3r4/amp-by-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kul3r4/amp-by-example/merges","archive_url":"https://api.github.com/repos/kul3r4/amp-by-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kul3r4/amp-by-example/downloads","issues_url":"https://api.github.com/repos/kul3r4/amp-by-example/issues{/number}","pulls_url":"https://api.github.com/repos/kul3r4/amp-by-example/pulls{/number}","milestones_url":"https://api.github.com/repos/kul3r4/amp-by-example/milestones{/number}","notifications_url":"https://api.github.com/repos/kul3r4/amp-by-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kul3r4/amp-by-example/labels{/name}","releases_url":"https://api.github.com/repos/kul3r4/amp-by-example/releases{/id}","deployments_url":"https://api.github.com/repos/kul3r4/amp-by-example/deployments","created_at":"2016-02-18T11:18:36Z","updated_at":"2016-02-18T11:18:36Z","pushed_at":"2016-02-29T15:10:32Z","git_url":"git://github.com/kul3r4/amp-by-example.git","ssh_url":"git@github.com:kul3r4/amp-by-example.git","clone_url":"https://github.com/kul3r4/amp-by-example.git","svn_url":"https://github.com/kul3r4/amp-by-example","homepage":"http://amp-by-example.appspot.com/","size":682,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ampproject:master","ref":"master","sha":"7be05612f085ef2d31f1be5a18c4e77ad6adabfa","user":{"login":"ampproject","id":14114390,"avatar_url":"https://avatars.githubusercontent.com/u/14114390?v=3","gravatar_id":"","url":"https://api.github.com/users/ampproject","html_url":"https://github.com/ampproject","followers_url":"https://api.github.com/users/ampproject/followers","following_url":"https://api.github.com/users/ampproject/following{/other_user}","gists_url":"https://api.github.com/users/ampproject/gists{/gist_id}","starred_url":"https://api.github.com/users/ampproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ampproject/subscriptions","organizations_url":"https://api.github.com/users/ampproject/orgs","repos_url":"https://api.github.com/users/ampproject/repos","events_url":"https://api.github.com/users/ampproject/events{/privacy}","received_events_url":"https://api.github.com/users/ampproject/received_events","type":"Organization","site_admin":false},"repo":{"id":51327024,"name":"amp-by-example","full_name":"ampproject/amp-by-example","owner":{"login":"ampproject","id":14114390,"avatar_url":"https://avatars.githubusercontent.com/u/14114390?v=3","gravatar_id":"","url":"https://api.github.com/users/ampproject","html_url":"https://github.com/ampproject","followers_url":"https://api.github.com/users/ampproject/followers","following_url":"https://api.github.com/users/ampproject/following{/other_user}","gists_url":"https://api.github.com/users/ampproject/gists{/gist_id}","starred_url":"https://api.github.com/users/ampproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ampproject/subscriptions","organizations_url":"https://api.github.com/users/ampproject/orgs","repos_url":"https://api.github.com/users/ampproject/repos","events_url":"https://api.github.com/users/ampproject/events{/privacy}","received_events_url":"https://api.github.com/users/ampproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ampproject/amp-by-example","description":"Accelerated Mobile Pages in Action","fork":false,"url":"https://api.github.com/repos/ampproject/amp-by-example","forks_url":"https://api.github.com/repos/ampproject/amp-by-example/forks","keys_url":"https://api.github.com/repos/ampproject/amp-by-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ampproject/amp-by-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ampproject/amp-by-example/teams","hooks_url":"https://api.github.com/repos/ampproject/amp-by-example/hooks","issue_events_url":"https://api.github.com/repos/ampproject/amp-by-example/issues/events{/number}","events_url":"https://api.github.com/repos/ampproject/amp-by-example/events","assignees_url":"https://api.github.com/repos/ampproject/amp-by-example/assignees{/user}","branches_url":"https://api.github.com/repos/ampproject/amp-by-example/branches{/branch}","tags_url":"https://api.github.com/repos/ampproject/amp-by-example/tags","blobs_url":"https://api.github.com/repos/ampproject/amp-by-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ampproject/amp-by-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ampproject/amp-by-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/ampproject/amp-by-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ampproject/amp-by-example/statuses/{sha}","languages_url":"https://api.github.com/repos/ampproject/amp-by-example/languages","stargazers_url":"https://api.github.com/repos/ampproject/amp-by-example/stargazers","contributors_url":"https://api.github.com/repos/ampproject/amp-by-example/contributors","subscribers_url":"https://api.github.com/repos/ampproject/amp-by-example/subscribers","subscription_url":"https://api.github.com/repos/ampproject/amp-by-example/subscription","commits_url":"https://api.github.com/repos/ampproject/amp-by-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/ampproject/amp-by-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/ampproject/amp-by-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/ampproject/amp-by-example/issues/comments{/number}","contents_url":"https://api.github.com/repos/ampproject/amp-by-example/contents/{+path}","compare_url":"https://api.github.com/repos/ampproject/amp-by-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ampproject/amp-by-example/merges","archive_url":"https://api.github.com/repos/ampproject/amp-by-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ampproject/amp-by-example/downloads","issues_url":"https://api.github.com/repos/ampproject/amp-by-example/issues{/number}","pulls_url":"https://api.github.com/repos/ampproject/amp-by-example/pulls{/number}","milestones_url":"https://api.github.com/repos/ampproject/amp-by-example/milestones{/number}","notifications_url":"https://api.github.com/repos/ampproject/amp-by-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ampproject/amp-by-example/labels{/name}","releases_url":"https://api.github.com/repos/ampproject/amp-by-example/releases{/id}","deployments_url":"https://api.github.com/repos/ampproject/amp-by-example/deployments","created_at":"2016-02-08T21:05:29Z","updated_at":"2016-02-26T19:50:18Z","pushed_at":"2016-02-26T16:15:49Z","git_url":"git://github.com/ampproject/amp-by-example.git","ssh_url":"git@github.com:ampproject/amp-by-example.git","clone_url":"https://github.com/ampproject/amp-by-example.git","svn_url":"https://github.com/ampproject/amp-by-example","homepage":"http://amp-by-example.appspot.com/","size":33410,"stargazers_count":33,"watchers_count":33,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":17,"forks":13,"open_issues":17,"watchers":33,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ampproject/amp-by-example/pulls/34"},"html":{"href":"https://github.com/ampproject/amp-by-example/pull/34"},"issue":{"href":"https://api.github.com/repos/ampproject/amp-by-example/issues/34"},"comments":{"href":"https://api.github.com/repos/ampproject/amp-by-example/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/ampproject/amp-by-example/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/ampproject/amp-by-example/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ampproject/amp-by-example/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/ampproject/amp-by-example/statuses/68ba6400fab3a57f1e88496efe56719f5332ed32"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":115,"deletions":21,"changed_files":4}}