{"action":"created","comment":{"url":"https://api.github.com/repos/pressbooks/pressbooks-book/pulls/comments/177208711","pull_request_review_id":107042946,"id":177208711,"diff_hunk":"@@ -1,8 +1,12 @@\n <section class=\"block block-toc\">\n \t<?php if ( pb_get_first_post_id() ) : ?>\n \t\t<h2 class=\"block__title block-toc__title\"><?php _e( 'Contents', 'pressbooks-book' ); ?></h2><?php\n-\t\tinclude( locate_template( 'partials/content-toc.php' ) );\n-\tendif;\n+\t\tinclude( locate_template( 'partials/content-toc.php' ) ); ?>\n+\t\t<div class=\"toc__toggle\" aria-expanded=\"false\">\n+\t\t\t<button id=\"show\" class=\"button\"><?php _e( 'Show All Contents' ); ?></button>","path":"partials/content-cover-toc.php","position":8,"original_position":8,"commit_id":"6095306ad2ee8c41588a0bf21c456f589c46963f","original_commit_id":"6095306ad2ee8c41588a0bf21c456f589c46963f","user":{"login":"accesslint[bot]","id":25971091,"avatar_url":"https://avatars1.githubusercontent.com/in/1502?v=4","gravatar_id":"","url":"https://api.github.com/users/accesslint%5Bbot%5D","html_url":"https://github.com/apps/accesslint","followers_url":"https://api.github.com/users/accesslint%5Bbot%5D/followers","following_url":"https://api.github.com/users/accesslint%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/accesslint%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/accesslint%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/accesslint%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/accesslint%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/accesslint%5Bbot%5D/repos","events_url":"https://api.github.com/users/accesslint%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/accesslint%5Bbot%5D/received_events","type":"Bot","site_admin":false},"body":"This button needs text.","created_at":"2018-03-26T19:34:52Z","updated_at":"2018-03-26T19:34:52Z","html_url":"https://github.com/pressbooks/pressbooks-book/pull/161#discussion_r177208711","pull_request_url":"https://api.github.com/repos/pressbooks/pressbooks-book/pulls/161","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/pressbooks/pressbooks-book/pulls/comments/177208711"},"html":{"href":"https://github.com/pressbooks/pressbooks-book/pull/161#discussion_r177208711"},"pull_request":{"href":"https://api.github.com/repos/pressbooks/pressbooks-book/pulls/161"}}},"pull_request":{"url":"https://api.github.com/repos/pressbooks/pressbooks-book/pulls/161","id":177545595,"html_url":"https://github.com/pressbooks/pressbooks-book/pull/161","diff_url":"https://github.com/pressbooks/pressbooks-book/pull/161.diff","patch_url":"https://github.com/pressbooks/pressbooks-book/pull/161.patch","issue_url":"https://api.github.com/repos/pressbooks/pressbooks-book/issues/161","number":161,"state":"open","locked":false,"title":"Add show/hide buttons to cover TOC (fix #146)","user":{"login":"greatislander","id":605361,"avatar_url":"https://avatars0.githubusercontent.com/u/605361?v=4","gravatar_id":"","url":"https://api.github.com/users/greatislander","html_url":"https://github.com/greatislander","followers_url":"https://api.github.com/users/greatislander/followers","following_url":"https://api.github.com/users/greatislander/following{/other_user}","gists_url":"https://api.github.com/users/greatislander/gists{/gist_id}","starred_url":"https://api.github.com/users/greatislander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greatislander/subscriptions","organizations_url":"https://api.github.com/users/greatislander/orgs","repos_url":"https://api.github.com/users/greatislander/repos","events_url":"https://api.github.com/users/greatislander/events{/privacy}","received_events_url":"https://api.github.com/users/greatislander/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-26T19:34:42Z","updated_at":"2018-03-26T19:34:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bac0fe2dc6bfcfa17962524654e628e0cd5d6d07","assignee":{"login":"greatislander","id":605361,"avatar_url":"https://avatars0.githubusercontent.com/u/605361?v=4","gravatar_id":"","url":"https://api.github.com/users/greatislander","html_url":"https://github.com/greatislander","followers_url":"https://api.github.com/users/greatislander/followers","following_url":"https://api.github.com/users/greatislander/following{/other_user}","gists_url":"https://api.github.com/users/greatislander/gists{/gist_id}","starred_url":"https://api.github.com/users/greatislander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greatislander/subscriptions","organizations_url":"https://api.github.com/users/greatislander/orgs","repos_url":"https://api.github.com/users/greatislander/repos","events_url":"https://api.github.com/users/greatislander/events{/privacy}","received_events_url":"https://api.github.com/users/greatislander/received_events","type":"User","site_admin":false},"assignees":[{"login":"greatislander","id":605361,"avatar_url":"https://avatars0.githubusercontent.com/u/605361?v=4","gravatar_id":"","url":"https://api.github.com/users/greatislander","html_url":"https://github.com/greatislander","followers_url":"https://api.github.com/users/greatislander/followers","following_url":"https://api.github.com/users/greatislander/following{/other_user}","gists_url":"https://api.github.com/users/greatislander/gists{/gist_id}","starred_url":"https://api.github.com/users/greatislander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greatislander/subscriptions","organizations_url":"https://api.github.com/users/greatislander/orgs","repos_url":"https://api.github.com/users/greatislander/repos","events_url":"https://api.github.com/users/greatislander/events{/privacy}","received_events_url":"https://api.github.com/users/greatislander/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":600467035,"url":"https://api.github.com/repos/pressbooks/pressbooks-book/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":{"url":"https://api.github.com/repos/pressbooks/pressbooks-book/milestones/10","html_url":"https://github.com/pressbooks/pressbooks-book/milestone/10","labels_url":"https://api.github.com/repos/pressbooks/pressbooks-book/milestones/10/labels","id":3188693,"number":10,"title":"2.2.0","description":"","creator":{"login":"greatislander","id":605361,"avatar_url":"https://avatars0.githubusercontent.com/u/605361?v=4","gravatar_id":"","url":"https://api.github.com/users/greatislander","html_url":"https://github.com/greatislander","followers_url":"https://api.github.com/users/greatislander/followers","following_url":"https://api.github.com/users/greatislander/following{/other_user}","gists_url":"https://api.github.com/users/greatislander/gists{/gist_id}","starred_url":"https://api.github.com/users/greatislander/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greatislander/subscriptions","organizations_url":"https://api.github.com/users/greatislander/orgs","repos_url":"https://api.github.com/users/greatislander/repos","events_url":"https://api.github.com/users/greatislander/events{/privacy}","received_events_url":"https://api.github.com/users/greatislander/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":16,"state":"open","created_at":"2018-03-14T21:27:04Z","updated_at":"2018-03-26T19:34:42Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/pressbooks/pressbooks-book/pulls/161/commits","review_comments_url":"https://api.github.com/repos/pressbooks/pressbooks-book/pulls/161/comments","review_comment_url":"https://api.github.com/repos/pressbooks/pressbooks-book/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pressbooks/pressbooks-book/issues/161/comments","statuses_url":"https://api.github.com/repos/pressbooks/pressbooks-book/statuses/6095306ad2ee8c41588a0bf21c456f589c46963f","head":{"label":"pressbooks:show-hide-cover-toc","ref":"show-hide-cover-toc","sha":"6095306ad2ee8c41588a0bf21c456f589c46963f","user":{"login":"pressbooks","id":4054717,"avatar_url":"https://avatars3.githubusercontent.com/u/4054717?v=4","gravatar_id":"","url":"https://api.github.com/users/pressbooks","html_url":"https://github.com/pressbooks","followers_url":"https://api.github.com/users/pressbooks/followers","following_url":"https://api.github.com/users/pressbooks/following{/other_user}","gists_url":"https://api.github.com/users/pressbooks/gists{/gist_id}","starred_url":"https://api.github.com/users/pressbooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pressbooks/subscriptions","organizations_url":"https://api.github.com/users/pressbooks/orgs","repos_url":"https://api.github.com/users/pressbooks/repos","events_url":"https://api.github.com/users/pressbooks/events{/privacy}","received_events_url":"https://api.github.com/users/pressbooks/received_events","type":"Organization","site_admin":false},"repo":{"id":90626364,"name":"pressbooks-book","full_name":"pressbooks/pressbooks-book","owner":{"login":"pressbooks","id":4054717,"avatar_url":"https://avatars3.githubusercontent.com/u/4054717?v=4","gravatar_id":"","url":"https://api.github.com/users/pressbooks","html_url":"https://github.com/pressbooks","followers_url":"https://api.github.com/users/pressbooks/followers","following_url":"https://api.github.com/users/pressbooks/following{/other_user}","gists_url":"https://api.github.com/users/pressbooks/gists{/gist_id}","starred_url":"https://api.github.com/users/pressbooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pressbooks/subscriptions","organizations_url":"https://api.github.com/users/pressbooks/orgs","repos_url":"https://api.github.com/users/pressbooks/repos","events_url":"https://api.github.com/users/pressbooks/events{/privacy}","received_events_url":"https://api.github.com/users/pressbooks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pressbooks/pressbooks-book","description":"McLuhan is the default book theme for Pressbooks.","fork":false,"url":"https://api.github.com/repos/pressbooks/pressbooks-book","forks_url":"https://api.github.com/repos/pressbooks/pressbooks-book/forks","keys_url":"https://api.github.com/repos/pressbooks/pressbooks-book/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pressbooks/pressbooks-book/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pressbooks/pressbooks-book/teams","hooks_url":"https://api.github.com/repos/pressbooks/pressbooks-book/hooks","issue_events_url":"https://api.github.com/repos/pressbooks/pressbooks-book/issues/events{/number}","events_url":"https://api.github.com/repos/pressbooks/pressbooks-book/events","assignees_url":"https://api.github.com/repos/pressbooks/pressbooks-book/assignees{/user}","branches_url":"https://api.github.com/repos/pressbooks/pressbooks-book/branches{/branch}","tags_url":"https://api.github.com/repos/pressbooks/pressbooks-book/tags","blobs_url":"https://api.github.com/repos/pressbooks/pressbooks-book/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pressbooks/pressbooks-book/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pressbooks/pressbooks-book/git/refs{/sha}","trees_url":"https://api.github.com/repos/pressbooks/pressbooks-book/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pressbooks/pressbooks-book/statuses/{sha}","languages_url":"https://api.github.com/repos/pressbooks/pressbooks-book/languages","stargazers_url":"https://api.github.com/repos/pressbooks/pressbooks-book/stargazers","contributors_url":"https://api.github.com/repos/pressbooks/pressbooks-book/contributors","subscribers_url":"https://api.github.com/repos/pressbooks/pressbooks-book/subscribers","subscription_url":"https://api.github.com/repos/pressbooks/pressbooks-book/subscription","commits_url":"https://api.github.com/repos/pressbooks/pressbooks-book/commits{/sha}","git_commits_url":"https://api.github.com/repos/pressbooks/pressbooks-book/git/commits{/sha}","comments_url":"https://api.github.com/repos/pressbooks/pressbooks-book/comments{/number}","issue_comment_url":"https://api.github.com/repos/pressbooks/pressbooks-book/issues/comments{/number}","contents_url":"https://api.github.com/repos/pressbooks/pressbooks-book/contents/{+path}","compare_url":"https://api.github.com/repos/pressbooks/pressbooks-book/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pressbooks/pressbooks-book/merges","archive_url":"https://api.github.com/repos/pressbooks/pressbooks-book/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pressbooks/pressbooks-book/downloads","issues_url":"https://api.github.com/repos/pressbooks/pressbooks-book/issues{/number}","pulls_url":"https://api.github.com/repos/pressbooks/pressbooks-book/pulls{/number}","milestones_url":"https://api.github.com/repos/pressbooks/pressbooks-book/milestones{/number}","notifications_url":"https://api.github.com/repos/pressbooks/pressbooks-book/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pressbooks/pressbooks-book/labels{/name}","releases_url":"https://api.github.com/repos/pressbooks/pressbooks-book/releases{/id}","deployments_url":"https://api.github.com/repos/pressbooks/pressbooks-book/deployments","created_at":"2017-05-08T12:36:07Z","updated_at":"2018-03-26T19:06:25Z","pushed_at":"2018-03-26T19:34:42Z","git_url":"git://github.com/pressbooks/pressbooks-book.git","ssh_url":"git@github.com:pressbooks/pressbooks-book.git","clone_url":"https://github.com/pressbooks/pressbooks-book.git","svn_url":"https://github.com/pressbooks/pressbooks-book","homepage":"https://pressbooks.org","size":22572,"stargazers_count":3,"watchers_count":3,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":5,"open_issues":13,"watchers":3,"default_branch":"dev"}},"base":{"label":"pressbooks:dev","ref":"dev","sha":"b6ef40d6543572ea97909fcae38f258785c6b8fa","user":{"login":"pressbooks","id":4054717,"avatar_url":"https://avatars3.githubusercontent.com/u/4054717?v=4","gravatar_id":"","url":"https://api.github.com/users/pressbooks","html_url":"https://github.com/pressbooks","followers_url":"https://api.github.com/users/pressbooks/followers","following_url":"https://api.github.com/users/pressbooks/following{/other_user}","gists_url":"https://api.github.com/users/pressbooks/gists{/gist_id}","starred_url":"https://api.github.com/users/pressbooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pressbooks/subscriptions","organizations_url":"https://api.github.com/users/pressbooks/orgs","repos_url":"https://api.github.com/users/pressbooks/repos","events_url":"https://api.github.com/users/pressbooks/events{/privacy}","received_events_url":"https://api.github.com/users/pressbooks/received_events","type":"Organization","site_admin":false},"repo":{"id":90626364,"name":"pressbooks-book","full_name":"pressbooks/pressbooks-book","owner":{"login":"pressbooks","id":4054717,"avatar_url":"https://avatars3.githubusercontent.com/u/4054717?v=4","gravatar_id":"","url":"https://api.github.com/users/pressbooks","html_url":"https://github.com/pressbooks","followers_url":"https://api.github.com/users/pressbooks/followers","following_url":"https://api.github.com/users/pressbooks/following{/other_user}","gists_url":"https://api.github.com/users/pressbooks/gists{/gist_id}","starred_url":"https://api.github.com/users/pressbooks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pressbooks/subscriptions","organizations_url":"https://api.github.com/users/pressbooks/orgs","repos_url":"https://api.github.com/users/pressbooks/repos","events_url":"https://api.github.com/users/pressbooks/events{/privacy}","received_events_url":"https://api.github.com/users/pressbooks/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pressbooks/pressbooks-book","description":"McLuhan is the default book theme for Pressbooks.","fork":false,"url":"https://api.github.com/repos/pressbooks/pressbooks-book","forks_url":"https://api.github.com/repos/pressbooks/pressbooks-book/forks","keys_url":"https://api.github.com/repos/pressbooks/pressbooks-book/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pressbooks/pressbooks-book/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pressbooks/pressbooks-book/teams","hooks_url":"https://api.github.com/repos/pressbooks/pressbooks-book/hooks","issue_events_url":"https://api.github.com/repos/pressbooks/pressbooks-book/issues/events{/number}","events_url":"https://api.github.com/repos/pressbooks/pressbooks-book/events","assignees_url":"https://api.github.com/repos/pressbooks/pressbooks-book/assignees{/user}","branches_url":"https://api.github.com/repos/pressbooks/pressbooks-book/branches{/branch}","tags_url":"https://api.github.com/repos/pressbooks/pressbooks-book/tags","blobs_url":"https://api.github.com/repos/pressbooks/pressbooks-book/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pressbooks/pressbooks-book/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pressbooks/pressbooks-book/git/refs{/sha}","trees_url":"https://api.github.com/repos/pressbooks/pressbooks-book/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pressbooks/pressbooks-book/statuses/{sha}","languages_url":"https://api.github.com/repos/pressbooks/pressbooks-book/languages","stargazers_url":"https://api.github.com/repos/pressbooks/pressbooks-book/stargazers","contributors_url":"https://api.github.com/repos/pressbooks/pressbooks-book/contributors","subscribers_url":"https://api.github.com/repos/pressbooks/pressbooks-book/subscribers","subscription_url":"https://api.github.com/repos/pressbooks/pressbooks-book/subscription","commits_url":"https://api.github.com/repos/pressbooks/pressbooks-book/commits{/sha}","git_commits_url":"https://api.github.com/repos/pressbooks/pressbooks-book/git/commits{/sha}","comments_url":"https://api.github.com/repos/pressbooks/pressbooks-book/comments{/number}","issue_comment_url":"https://api.github.com/repos/pressbooks/pressbooks-book/issues/comments{/number}","contents_url":"https://api.github.com/repos/pressbooks/pressbooks-book/contents/{+path}","compare_url":"https://api.github.com/repos/pressbooks/pressbooks-book/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pressbooks/pressbooks-book/merges","archive_url":"https://api.github.com/repos/pressbooks/pressbooks-book/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pressbooks/pressbooks-book/downloads","issues_url":"https://api.github.com/repos/pressbooks/pressbooks-book/issues{/number}","pulls_url":"https://api.github.com/repos/pressbooks/pressbooks-book/pulls{/number}","milestones_url":"https://api.github.com/repos/pressbooks/pressbooks-book/milestones{/number}","notifications_url":"https://api.github.com/repos/pressbooks/pressbooks-book/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pressbooks/pressbooks-book/labels{/name}","releases_url":"https://api.github.com/repos/pressbooks/pressbooks-book/releases{/id}","deployments_url":"https://api.github.com/repos/pressbooks/pressbooks-book/deployments","created_at":"2017-05-08T12:36:07Z","updated_at":"2018-03-26T19:06:25Z","pushed_at":"2018-03-26T19:34:42Z","git_url":"git://github.com/pressbooks/pressbooks-book.git","ssh_url":"git@github.com:pressbooks/pressbooks-book.git","clone_url":"https://github.com/pressbooks/pressbooks-book.git","svn_url":"https://github.com/pressbooks/pressbooks-book","homepage":"https://pressbooks.org","size":22572,"stargazers_count":3,"watchers_count":3,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":5,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"gpl-3.0","name":"GNU General Public License v3.0","spdx_id":"GPL-3.0","url":"https://api.github.com/licenses/gpl-3.0"},"forks":5,"open_issues":13,"watchers":3,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/pressbooks/pressbooks-book/pulls/161"},"html":{"href":"https://github.com/pressbooks/pressbooks-book/pull/161"},"issue":{"href":"https://api.github.com/repos/pressbooks/pressbooks-book/issues/161"},"comments":{"href":"https://api.github.com/repos/pressbooks/pressbooks-book/issues/161/comments"},"review_comments":{"href":"https://api.github.com/repos/pressbooks/pressbooks-book/pulls/161/comments"},"review_comment":{"href":"https://api.github.com/repos/pressbooks/pressbooks-book/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pressbooks/pressbooks-book/pulls/161/commits"},"statuses":{"href":"https://api.github.com/repos/pressbooks/pressbooks-book/statuses/6095306ad2ee8c41588a0bf21c456f589c46963f"}},"author_association":"OWNER"}}
{"actor":{"display_login":"accesslint"}}