{"action":"opened","number":553,"pull_request":{"url":"https://api.github.com/repos/weechat/weechat/pulls/553","id":48004836,"html_url":"https://github.com/weechat/weechat/pull/553","diff_url":"https://github.com/weechat/weechat/pull/553.diff","patch_url":"https://github.com/weechat/weechat/pull/553.patch","issue_url":"https://api.github.com/repos/weechat/weechat/issues/553","number":553,"state":"open","locked":false,"title":"doc: add clickable anchors to hdata listing in plugin API reference","user":{"login":"sim642","id":378740,"avatar_url":"https://avatars.githubusercontent.com/u/378740?v=3","gravatar_id":"","url":"https://api.github.com/users/sim642","html_url":"https://github.com/sim642","followers_url":"https://api.github.com/users/sim642/followers","following_url":"https://api.github.com/users/sim642/following{/other_user}","gists_url":"https://api.github.com/users/sim642/gists{/gist_id}","starred_url":"https://api.github.com/users/sim642/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sim642/subscriptions","organizations_url":"https://api.github.com/users/sim642/orgs","repos_url":"https://api.github.com/users/sim642/repos","events_url":"https://api.github.com/users/sim642/events{/privacy}","received_events_url":"https://api.github.com/users/sim642/received_events","type":"User","site_admin":false},"body":"This PR modifies the `docgen.py` script to add an anchor to every hdata under [hdata_get](https://weechat.org/files/doc/devel/weechat_plugin_api.en.html#_hdata_get). It also turns all the hdata names into clickable links to easily access the anchor as the items are not listed in TOC.\r\n\r\nThis solves #532 in the most basic sense.\r\n\r\n*Tested by myself by generating english plugin API reference.*","created_at":"2015-10-18T09:21:08Z","updated_at":"2015-10-18T09:21:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/weechat/weechat/pulls/553/commits","review_comments_url":"https://api.github.com/repos/weechat/weechat/pulls/553/comments","review_comment_url":"https://api.github.com/repos/weechat/weechat/pulls/comments{/number}","comments_url":"https://api.github.com/repos/weechat/weechat/issues/553/comments","statuses_url":"https://api.github.com/repos/weechat/weechat/statuses/0fc6a708ef1e9203cc615da45a908bffb550ec59","head":{"label":"sim642:issue-532","ref":"issue-532","sha":"0fc6a708ef1e9203cc615da45a908bffb550ec59","user":{"login":"sim642","id":378740,"avatar_url":"https://avatars.githubusercontent.com/u/378740?v=3","gravatar_id":"","url":"https://api.github.com/users/sim642","html_url":"https://github.com/sim642","followers_url":"https://api.github.com/users/sim642/followers","following_url":"https://api.github.com/users/sim642/following{/other_user}","gists_url":"https://api.github.com/users/sim642/gists{/gist_id}","starred_url":"https://api.github.com/users/sim642/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sim642/subscriptions","organizations_url":"https://api.github.com/users/sim642/orgs","repos_url":"https://api.github.com/users/sim642/repos","events_url":"https://api.github.com/users/sim642/events{/privacy}","received_events_url":"https://api.github.com/users/sim642/received_events","type":"User","site_admin":false},"repo":{"id":32665179,"name":"weechat","full_name":"sim642/weechat","owner":{"login":"sim642","id":378740,"avatar_url":"https://avatars.githubusercontent.com/u/378740?v=3","gravatar_id":"","url":"https://api.github.com/users/sim642","html_url":"https://github.com/sim642","followers_url":"https://api.github.com/users/sim642/followers","following_url":"https://api.github.com/users/sim642/following{/other_user}","gists_url":"https://api.github.com/users/sim642/gists{/gist_id}","starred_url":"https://api.github.com/users/sim642/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sim642/subscriptions","organizations_url":"https://api.github.com/users/sim642/orgs","repos_url":"https://api.github.com/users/sim642/repos","events_url":"https://api.github.com/users/sim642/events{/privacy}","received_events_url":"https://api.github.com/users/sim642/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sim642/weechat","description":"The extensible chat client.","fork":true,"url":"https://api.github.com/repos/sim642/weechat","forks_url":"https://api.github.com/repos/sim642/weechat/forks","keys_url":"https://api.github.com/repos/sim642/weechat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sim642/weechat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sim642/weechat/teams","hooks_url":"https://api.github.com/repos/sim642/weechat/hooks","issue_events_url":"https://api.github.com/repos/sim642/weechat/issues/events{/number}","events_url":"https://api.github.com/repos/sim642/weechat/events","assignees_url":"https://api.github.com/repos/sim642/weechat/assignees{/user}","branches_url":"https://api.github.com/repos/sim642/weechat/branches{/branch}","tags_url":"https://api.github.com/repos/sim642/weechat/tags","blobs_url":"https://api.github.com/repos/sim642/weechat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sim642/weechat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sim642/weechat/git/refs{/sha}","trees_url":"https://api.github.com/repos/sim642/weechat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sim642/weechat/statuses/{sha}","languages_url":"https://api.github.com/repos/sim642/weechat/languages","stargazers_url":"https://api.github.com/repos/sim642/weechat/stargazers","contributors_url":"https://api.github.com/repos/sim642/weechat/contributors","subscribers_url":"https://api.github.com/repos/sim642/weechat/subscribers","subscription_url":"https://api.github.com/repos/sim642/weechat/subscription","commits_url":"https://api.github.com/repos/sim642/weechat/commits{/sha}","git_commits_url":"https://api.github.com/repos/sim642/weechat/git/commits{/sha}","comments_url":"https://api.github.com/repos/sim642/weechat/comments{/number}","issue_comment_url":"https://api.github.com/repos/sim642/weechat/issues/comments{/number}","contents_url":"https://api.github.com/repos/sim642/weechat/contents/{+path}","compare_url":"https://api.github.com/repos/sim642/weechat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sim642/weechat/merges","archive_url":"https://api.github.com/repos/sim642/weechat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sim642/weechat/downloads","issues_url":"https://api.github.com/repos/sim642/weechat/issues{/number}","pulls_url":"https://api.github.com/repos/sim642/weechat/pulls{/number}","milestones_url":"https://api.github.com/repos/sim642/weechat/milestones{/number}","notifications_url":"https://api.github.com/repos/sim642/weechat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sim642/weechat/labels{/name}","releases_url":"https://api.github.com/repos/sim642/weechat/releases{/id}","created_at":"2015-03-22T06:41:48Z","updated_at":"2015-04-10T10:47:48Z","pushed_at":"2015-10-18T09:16:58Z","git_url":"git://github.com/sim642/weechat.git","ssh_url":"git@github.com:sim642/weechat.git","clone_url":"https://github.com/sim642/weechat.git","svn_url":"https://github.com/sim642/weechat","homepage":"https://weechat.org/","size":104478,"stargazers_count":0,"watchers_count":0,"language":"C","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":"weechat:master","ref":"master","sha":"80293c2447610a54ca99026d7d6a9ede15fe0d0d","user":{"login":"weechat","id":6746046,"avatar_url":"https://avatars.githubusercontent.com/u/6746046?v=3","gravatar_id":"","url":"https://api.github.com/users/weechat","html_url":"https://github.com/weechat","followers_url":"https://api.github.com/users/weechat/followers","following_url":"https://api.github.com/users/weechat/following{/other_user}","gists_url":"https://api.github.com/users/weechat/gists{/gist_id}","starred_url":"https://api.github.com/users/weechat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weechat/subscriptions","organizations_url":"https://api.github.com/users/weechat/orgs","repos_url":"https://api.github.com/users/weechat/repos","events_url":"https://api.github.com/users/weechat/events{/privacy}","received_events_url":"https://api.github.com/users/weechat/received_events","type":"Organization","site_admin":false},"repo":{"id":17359210,"name":"weechat","full_name":"weechat/weechat","owner":{"login":"weechat","id":6746046,"avatar_url":"https://avatars.githubusercontent.com/u/6746046?v=3","gravatar_id":"","url":"https://api.github.com/users/weechat","html_url":"https://github.com/weechat","followers_url":"https://api.github.com/users/weechat/followers","following_url":"https://api.github.com/users/weechat/following{/other_user}","gists_url":"https://api.github.com/users/weechat/gists{/gist_id}","starred_url":"https://api.github.com/users/weechat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weechat/subscriptions","organizations_url":"https://api.github.com/users/weechat/orgs","repos_url":"https://api.github.com/users/weechat/repos","events_url":"https://api.github.com/users/weechat/events{/privacy}","received_events_url":"https://api.github.com/users/weechat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/weechat/weechat","description":"The extensible chat client.","fork":false,"url":"https://api.github.com/repos/weechat/weechat","forks_url":"https://api.github.com/repos/weechat/weechat/forks","keys_url":"https://api.github.com/repos/weechat/weechat/keys{/key_id}","collaborators_url":"https://api.github.com/repos/weechat/weechat/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/weechat/weechat/teams","hooks_url":"https://api.github.com/repos/weechat/weechat/hooks","issue_events_url":"https://api.github.com/repos/weechat/weechat/issues/events{/number}","events_url":"https://api.github.com/repos/weechat/weechat/events","assignees_url":"https://api.github.com/repos/weechat/weechat/assignees{/user}","branches_url":"https://api.github.com/repos/weechat/weechat/branches{/branch}","tags_url":"https://api.github.com/repos/weechat/weechat/tags","blobs_url":"https://api.github.com/repos/weechat/weechat/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/weechat/weechat/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/weechat/weechat/git/refs{/sha}","trees_url":"https://api.github.com/repos/weechat/weechat/git/trees{/sha}","statuses_url":"https://api.github.com/repos/weechat/weechat/statuses/{sha}","languages_url":"https://api.github.com/repos/weechat/weechat/languages","stargazers_url":"https://api.github.com/repos/weechat/weechat/stargazers","contributors_url":"https://api.github.com/repos/weechat/weechat/contributors","subscribers_url":"https://api.github.com/repos/weechat/weechat/subscribers","subscription_url":"https://api.github.com/repos/weechat/weechat/subscription","commits_url":"https://api.github.com/repos/weechat/weechat/commits{/sha}","git_commits_url":"https://api.github.com/repos/weechat/weechat/git/commits{/sha}","comments_url":"https://api.github.com/repos/weechat/weechat/comments{/number}","issue_comment_url":"https://api.github.com/repos/weechat/weechat/issues/comments{/number}","contents_url":"https://api.github.com/repos/weechat/weechat/contents/{+path}","compare_url":"https://api.github.com/repos/weechat/weechat/compare/{base}...{head}","merges_url":"https://api.github.com/repos/weechat/weechat/merges","archive_url":"https://api.github.com/repos/weechat/weechat/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/weechat/weechat/downloads","issues_url":"https://api.github.com/repos/weechat/weechat/issues{/number}","pulls_url":"https://api.github.com/repos/weechat/weechat/pulls{/number}","milestones_url":"https://api.github.com/repos/weechat/weechat/milestones{/number}","notifications_url":"https://api.github.com/repos/weechat/weechat/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/weechat/weechat/labels{/name}","releases_url":"https://api.github.com/repos/weechat/weechat/releases{/id}","created_at":"2014-03-03T08:08:02Z","updated_at":"2015-10-17T13:49:39Z","pushed_at":"2015-10-17T12:42:30Z","git_url":"git://github.com/weechat/weechat.git","ssh_url":"git@github.com:weechat/weechat.git","clone_url":"https://github.com/weechat/weechat.git","svn_url":"https://github.com/weechat/weechat","homepage":"https://weechat.org/","size":113204,"stargazers_count":537,"watchers_count":537,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":71,"mirror_url":null,"open_issues_count":210,"forks":71,"open_issues":210,"watchers":537,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/weechat/weechat/pulls/553"},"html":{"href":"https://github.com/weechat/weechat/pull/553"},"issue":{"href":"https://api.github.com/repos/weechat/weechat/issues/553"},"comments":{"href":"https://api.github.com/repos/weechat/weechat/issues/553/comments"},"review_comments":{"href":"https://api.github.com/repos/weechat/weechat/pulls/553/comments"},"review_comment":{"href":"https://api.github.com/repos/weechat/weechat/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/weechat/weechat/pulls/553/commits"},"statuses":{"href":"https://api.github.com/repos/weechat/weechat/statuses/0fc6a708ef1e9203cc615da45a908bffb550ec59"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":4,"deletions":2,"changed_files":1}}