{"action":"created","comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/pulls/comments/62143175","id":62143175,"diff_hunk":"@@ -0,0 +1,160 @@\n+{","path":"docs/json/toc.json","position":1,"original_position":1,"commit_id":"ad8fbe2c00cb5ed064c28f474cf23ba65e4e79df","original_commit_id":"ad8fbe2c00cb5ed064c28f474cf23ba65e4e79df","user":{"login":"daspecster","id":192456,"avatar_url":"https://avatars.githubusercontent.com/u/192456?v=3","gravatar_id":"","url":"https://api.github.com/users/daspecster","html_url":"https://github.com/daspecster","followers_url":"https://api.github.com/users/daspecster/followers","following_url":"https://api.github.com/users/daspecster/following{/other_user}","gists_url":"https://api.github.com/users/daspecster/gists{/gist_id}","starred_url":"https://api.github.com/users/daspecster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daspecster/subscriptions","organizations_url":"https://api.github.com/users/daspecster/orgs","repos_url":"https://api.github.com/users/daspecster/repos","events_url":"https://api.github.com/users/daspecster/events{/privacy}","received_events_url":"https://api.github.com/users/daspecster/received_events","type":"User","site_admin":false},"body":"Nope :( I wish...`types.json` is though.","created_at":"2016-05-05T02:37:39Z","updated_at":"2016-05-05T02:37:39Z","html_url":"https://github.com/GoogleCloudPlatform/gcloud-python/pull/1775#discussion_r62143175","pull_request_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/pulls/1775","_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/pulls/comments/62143175"},"html":{"href":"https://github.com/GoogleCloudPlatform/gcloud-python/pull/1775#discussion_r62143175"},"pull_request":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/pulls/1775"}}},"pull_request":{"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/pulls/1775","id":68954676,"html_url":"https://github.com/GoogleCloudPlatform/gcloud-python/pull/1775","diff_url":"https://github.com/GoogleCloudPlatform/gcloud-python/pull/1775.diff","patch_url":"https://github.com/GoogleCloudPlatform/gcloud-python/pull/1775.patch","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/issues/1775","number":1775,"state":"open","locked":false,"title":"WIP: Json documentation generation","user":{"login":"daspecster","id":192456,"avatar_url":"https://avatars.githubusercontent.com/u/192456?v=3","gravatar_id":"","url":"https://api.github.com/users/daspecster","html_url":"https://github.com/daspecster","followers_url":"https://api.github.com/users/daspecster/followers","following_url":"https://api.github.com/users/daspecster/following{/other_user}","gists_url":"https://api.github.com/users/daspecster/gists{/gist_id}","starred_url":"https://api.github.com/users/daspecster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daspecster/subscriptions","organizations_url":"https://api.github.com/users/daspecster/orgs","repos_url":"https://api.github.com/users/daspecster/repos","events_url":"https://api.github.com/users/daspecster/events{/privacy}","received_events_url":"https://api.github.com/users/daspecster/received_events","type":"User","site_admin":false},"body":"`scripts/generate_json_docs.py` is now generating parsable JSON for the gcloud-common site generator.\r\nAs well as building a `types.json` file.\r\n\r\nSeveral things are still in progress...\r\n\r\n- [ ] Extracting code examples is not working consistently.\r\n- [ ] The table of contents needs to be updated.\r\n- [ ] Class linking should be added. i.e. class:`gcloud.datastore._generated.query_pb2.Query`\r\n- [ ] Source Code links are broken for base class docs, also not yet sure how to handle `__init__.py`'s\r\n- [ ] \"Getting Started\" and \"Guide\" type pages need to be ported.\r\n- [ ] Running `generate_json_docs.py` needs to be added to the build process and documentioned better.\r\n\r\nHere is a screenshot of the \"example\" code conundrum.\r\n![screen shot 2016-05-04 at 8 42 21 pm](https://cloud.githubusercontent.com/assets/192456/15033590/38a1f4b6-123a-11e6-8d24-12fe635bc00b.png)\r\n","created_at":"2016-05-05T00:54:25Z","updated_at":"2016-05-05T02:37:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"39e2b98af66473094204b0d9972fbe76fd05b3f4","assignee":{"login":"dhermes","id":520669,"avatar_url":"https://avatars.githubusercontent.com/u/520669?v=3","gravatar_id":"","url":"https://api.github.com/users/dhermes","html_url":"https://github.com/dhermes","followers_url":"https://api.github.com/users/dhermes/followers","following_url":"https://api.github.com/users/dhermes/following{/other_user}","gists_url":"https://api.github.com/users/dhermes/gists{/gist_id}","starred_url":"https://api.github.com/users/dhermes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dhermes/subscriptions","organizations_url":"https://api.github.com/users/dhermes/orgs","repos_url":"https://api.github.com/users/dhermes/repos","events_url":"https://api.github.com/users/dhermes/events{/privacy}","received_events_url":"https://api.github.com/users/dhermes/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/pulls/1775/commits","review_comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/pulls/1775/comments","review_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/issues/1775/comments","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/statuses/ad8fbe2c00cb5ed064c28f474cf23ba65e4e79df","head":{"label":"daspecster:json-docs","ref":"json-docs","sha":"ad8fbe2c00cb5ed064c28f474cf23ba65e4e79df","user":{"login":"daspecster","id":192456,"avatar_url":"https://avatars.githubusercontent.com/u/192456?v=3","gravatar_id":"","url":"https://api.github.com/users/daspecster","html_url":"https://github.com/daspecster","followers_url":"https://api.github.com/users/daspecster/followers","following_url":"https://api.github.com/users/daspecster/following{/other_user}","gists_url":"https://api.github.com/users/daspecster/gists{/gist_id}","starred_url":"https://api.github.com/users/daspecster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daspecster/subscriptions","organizations_url":"https://api.github.com/users/daspecster/orgs","repos_url":"https://api.github.com/users/daspecster/repos","events_url":"https://api.github.com/users/daspecster/events{/privacy}","received_events_url":"https://api.github.com/users/daspecster/received_events","type":"User","site_admin":false},"repo":{"id":43923717,"name":"gcloud-python","full_name":"daspecster/gcloud-python","owner":{"login":"daspecster","id":192456,"avatar_url":"https://avatars.githubusercontent.com/u/192456?v=3","gravatar_id":"","url":"https://api.github.com/users/daspecster","html_url":"https://github.com/daspecster","followers_url":"https://api.github.com/users/daspecster/followers","following_url":"https://api.github.com/users/daspecster/following{/other_user}","gists_url":"https://api.github.com/users/daspecster/gists{/gist_id}","starred_url":"https://api.github.com/users/daspecster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daspecster/subscriptions","organizations_url":"https://api.github.com/users/daspecster/orgs","repos_url":"https://api.github.com/users/daspecster/repos","events_url":"https://api.github.com/users/daspecster/events{/privacy}","received_events_url":"https://api.github.com/users/daspecster/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/daspecster/gcloud-python","description":"Google Cloud Client Library for Python","fork":true,"url":"https://api.github.com/repos/daspecster/gcloud-python","forks_url":"https://api.github.com/repos/daspecster/gcloud-python/forks","keys_url":"https://api.github.com/repos/daspecster/gcloud-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/daspecster/gcloud-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/daspecster/gcloud-python/teams","hooks_url":"https://api.github.com/repos/daspecster/gcloud-python/hooks","issue_events_url":"https://api.github.com/repos/daspecster/gcloud-python/issues/events{/number}","events_url":"https://api.github.com/repos/daspecster/gcloud-python/events","assignees_url":"https://api.github.com/repos/daspecster/gcloud-python/assignees{/user}","branches_url":"https://api.github.com/repos/daspecster/gcloud-python/branches{/branch}","tags_url":"https://api.github.com/repos/daspecster/gcloud-python/tags","blobs_url":"https://api.github.com/repos/daspecster/gcloud-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/daspecster/gcloud-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/daspecster/gcloud-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/daspecster/gcloud-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/daspecster/gcloud-python/statuses/{sha}","languages_url":"https://api.github.com/repos/daspecster/gcloud-python/languages","stargazers_url":"https://api.github.com/repos/daspecster/gcloud-python/stargazers","contributors_url":"https://api.github.com/repos/daspecster/gcloud-python/contributors","subscribers_url":"https://api.github.com/repos/daspecster/gcloud-python/subscribers","subscription_url":"https://api.github.com/repos/daspecster/gcloud-python/subscription","commits_url":"https://api.github.com/repos/daspecster/gcloud-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/daspecster/gcloud-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/daspecster/gcloud-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/daspecster/gcloud-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/daspecster/gcloud-python/contents/{+path}","compare_url":"https://api.github.com/repos/daspecster/gcloud-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/daspecster/gcloud-python/merges","archive_url":"https://api.github.com/repos/daspecster/gcloud-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/daspecster/gcloud-python/downloads","issues_url":"https://api.github.com/repos/daspecster/gcloud-python/issues{/number}","pulls_url":"https://api.github.com/repos/daspecster/gcloud-python/pulls{/number}","milestones_url":"https://api.github.com/repos/daspecster/gcloud-python/milestones{/number}","notifications_url":"https://api.github.com/repos/daspecster/gcloud-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/daspecster/gcloud-python/labels{/name}","releases_url":"https://api.github.com/repos/daspecster/gcloud-python/releases{/id}","deployments_url":"https://api.github.com/repos/daspecster/gcloud-python/deployments","created_at":"2015-10-09T00:31:09Z","updated_at":"2016-04-22T01:09:23Z","pushed_at":"2016-05-05T02:34:41Z","git_url":"git://github.com/daspecster/gcloud-python.git","ssh_url":"git@github.com:daspecster/gcloud-python.git","clone_url":"https://github.com/daspecster/gcloud-python.git","svn_url":"https://github.com/daspecster/gcloud-python","homepage":"https://googlecloudplatform.github.io/gcloud-python/","size":32763,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"GoogleCloudPlatform:master","ref":"master","sha":"67693642144dee7d9c336abfe01885c8b54aae0f","user":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"repo":{"id":16316451,"name":"gcloud-python","full_name":"GoogleCloudPlatform/gcloud-python","owner":{"login":"GoogleCloudPlatform","id":2810941,"avatar_url":"https://avatars.githubusercontent.com/u/2810941?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCloudPlatform","html_url":"https://github.com/GoogleCloudPlatform","followers_url":"https://api.github.com/users/GoogleCloudPlatform/followers","following_url":"https://api.github.com/users/GoogleCloudPlatform/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCloudPlatform/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCloudPlatform/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCloudPlatform/subscriptions","organizations_url":"https://api.github.com/users/GoogleCloudPlatform/orgs","repos_url":"https://api.github.com/users/GoogleCloudPlatform/repos","events_url":"https://api.github.com/users/GoogleCloudPlatform/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCloudPlatform/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GoogleCloudPlatform/gcloud-python","description":"Google Cloud Client Library for Python","fork":false,"url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python","forks_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/forks","keys_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/teams","hooks_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/hooks","issue_events_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/issues/events{/number}","events_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/events","assignees_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/assignees{/user}","branches_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/branches{/branch}","tags_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/tags","blobs_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/git/refs{/sha}","trees_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/statuses/{sha}","languages_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/languages","stargazers_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/stargazers","contributors_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/contributors","subscribers_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/subscribers","subscription_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/subscription","commits_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/commits{/sha}","git_commits_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/git/commits{/sha}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/comments{/number}","issue_comment_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/issues/comments{/number}","contents_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/contents/{+path}","compare_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/merges","archive_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/downloads","issues_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/issues{/number}","pulls_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/pulls{/number}","milestones_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/milestones{/number}","notifications_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/labels{/name}","releases_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/releases{/id}","deployments_url":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/deployments","created_at":"2014-01-28T15:51:47Z","updated_at":"2016-05-04T12:21:36Z","pushed_at":"2016-05-05T02:34:41Z","git_url":"git://github.com/GoogleCloudPlatform/gcloud-python.git","ssh_url":"git@github.com:GoogleCloudPlatform/gcloud-python.git","clone_url":"https://github.com/GoogleCloudPlatform/gcloud-python.git","svn_url":"https://github.com/GoogleCloudPlatform/gcloud-python","homepage":"https://googlecloudplatform.github.io/gcloud-python/","size":55161,"stargazers_count":297,"watchers_count":297,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":166,"mirror_url":null,"open_issues_count":121,"forks":166,"open_issues":121,"watchers":297,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/pulls/1775"},"html":{"href":"https://github.com/GoogleCloudPlatform/gcloud-python/pull/1775"},"issue":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/issues/1775"},"comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/issues/1775/comments"},"review_comments":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/pulls/1775/comments"},"review_comment":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/pulls/1775/commits"},"statuses":{"href":"https://api.github.com/repos/GoogleCloudPlatform/gcloud-python/statuses/ad8fbe2c00cb5ed064c28f474cf23ba65e4e79df"}}}}