{"action":"closed","number":3,"pull_request":{"url":"https://api.github.com/repos/ideag/tinytoc/pulls/3","id":41956127,"html_url":"https://github.com/ideag/tinytoc/pull/3","diff_url":"https://github.com/ideag/tinytoc/pull/3.diff","patch_url":"https://github.com/ideag/tinytoc/pull/3.patch","issue_url":"https://api.github.com/repos/ideag/tinytoc/issues/3","number":3,"state":"closed","locked":false,"title":"Prevent duplicated names","user":{"login":"odie2","id":9401878,"avatar_url":"https://avatars.githubusercontent.com/u/9401878?v=3","gravatar_id":"","url":"https://api.github.com/users/odie2","html_url":"https://github.com/odie2","followers_url":"https://api.github.com/users/odie2/followers","following_url":"https://api.github.com/users/odie2/following{/other_user}","gists_url":"https://api.github.com/users/odie2/gists{/gist_id}","starred_url":"https://api.github.com/users/odie2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odie2/subscriptions","organizations_url":"https://api.github.com/users/odie2/orgs","repos_url":"https://api.github.com/users/odie2/repos","events_url":"https://api.github.com/users/odie2/events{/privacy}","received_events_url":"https://api.github.com/users/odie2/received_events","type":"User","site_admin":false},"body":"Prevent duplicated id/href names by adding \"-2\" etc.\r\n\r\nSo if you have third headers \"Something\" (sometimes it's as h3/h4 for nested content), the names will be like:\r\n`something`\r\n`something-2`\r\n`something-3`","created_at":"2015-08-08T15:54:07Z","updated_at":"2015-08-19T14:52:59Z","closed_at":"2015-08-19T14:52:59Z","merged_at":"2015-08-19T14:52:59Z","merge_commit_sha":"eecedb30bdb1a3933ba5cc5775e805d5f44e21bd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ideag/tinytoc/pulls/3/commits","review_comments_url":"https://api.github.com/repos/ideag/tinytoc/pulls/3/comments","review_comment_url":"https://api.github.com/repos/ideag/tinytoc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ideag/tinytoc/issues/3/comments","statuses_url":"https://api.github.com/repos/ideag/tinytoc/statuses/23ac6d7ccb11cdd3f61de6e8b8bec58ff0ca6364","head":{"label":"odie2:slug-duplicates","ref":"slug-duplicates","sha":"23ac6d7ccb11cdd3f61de6e8b8bec58ff0ca6364","user":{"login":"odie2","id":9401878,"avatar_url":"https://avatars.githubusercontent.com/u/9401878?v=3","gravatar_id":"","url":"https://api.github.com/users/odie2","html_url":"https://github.com/odie2","followers_url":"https://api.github.com/users/odie2/followers","following_url":"https://api.github.com/users/odie2/following{/other_user}","gists_url":"https://api.github.com/users/odie2/gists{/gist_id}","starred_url":"https://api.github.com/users/odie2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odie2/subscriptions","organizations_url":"https://api.github.com/users/odie2/orgs","repos_url":"https://api.github.com/users/odie2/repos","events_url":"https://api.github.com/users/odie2/events{/privacy}","received_events_url":"https://api.github.com/users/odie2/received_events","type":"User","site_admin":false},"repo":{"id":40406535,"name":"tiny_toc","full_name":"odie2/tiny_toc","owner":{"login":"odie2","id":9401878,"avatar_url":"https://avatars.githubusercontent.com/u/9401878?v=3","gravatar_id":"","url":"https://api.github.com/users/odie2","html_url":"https://github.com/odie2","followers_url":"https://api.github.com/users/odie2/followers","following_url":"https://api.github.com/users/odie2/following{/other_user}","gists_url":"https://api.github.com/users/odie2/gists{/gist_id}","starred_url":"https://api.github.com/users/odie2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odie2/subscriptions","organizations_url":"https://api.github.com/users/odie2/orgs","repos_url":"https://api.github.com/users/odie2/repos","events_url":"https://api.github.com/users/odie2/events{/privacy}","received_events_url":"https://api.github.com/users/odie2/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/odie2/tiny_toc","description":"Automaticly builds a Table of Contents once specific number (eg. 3) of headings (h1-h6) is reached and inserts it before or after post/page content","fork":true,"url":"https://api.github.com/repos/odie2/tiny_toc","forks_url":"https://api.github.com/repos/odie2/tiny_toc/forks","keys_url":"https://api.github.com/repos/odie2/tiny_toc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/odie2/tiny_toc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/odie2/tiny_toc/teams","hooks_url":"https://api.github.com/repos/odie2/tiny_toc/hooks","issue_events_url":"https://api.github.com/repos/odie2/tiny_toc/issues/events{/number}","events_url":"https://api.github.com/repos/odie2/tiny_toc/events","assignees_url":"https://api.github.com/repos/odie2/tiny_toc/assignees{/user}","branches_url":"https://api.github.com/repos/odie2/tiny_toc/branches{/branch}","tags_url":"https://api.github.com/repos/odie2/tiny_toc/tags","blobs_url":"https://api.github.com/repos/odie2/tiny_toc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/odie2/tiny_toc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/odie2/tiny_toc/git/refs{/sha}","trees_url":"https://api.github.com/repos/odie2/tiny_toc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/odie2/tiny_toc/statuses/{sha}","languages_url":"https://api.github.com/repos/odie2/tiny_toc/languages","stargazers_url":"https://api.github.com/repos/odie2/tiny_toc/stargazers","contributors_url":"https://api.github.com/repos/odie2/tiny_toc/contributors","subscribers_url":"https://api.github.com/repos/odie2/tiny_toc/subscribers","subscription_url":"https://api.github.com/repos/odie2/tiny_toc/subscription","commits_url":"https://api.github.com/repos/odie2/tiny_toc/commits{/sha}","git_commits_url":"https://api.github.com/repos/odie2/tiny_toc/git/commits{/sha}","comments_url":"https://api.github.com/repos/odie2/tiny_toc/comments{/number}","issue_comment_url":"https://api.github.com/repos/odie2/tiny_toc/issues/comments{/number}","contents_url":"https://api.github.com/repos/odie2/tiny_toc/contents/{+path}","compare_url":"https://api.github.com/repos/odie2/tiny_toc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/odie2/tiny_toc/merges","archive_url":"https://api.github.com/repos/odie2/tiny_toc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/odie2/tiny_toc/downloads","issues_url":"https://api.github.com/repos/odie2/tiny_toc/issues{/number}","pulls_url":"https://api.github.com/repos/odie2/tiny_toc/pulls{/number}","milestones_url":"https://api.github.com/repos/odie2/tiny_toc/milestones{/number}","notifications_url":"https://api.github.com/repos/odie2/tiny_toc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/odie2/tiny_toc/labels{/name}","releases_url":"https://api.github.com/repos/odie2/tiny_toc/releases{/id}","created_at":"2015-08-08T15:09:35Z","updated_at":"2015-08-08T15:09:35Z","pushed_at":"2015-08-08T19:00:28Z","git_url":"git://github.com/odie2/tiny_toc.git","ssh_url":"git@github.com:odie2/tiny_toc.git","clone_url":"https://github.com/odie2/tiny_toc.git","svn_url":"https://github.com/odie2/tiny_toc","homepage":"","size":403,"stargazers_count":0,"watchers_count":0,"language":"PHP","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":"ideag:master","ref":"master","sha":"53c991ce554469e9617f4e80578f4a34813e6821","user":{"login":"ideag","id":3252474,"avatar_url":"https://avatars.githubusercontent.com/u/3252474?v=3","gravatar_id":"","url":"https://api.github.com/users/ideag","html_url":"https://github.com/ideag","followers_url":"https://api.github.com/users/ideag/followers","following_url":"https://api.github.com/users/ideag/following{/other_user}","gists_url":"https://api.github.com/users/ideag/gists{/gist_id}","starred_url":"https://api.github.com/users/ideag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ideag/subscriptions","organizations_url":"https://api.github.com/users/ideag/orgs","repos_url":"https://api.github.com/users/ideag/repos","events_url":"https://api.github.com/users/ideag/events{/privacy}","received_events_url":"https://api.github.com/users/ideag/received_events","type":"User","site_admin":false},"repo":{"id":10477396,"name":"tinytoc","full_name":"ideag/tinytoc","owner":{"login":"ideag","id":3252474,"avatar_url":"https://avatars.githubusercontent.com/u/3252474?v=3","gravatar_id":"","url":"https://api.github.com/users/ideag","html_url":"https://github.com/ideag","followers_url":"https://api.github.com/users/ideag/followers","following_url":"https://api.github.com/users/ideag/following{/other_user}","gists_url":"https://api.github.com/users/ideag/gists{/gist_id}","starred_url":"https://api.github.com/users/ideag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ideag/subscriptions","organizations_url":"https://api.github.com/users/ideag/orgs","repos_url":"https://api.github.com/users/ideag/repos","events_url":"https://api.github.com/users/ideag/events{/privacy}","received_events_url":"https://api.github.com/users/ideag/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ideag/tinytoc","description":"Automaticly builds a Table of Contents once specific number (eg. 3) of headings (h1-h6) is reached and inserts it before or after post/page content","fork":false,"url":"https://api.github.com/repos/ideag/tinytoc","forks_url":"https://api.github.com/repos/ideag/tinytoc/forks","keys_url":"https://api.github.com/repos/ideag/tinytoc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ideag/tinytoc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ideag/tinytoc/teams","hooks_url":"https://api.github.com/repos/ideag/tinytoc/hooks","issue_events_url":"https://api.github.com/repos/ideag/tinytoc/issues/events{/number}","events_url":"https://api.github.com/repos/ideag/tinytoc/events","assignees_url":"https://api.github.com/repos/ideag/tinytoc/assignees{/user}","branches_url":"https://api.github.com/repos/ideag/tinytoc/branches{/branch}","tags_url":"https://api.github.com/repos/ideag/tinytoc/tags","blobs_url":"https://api.github.com/repos/ideag/tinytoc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ideag/tinytoc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ideag/tinytoc/git/refs{/sha}","trees_url":"https://api.github.com/repos/ideag/tinytoc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ideag/tinytoc/statuses/{sha}","languages_url":"https://api.github.com/repos/ideag/tinytoc/languages","stargazers_url":"https://api.github.com/repos/ideag/tinytoc/stargazers","contributors_url":"https://api.github.com/repos/ideag/tinytoc/contributors","subscribers_url":"https://api.github.com/repos/ideag/tinytoc/subscribers","subscription_url":"https://api.github.com/repos/ideag/tinytoc/subscription","commits_url":"https://api.github.com/repos/ideag/tinytoc/commits{/sha}","git_commits_url":"https://api.github.com/repos/ideag/tinytoc/git/commits{/sha}","comments_url":"https://api.github.com/repos/ideag/tinytoc/comments{/number}","issue_comment_url":"https://api.github.com/repos/ideag/tinytoc/issues/comments{/number}","contents_url":"https://api.github.com/repos/ideag/tinytoc/contents/{+path}","compare_url":"https://api.github.com/repos/ideag/tinytoc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ideag/tinytoc/merges","archive_url":"https://api.github.com/repos/ideag/tinytoc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ideag/tinytoc/downloads","issues_url":"https://api.github.com/repos/ideag/tinytoc/issues{/number}","pulls_url":"https://api.github.com/repos/ideag/tinytoc/pulls{/number}","milestones_url":"https://api.github.com/repos/ideag/tinytoc/milestones{/number}","notifications_url":"https://api.github.com/repos/ideag/tinytoc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ideag/tinytoc/labels{/name}","releases_url":"https://api.github.com/repos/ideag/tinytoc/releases{/id}","created_at":"2013-06-04T11:46:34Z","updated_at":"2015-08-19T14:50:15Z","pushed_at":"2015-08-19T14:52:59Z","git_url":"git://github.com/ideag/tinytoc.git","ssh_url":"git@github.com:ideag/tinytoc.git","clone_url":"https://github.com/ideag/tinytoc.git","svn_url":"https://github.com/ideag/tinytoc","homepage":"","size":563,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":1,"forks":2,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ideag/tinytoc/pulls/3"},"html":{"href":"https://github.com/ideag/tinytoc/pull/3"},"issue":{"href":"https://api.github.com/repos/ideag/tinytoc/issues/3"},"comments":{"href":"https://api.github.com/repos/ideag/tinytoc/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/ideag/tinytoc/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/ideag/tinytoc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ideag/tinytoc/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/ideag/tinytoc/statuses/23ac6d7ccb11cdd3f61de6e8b8bec58ff0ca6364"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ideag","id":3252474,"avatar_url":"https://avatars.githubusercontent.com/u/3252474?v=3","gravatar_id":"","url":"https://api.github.com/users/ideag","html_url":"https://github.com/ideag","followers_url":"https://api.github.com/users/ideag/followers","following_url":"https://api.github.com/users/ideag/following{/other_user}","gists_url":"https://api.github.com/users/ideag/gists{/gist_id}","starred_url":"https://api.github.com/users/ideag/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ideag/subscriptions","organizations_url":"https://api.github.com/users/ideag/orgs","repos_url":"https://api.github.com/users/ideag/repos","events_url":"https://api.github.com/users/ideag/events{/privacy}","received_events_url":"https://api.github.com/users/ideag/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":2,"additions":10,"deletions":0,"changed_files":1}}