payload: {"action":"created","comment":{"url":"https://api.github.com/repos/iterative/dvc.org/pulls/comments/298914407","pull_request_review_id":256173253,"id":298914407,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI5ODkxNDQwNw==","diff_hunk":"@@ -144,6 +169,23 @@ export default class Documentation extends Component {\n       })\n   }\n \n+  loadFile = ({ section, subsection, file, parseHeadings }) => {\n+    this.setState({ load: true })\n+    let sect = sidebar[section]\n+    let subsect = sect.files[subsection]\n+    let subfolder = subsect && subsect.folder\n+    let folderpath = file.folder || subfolder || sect.folder\n+    let filepath = file.indexFile || file.files || file","path":"pages/doc.js","position":241,"original_position":202,"commit_id":"f62326d739ea86f2d16222b6be6bf82b67b9bd9a","original_commit_id":"a6b2f4601b6ef264b5708ff0f70799b85a08e40c","user":{"login":"ProjGoodF","id":49946588,"node_id":"MDQ6VXNlcjQ5OTQ2NTg4","avatar_url":"https://avatars0.githubusercontent.com/u/49946588?v=4","gravatar_id":"","url":"https://api.github.com/users/ProjGoodF","html_url":"https://github.com/ProjGoodF","followers_url":"https://api.github.com/users/ProjGoodF/followers","following_url":"https://api.github.com/users/ProjGoodF/following{/other_user}","gists_url":"https://api.github.com/users/ProjGoodF/gists{/gist_id}","starred_url":"https://api.github.com/users/ProjGoodF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProjGoodF/subscriptions","organizations_url":"https://api.github.com/users/ProjGoodF/orgs","repos_url":"https://api.github.com/users/ProjGoodF/repos","events_url":"https://api.github.com/users/ProjGoodF/events{/privacy}","received_events_url":"https://api.github.com/users/ProjGoodF/received_events","type":"User","site_admin":false},"body":"\r\nwe can if we make the sidebar.json structure the same for any type of element","created_at":"2019-07-01T07:35:52Z","updated_at":"2019-07-01T07:35:52Z","html_url":"https://github.com/iterative/dvc.org/pull/375#discussion_r298914407","pull_request_url":"https://api.github.com/repos/iterative/dvc.org/pulls/375","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/iterative/dvc.org/pulls/comments/298914407"},"html":{"href":"https://github.com/iterative/dvc.org/pull/375#discussion_r298914407"},"pull_request":{"href":"https://api.github.com/repos/iterative/dvc.org/pulls/375"}},"in_reply_to_id":298434367},"pull_request":{"url":"https://api.github.com/repos/iterative/dvc.org/pulls/375","id":281636344,"node_id":"MDExOlB1bGxSZXF1ZXN0MjgxNjM2MzQ0","html_url":"https://github.com/iterative/dvc.org/pull/375","diff_url":"https://github.com/iterative/dvc.org/pull/375.diff","patch_url":"https://github.com/iterative/dvc.org/pull/375.patch","issue_url":"https://api.github.com/repos/iterative/dvc.org/issues/375","number":375,"state":"open","locked":false,"title":"Fixes #305 & #286","user":{"login":"ProjGoodF","id":49946588,"node_id":"MDQ6VXNlcjQ5OTQ2NTg4","avatar_url":"https://avatars0.githubusercontent.com/u/49946588?v=4","gravatar_id":"","url":"https://api.github.com/users/ProjGoodF","html_url":"https://github.com/ProjGoodF","followers_url":"https://api.github.com/users/ProjGoodF/followers","following_url":"https://api.github.com/users/ProjGoodF/following{/other_user}","gists_url":"https://api.github.com/users/ProjGoodF/gists{/gist_id}","starred_url":"https://api.github.com/users/ProjGoodF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ProjGoodF/subscriptions","organizations_url":"https://api.github.com/users/ProjGoodF/orgs","repos_url":"https://api.github.com/users/ProjGoodF/repos","events_url":"https://api.github.com/users/ProjGoodF/events{/privacy}","received_events_url":"https://api.github.com/users/ProjGoodF/received_events","type":"User","site_admin":false},"body":"Fixes #305\r\nFixes #286 ","created_at":"2019-05-23T14:20:47Z","updated_at":"2019-07-01T07:35:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fd063f001d01f742cc8ce9d5c52e972ae5096db5","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/iterative/dvc.org/pulls/375/commits","review_comments_url":"https://api.github.com/repos/iterative/dvc.org/pulls/375/comments","review_comment_url":"https://api.github.com/repos/iterative/dvc.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iterative/dvc.org/issues/375/comments","statuses_url":"https://api.github.com/repos/iterative/dvc.org/statuses/f62326d739ea86f2d16222b6be6bf82b67b9bd9a","head":{"label":"iterative:gf-fix_#305_2","ref":"gf-fix_#305_2","sha":"f62326d739ea86f2d16222b6be6bf82b67b9bd9a","user":{"login":"iterative","id":39572954,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5NTcyOTU0","avatar_url":"https://avatars1.githubusercontent.com/u/39572954?v=4","gravatar_id":"","url":"https://api.github.com/users/iterative","html_url":"https://github.com/iterative","followers_url":"https://api.github.com/users/iterative/followers","following_url":"https://api.github.com/users/iterative/following{/other_user}","gists_url":"https://api.github.com/users/iterative/gists{/gist_id}","starred_url":"https://api.github.com/users/iterative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iterative/subscriptions","organizations_url":"https://api.github.com/users/iterative/orgs","repos_url":"https://api.github.com/users/iterative/repos","events_url":"https://api.github.com/users/iterative/events{/privacy}","received_events_url":"https://api.github.com/users/iterative/received_events","type":"Organization","site_admin":false},"repo":{"id":135934107,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU5MzQxMDc=","name":"dvc.org","full_name":"iterative/dvc.org","private":false,"owner":{"login":"iterative","id":39572954,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5NTcyOTU0","avatar_url":"https://avatars1.githubusercontent.com/u/39572954?v=4","gravatar_id":"","url":"https://api.github.com/users/iterative","html_url":"https://github.com/iterative","followers_url":"https://api.github.com/users/iterative/followers","following_url":"https://api.github.com/users/iterative/following{/other_user}","gists_url":"https://api.github.com/users/iterative/gists{/gist_id}","starred_url":"https://api.github.com/users/iterative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iterative/subscriptions","organizations_url":"https://api.github.com/users/iterative/orgs","repos_url":"https://api.github.com/users/iterative/repos","events_url":"https://api.github.com/users/iterative/events{/privacy}","received_events_url":"https://api.github.com/users/iterative/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/iterative/dvc.org","description":"🔗 DVC website and documentation","fork":false,"url":"https://api.github.com/repos/iterative/dvc.org","forks_url":"https://api.github.com/repos/iterative/dvc.org/forks","keys_url":"https://api.github.com/repos/iterative/dvc.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iterative/dvc.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iterative/dvc.org/teams","hooks_url":"https://api.github.com/repos/iterative/dvc.org/hooks","issue_events_url":"https://api.github.com/repos/iterative/dvc.org/issues/events{/number}","events_url":"https://api.github.com/repos/iterative/dvc.org/events","assignees_url":"https://api.github.com/repos/iterative/dvc.org/assignees{/user}","branches_url":"https://api.github.com/repos/iterative/dvc.org/branches{/branch}","tags_url":"https://api.github.com/repos/iterative/dvc.org/tags","blobs_url":"https://api.github.com/repos/iterative/dvc.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iterative/dvc.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iterative/dvc.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/iterative/dvc.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iterative/dvc.org/statuses/{sha}","languages_url":"https://api.github.com/repos/iterative/dvc.org/languages","stargazers_url":"https://api.github.com/repos/iterative/dvc.org/stargazers","contributors_url":"https://api.github.com/repos/iterative/dvc.org/contributors","subscribers_url":"https://api.github.com/repos/iterative/dvc.org/subscribers","subscription_url":"https://api.github.com/repos/iterative/dvc.org/subscription","commits_url":"https://api.github.com/repos/iterative/dvc.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/iterative/dvc.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/iterative/dvc.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/iterative/dvc.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/iterative/dvc.org/contents/{+path}","compare_url":"https://api.github.com/repos/iterative/dvc.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iterative/dvc.org/merges","archive_url":"https://api.github.com/repos/iterative/dvc.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iterative/dvc.org/downloads","issues_url":"https://api.github.com/repos/iterative/dvc.org/issues{/number}","pulls_url":"https://api.github.com/repos/iterative/dvc.org/pulls{/number}","milestones_url":"https://api.github.com/repos/iterative/dvc.org/milestones{/number}","notifications_url":"https://api.github.com/repos/iterative/dvc.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iterative/dvc.org/labels{/name}","releases_url":"https://api.github.com/repos/iterative/dvc.org/releases{/id}","deployments_url":"https://api.github.com/repos/iterative/dvc.org/deployments","created_at":"2018-06-03T19:30:51Z","updated_at":"2019-06-29T21:34:10Z","pushed_at":"2019-07-01T07:29:14Z","git_url":"git://github.com/iterative/dvc.org.git","ssh_url":"git@github.com:iterative/dvc.org.git","clone_url":"https://github.com/iterative/dvc.org.git","svn_url":"https://github.com/iterative/dvc.org","homepage":"https://dvc.org","size":11564,"stargazers_count":60,"watchers_count":60,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":73,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":76,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":73,"open_issues":76,"watchers":60,"default_branch":"master"}},"base":{"label":"iterative:master","ref":"master","sha":"ad75185b1feafea30e22efbcdfe327e26ef44c10","user":{"login":"iterative","id":39572954,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5NTcyOTU0","avatar_url":"https://avatars1.githubusercontent.com/u/39572954?v=4","gravatar_id":"","url":"https://api.github.com/users/iterative","html_url":"https://github.com/iterative","followers_url":"https://api.github.com/users/iterative/followers","following_url":"https://api.github.com/users/iterative/following{/other_user}","gists_url":"https://api.github.com/users/iterative/gists{/gist_id}","starred_url":"https://api.github.com/users/iterative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iterative/subscriptions","organizations_url":"https://api.github.com/users/iterative/orgs","repos_url":"https://api.github.com/users/iterative/repos","events_url":"https://api.github.com/users/iterative/events{/privacy}","received_events_url":"https://api.github.com/users/iterative/received_events","type":"Organization","site_admin":false},"repo":{"id":135934107,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU5MzQxMDc=","name":"dvc.org","full_name":"iterative/dvc.org","private":false,"owner":{"login":"iterative","id":39572954,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5NTcyOTU0","avatar_url":"https://avatars1.githubusercontent.com/u/39572954?v=4","gravatar_id":"","url":"https://api.github.com/users/iterative","html_url":"https://github.com/iterative","followers_url":"https://api.github.com/users/iterative/followers","following_url":"https://api.github.com/users/iterative/following{/other_user}","gists_url":"https://api.github.com/users/iterative/gists{/gist_id}","starred_url":"https://api.github.com/users/iterative/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iterative/subscriptions","organizations_url":"https://api.github.com/users/iterative/orgs","repos_url":"https://api.github.com/users/iterative/repos","events_url":"https://api.github.com/users/iterative/events{/privacy}","received_events_url":"https://api.github.com/users/iterative/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/iterative/dvc.org","description":"🔗 DVC website and documentation","fork":false,"url":"https://api.github.com/repos/iterative/dvc.org","forks_url":"https://api.github.com/repos/iterative/dvc.org/forks","keys_url":"https://api.github.com/repos/iterative/dvc.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iterative/dvc.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iterative/dvc.org/teams","hooks_url":"https://api.github.com/repos/iterative/dvc.org/hooks","issue_events_url":"https://api.github.com/repos/iterative/dvc.org/issues/events{/number}","events_url":"https://api.github.com/repos/iterative/dvc.org/events","assignees_url":"https://api.github.com/repos/iterative/dvc.org/assignees{/user}","branches_url":"https://api.github.com/repos/iterative/dvc.org/branches{/branch}","tags_url":"https://api.github.com/repos/iterative/dvc.org/tags","blobs_url":"https://api.github.com/repos/iterative/dvc.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iterative/dvc.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iterative/dvc.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/iterative/dvc.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iterative/dvc.org/statuses/{sha}","languages_url":"https://api.github.com/repos/iterative/dvc.org/languages","stargazers_url":"https://api.github.com/repos/iterative/dvc.org/stargazers","contributors_url":"https://api.github.com/repos/iterative/dvc.org/contributors","subscribers_url":"https://api.github.com/repos/iterative/dvc.org/subscribers","subscription_url":"https://api.github.com/repos/iterative/dvc.org/subscription","commits_url":"https://api.github.com/repos/iterative/dvc.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/iterative/dvc.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/iterative/dvc.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/iterative/dvc.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/iterative/dvc.org/contents/{+path}","compare_url":"https://api.github.com/repos/iterative/dvc.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iterative/dvc.org/merges","archive_url":"https://api.github.com/repos/iterative/dvc.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iterative/dvc.org/downloads","issues_url":"https://api.github.com/repos/iterative/dvc.org/issues{/number}","pulls_url":"https://api.github.com/repos/iterative/dvc.org/pulls{/number}","milestones_url":"https://api.github.com/repos/iterative/dvc.org/milestones{/number}","notifications_url":"https://api.github.com/repos/iterative/dvc.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iterative/dvc.org/labels{/name}","releases_url":"https://api.github.com/repos/iterative/dvc.org/releases{/id}","deployments_url":"https://api.github.com/repos/iterative/dvc.org/deployments","created_at":"2018-06-03T19:30:51Z","updated_at":"2019-06-29T21:34:10Z","pushed_at":"2019-07-01T07:29:14Z","git_url":"git://github.com/iterative/dvc.org.git","ssh_url":"git@github.com:iterative/dvc.org.git","clone_url":"https://github.com/iterative/dvc.org.git","svn_url":"https://github.com/iterative/dvc.org","homepage":"https://dvc.org","size":11564,"stargazers_count":60,"watchers_count":60,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":73,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":76,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":73,"open_issues":76,"watchers":60,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iterative/dvc.org/pulls/375"},"html":{"href":"https://github.com/iterative/dvc.org/pull/375"},"issue":{"href":"https://api.github.com/repos/iterative/dvc.org/issues/375"},"comments":{"href":"https://api.github.com/repos/iterative/dvc.org/issues/375/comments"},"review_comments":{"href":"https://api.github.com/repos/iterative/dvc.org/pulls/375/comments"},"review_comment":{"href":"https://api.github.com/repos/iterative/dvc.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iterative/dvc.org/pulls/375/commits"},"statuses":{"href":"https://api.github.com/repos/iterative/dvc.org/statuses/f62326d739ea86f2d16222b6be6bf82b67b9bd9a"}},"author_association":"COLLABORATOR"}}
other: {"actor":{"display_login":"ProjGoodF"}}