{"action":"created","comment":{"url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/comments/34658600","id":34658600,"diff_hunk":"@@ -41,8 +41,8 @@ To install::\n     $ python setup.py develop\n \n \n-Setting up your project\n-=======================\n+Setting up your project by the defaults","path":"README.rst","position":6,"original_position":6,"commit_id":"e2535922ebff61e471b672019932369bb9baf271","original_commit_id":"8b8019d00441ec99859a920acffd3ffc5dc09a06","user":{"login":"lesteve","id":1680079,"avatar_url":"https://avatars.githubusercontent.com/u/1680079?v=3","gravatar_id":"","url":"https://api.github.com/users/lesteve","html_url":"https://github.com/lesteve","followers_url":"https://api.github.com/users/lesteve/followers","following_url":"https://api.github.com/users/lesteve/following{/other_user}","gists_url":"https://api.github.com/users/lesteve/gists{/gist_id}","starred_url":"https://api.github.com/users/lesteve/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lesteve/subscriptions","organizations_url":"https://api.github.com/users/lesteve/orgs","repos_url":"https://api.github.com/users/lesteve/repos","events_url":"https://api.github.com/users/lesteve/events{/privacy}","received_events_url":"https://api.github.com/users/lesteve/received_events","type":"User","site_admin":false},"body":"Still not 100 % clear to me, sorry. Maybe just stick to \"Setting up your project\" ...","created_at":"2015-07-15T08:56:57Z","updated_at":"2015-07-15T08:56:57Z","html_url":"https://github.com/sphinx-gallery/sphinx-gallery/pull/36#discussion_r34658600","pull_request_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/36","_links":{"self":{"href":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/comments/34658600"},"html":{"href":"https://github.com/sphinx-gallery/sphinx-gallery/pull/36#discussion_r34658600"},"pull_request":{"href":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/36"}}},"pull_request":{"url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/36","id":37099105,"html_url":"https://github.com/sphinx-gallery/sphinx-gallery/pull/36","diff_url":"https://github.com/sphinx-gallery/sphinx-gallery/pull/36.diff","patch_url":"https://github.com/sphinx-gallery/sphinx-gallery/pull/36.patch","issue_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/36","number":36,"state":"open","locked":false,"title":"[Review] Code refactoring, block execution of scripts","user":{"login":"Titan-C","id":713451,"avatar_url":"https://avatars.githubusercontent.com/u/713451?v=3","gravatar_id":"","url":"https://api.github.com/users/Titan-C","html_url":"https://github.com/Titan-C","followers_url":"https://api.github.com/users/Titan-C/followers","following_url":"https://api.github.com/users/Titan-C/following{/other_user}","gists_url":"https://api.github.com/users/Titan-C/gists{/gist_id}","starred_url":"https://api.github.com/users/Titan-C/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Titan-C/subscriptions","organizations_url":"https://api.github.com/users/Titan-C/orgs","repos_url":"https://api.github.com/users/Titan-C/repos","events_url":"https://api.github.com/users/Titan-C/events{/privacy}","received_events_url":"https://api.github.com/users/Titan-C/received_events","type":"User","site_admin":false},"body":"I'm still unsure which the final goal of this clean up is. By now it breaks up some statements into simpler functions.\r\nOne big advantage is that now the re-execution of a example script is evaluated a lot earlier and one saves a lot of if..else, so less branching and less deeper indentation.\r\n- [x]  docstrings for this functions\r\n- [x] try to test on them","created_at":"2015-06-07T00:26:52Z","updated_at":"2015-07-15T08:56:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0809c8d1d30acc2f452e9566cab3177271723502","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/36/commits","review_comments_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/36/comments","review_comment_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/36/comments","statuses_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/statuses/e2535922ebff61e471b672019932369bb9baf271","head":{"label":"Titan-C:refactor_split","ref":"refactor_split","sha":"e2535922ebff61e471b672019932369bb9baf271","user":{"login":"Titan-C","id":713451,"avatar_url":"https://avatars.githubusercontent.com/u/713451?v=3","gravatar_id":"","url":"https://api.github.com/users/Titan-C","html_url":"https://github.com/Titan-C","followers_url":"https://api.github.com/users/Titan-C/followers","following_url":"https://api.github.com/users/Titan-C/following{/other_user}","gists_url":"https://api.github.com/users/Titan-C/gists{/gist_id}","starred_url":"https://api.github.com/users/Titan-C/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Titan-C/subscriptions","organizations_url":"https://api.github.com/users/Titan-C/orgs","repos_url":"https://api.github.com/users/Titan-C/repos","events_url":"https://api.github.com/users/Titan-C/events{/privacy}","received_events_url":"https://api.github.com/users/Titan-C/received_events","type":"User","site_admin":false},"repo":{"id":26191147,"name":"sphinx-gallery","full_name":"Titan-C/sphinx-gallery","owner":{"login":"Titan-C","id":713451,"avatar_url":"https://avatars.githubusercontent.com/u/713451?v=3","gravatar_id":"","url":"https://api.github.com/users/Titan-C","html_url":"https://github.com/Titan-C","followers_url":"https://api.github.com/users/Titan-C/followers","following_url":"https://api.github.com/users/Titan-C/following{/other_user}","gists_url":"https://api.github.com/users/Titan-C/gists{/gist_id}","starred_url":"https://api.github.com/users/Titan-C/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Titan-C/subscriptions","organizations_url":"https://api.github.com/users/Titan-C/orgs","repos_url":"https://api.github.com/users/Titan-C/repos","events_url":"https://api.github.com/users/Titan-C/events{/privacy}","received_events_url":"https://api.github.com/users/Titan-C/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Titan-C/sphinx-gallery","description":"Sphinx extension for automatic generation of an example gallery","fork":true,"url":"https://api.github.com/repos/Titan-C/sphinx-gallery","forks_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/forks","keys_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/teams","hooks_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/hooks","issue_events_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/issues/events{/number}","events_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/events","assignees_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/assignees{/user}","branches_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/branches{/branch}","tags_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/tags","blobs_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/git/refs{/sha}","trees_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/statuses/{sha}","languages_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/languages","stargazers_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/stargazers","contributors_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/contributors","subscribers_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/subscribers","subscription_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/subscription","commits_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/commits{/sha}","git_commits_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/git/commits{/sha}","comments_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/comments{/number}","issue_comment_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/issues/comments{/number}","contents_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/contents/{+path}","compare_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/merges","archive_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/downloads","issues_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/issues{/number}","pulls_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/pulls{/number}","milestones_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/milestones{/number}","notifications_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/labels{/name}","releases_url":"https://api.github.com/repos/Titan-C/sphinx-gallery/releases{/id}","created_at":"2014-11-04T22:13:32Z","updated_at":"2015-05-01T14:03:11Z","pushed_at":"2015-07-15T08:56:22Z","git_url":"git://github.com/Titan-C/sphinx-gallery.git","ssh_url":"git@github.com:Titan-C/sphinx-gallery.git","clone_url":"https://github.com/Titan-C/sphinx-gallery.git","svn_url":"https://github.com/Titan-C/sphinx-gallery","homepage":null,"size":789,"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":"sphinx-gallery:master","ref":"master","sha":"2bb7144ccb22415b251cbc5a3dd8fea7551c26a9","user":{"login":"sphinx-gallery","id":9541799,"avatar_url":"https://avatars.githubusercontent.com/u/9541799?v=3","gravatar_id":"","url":"https://api.github.com/users/sphinx-gallery","html_url":"https://github.com/sphinx-gallery","followers_url":"https://api.github.com/users/sphinx-gallery/followers","following_url":"https://api.github.com/users/sphinx-gallery/following{/other_user}","gists_url":"https://api.github.com/users/sphinx-gallery/gists{/gist_id}","starred_url":"https://api.github.com/users/sphinx-gallery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sphinx-gallery/subscriptions","organizations_url":"https://api.github.com/users/sphinx-gallery/orgs","repos_url":"https://api.github.com/users/sphinx-gallery/repos","events_url":"https://api.github.com/users/sphinx-gallery/events{/privacy}","received_events_url":"https://api.github.com/users/sphinx-gallery/received_events","type":"Organization","site_admin":false},"repo":{"id":25860190,"name":"sphinx-gallery","full_name":"sphinx-gallery/sphinx-gallery","owner":{"login":"sphinx-gallery","id":9541799,"avatar_url":"https://avatars.githubusercontent.com/u/9541799?v=3","gravatar_id":"","url":"https://api.github.com/users/sphinx-gallery","html_url":"https://github.com/sphinx-gallery","followers_url":"https://api.github.com/users/sphinx-gallery/followers","following_url":"https://api.github.com/users/sphinx-gallery/following{/other_user}","gists_url":"https://api.github.com/users/sphinx-gallery/gists{/gist_id}","starred_url":"https://api.github.com/users/sphinx-gallery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sphinx-gallery/subscriptions","organizations_url":"https://api.github.com/users/sphinx-gallery/orgs","repos_url":"https://api.github.com/users/sphinx-gallery/repos","events_url":"https://api.github.com/users/sphinx-gallery/events{/privacy}","received_events_url":"https://api.github.com/users/sphinx-gallery/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sphinx-gallery/sphinx-gallery","description":"Sphinx extension for automatic generation of an example gallery","fork":false,"url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery","forks_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/forks","keys_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/teams","hooks_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/hooks","issue_events_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/events{/number}","events_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/events","assignees_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/assignees{/user}","branches_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/branches{/branch}","tags_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/tags","blobs_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/git/refs{/sha}","trees_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/statuses/{sha}","languages_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/languages","stargazers_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/stargazers","contributors_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/contributors","subscribers_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/subscribers","subscription_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/subscription","commits_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/commits{/sha}","git_commits_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/git/commits{/sha}","comments_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/comments{/number}","issue_comment_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/comments{/number}","contents_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/contents/{+path}","compare_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/merges","archive_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/downloads","issues_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues{/number}","pulls_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls{/number}","milestones_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/milestones{/number}","notifications_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/labels{/name}","releases_url":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/releases{/id}","created_at":"2014-10-28T08:41:46Z","updated_at":"2015-05-06T06:37:01Z","pushed_at":"2015-07-15T08:56:22Z","git_url":"git://github.com/sphinx-gallery/sphinx-gallery.git","ssh_url":"git@github.com:sphinx-gallery/sphinx-gallery.git","clone_url":"https://github.com/sphinx-gallery/sphinx-gallery.git","svn_url":"https://github.com/sphinx-gallery/sphinx-gallery","homepage":"http://sphinx-gallery.readthedocs.org","size":736,"stargazers_count":9,"watchers_count":9,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":17,"forks":5,"open_issues":17,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/36"},"html":{"href":"https://github.com/sphinx-gallery/sphinx-gallery/pull/36"},"issue":{"href":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/36"},"comments":{"href":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/sphinx-gallery/sphinx-gallery/statuses/e2535922ebff61e471b672019932369bb9baf271"}}}}