{"action":"opened","number":11221,"pull_request":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/11221","id":193548726,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzNTQ4NzI2","html_url":"https://github.com/scikit-learn/scikit-learn/pull/11221","diff_url":"https://github.com/scikit-learn/scikit-learn/pull/11221.diff","patch_url":"https://github.com/scikit-learn/scikit-learn/pull/11221.patch","issue_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/11221","number":11221,"state":"open","locked":false,"title":"[MRG] DOC: add binder links to examples ","user":{"login":"lesteve","id":1680079,"node_id":"MDQ6VXNlcjE2ODAwNzk=","avatar_url":"https://avatars1.githubusercontent.com/u/1680079?v=4","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":"This is using the binder feature in the recent 0.2 sphinx-gallery release.\r\n\r\nSummary of the changes:\r\n- conf.py needs to configure sphinx-gallery to create binder links\r\n- binder/requirements.txt: requirements for the docker image created on binder\r\n- build_tools/circle/push_doc.sh: binder needs the `binder` repo to be at the root of the repo and the `binder` folder is in `dev/binder`.\r\n\r\nAt the moment the latest scikit-learn release is installed so some examples may not work if they use some features from master.\r\nMaybe a question for @choldgraf: if I add `-f git+https://github.com/scikit-learn/scikit-learn.git` to `requirements.txt` will it ensure that the docker image is rebuilt on each push and that I have always scikit-learn master in the docker image?\r\n\r\nI have to say I haven't thought too much about how stable doc vs dev doc is going to work yet. For now the binder links are only visible on the dev doc anyway.","created_at":"2018-06-08T08:54:42Z","updated_at":"2018-06-08T08:54:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/11221/commits","review_comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/11221/comments","review_comment_url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/comments{/number}","comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/11221/comments","statuses_url":"https://api.github.com/repos/scikit-learn/scikit-learn/statuses/1b7d223e4349d1a067032750b625d583e654a191","head":{"label":"lesteve:add-binder-links","ref":"add-binder-links","sha":"1b7d223e4349d1a067032750b625d583e654a191","user":{"login":"lesteve","id":1680079,"node_id":"MDQ6VXNlcjE2ODAwNzk=","avatar_url":"https://avatars1.githubusercontent.com/u/1680079?v=4","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},"repo":{"id":7576906,"node_id":"MDEwOlJlcG9zaXRvcnk3NTc2OTA2","name":"scikit-learn","full_name":"lesteve/scikit-learn","owner":{"login":"lesteve","id":1680079,"node_id":"MDQ6VXNlcjE2ODAwNzk=","avatar_url":"https://avatars1.githubusercontent.com/u/1680079?v=4","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},"private":false,"html_url":"https://github.com/lesteve/scikit-learn","description":"scikit-learn: machine learning in Python","fork":true,"url":"https://api.github.com/repos/lesteve/scikit-learn","forks_url":"https://api.github.com/repos/lesteve/scikit-learn/forks","keys_url":"https://api.github.com/repos/lesteve/scikit-learn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lesteve/scikit-learn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lesteve/scikit-learn/teams","hooks_url":"https://api.github.com/repos/lesteve/scikit-learn/hooks","issue_events_url":"https://api.github.com/repos/lesteve/scikit-learn/issues/events{/number}","events_url":"https://api.github.com/repos/lesteve/scikit-learn/events","assignees_url":"https://api.github.com/repos/lesteve/scikit-learn/assignees{/user}","branches_url":"https://api.github.com/repos/lesteve/scikit-learn/branches{/branch}","tags_url":"https://api.github.com/repos/lesteve/scikit-learn/tags","blobs_url":"https://api.github.com/repos/lesteve/scikit-learn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lesteve/scikit-learn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lesteve/scikit-learn/git/refs{/sha}","trees_url":"https://api.github.com/repos/lesteve/scikit-learn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lesteve/scikit-learn/statuses/{sha}","languages_url":"https://api.github.com/repos/lesteve/scikit-learn/languages","stargazers_url":"https://api.github.com/repos/lesteve/scikit-learn/stargazers","contributors_url":"https://api.github.com/repos/lesteve/scikit-learn/contributors","subscribers_url":"https://api.github.com/repos/lesteve/scikit-learn/subscribers","subscription_url":"https://api.github.com/repos/lesteve/scikit-learn/subscription","commits_url":"https://api.github.com/repos/lesteve/scikit-learn/commits{/sha}","git_commits_url":"https://api.github.com/repos/lesteve/scikit-learn/git/commits{/sha}","comments_url":"https://api.github.com/repos/lesteve/scikit-learn/comments{/number}","issue_comment_url":"https://api.github.com/repos/lesteve/scikit-learn/issues/comments{/number}","contents_url":"https://api.github.com/repos/lesteve/scikit-learn/contents/{+path}","compare_url":"https://api.github.com/repos/lesteve/scikit-learn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lesteve/scikit-learn/merges","archive_url":"https://api.github.com/repos/lesteve/scikit-learn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lesteve/scikit-learn/downloads","issues_url":"https://api.github.com/repos/lesteve/scikit-learn/issues{/number}","pulls_url":"https://api.github.com/repos/lesteve/scikit-learn/pulls{/number}","milestones_url":"https://api.github.com/repos/lesteve/scikit-learn/milestones{/number}","notifications_url":"https://api.github.com/repos/lesteve/scikit-learn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lesteve/scikit-learn/labels{/name}","releases_url":"https://api.github.com/repos/lesteve/scikit-learn/releases{/id}","deployments_url":"https://api.github.com/repos/lesteve/scikit-learn/deployments","created_at":"2013-01-12T15:36:00Z","updated_at":"2018-06-07T08:11:20Z","pushed_at":"2018-06-08T07:29:36Z","git_url":"git://github.com/lesteve/scikit-learn.git","ssh_url":"git@github.com:lesteve/scikit-learn.git","clone_url":"https://github.com/lesteve/scikit-learn.git","svn_url":"https://github.com/lesteve/scikit-learn","homepage":"http://scikit-learn.org","size":87718,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"scikit-learn:master","ref":"master","sha":"2140166e387c526ebf05937abb621a45504a31b4","user":{"login":"scikit-learn","id":365630,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NTYzMA==","avatar_url":"https://avatars2.githubusercontent.com/u/365630?v=4","gravatar_id":"","url":"https://api.github.com/users/scikit-learn","html_url":"https://github.com/scikit-learn","followers_url":"https://api.github.com/users/scikit-learn/followers","following_url":"https://api.github.com/users/scikit-learn/following{/other_user}","gists_url":"https://api.github.com/users/scikit-learn/gists{/gist_id}","starred_url":"https://api.github.com/users/scikit-learn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scikit-learn/subscriptions","organizations_url":"https://api.github.com/users/scikit-learn/orgs","repos_url":"https://api.github.com/users/scikit-learn/repos","events_url":"https://api.github.com/users/scikit-learn/events{/privacy}","received_events_url":"https://api.github.com/users/scikit-learn/received_events","type":"Organization","site_admin":false},"repo":{"id":843222,"node_id":"MDEwOlJlcG9zaXRvcnk4NDMyMjI=","name":"scikit-learn","full_name":"scikit-learn/scikit-learn","owner":{"login":"scikit-learn","id":365630,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NTYzMA==","avatar_url":"https://avatars2.githubusercontent.com/u/365630?v=4","gravatar_id":"","url":"https://api.github.com/users/scikit-learn","html_url":"https://github.com/scikit-learn","followers_url":"https://api.github.com/users/scikit-learn/followers","following_url":"https://api.github.com/users/scikit-learn/following{/other_user}","gists_url":"https://api.github.com/users/scikit-learn/gists{/gist_id}","starred_url":"https://api.github.com/users/scikit-learn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scikit-learn/subscriptions","organizations_url":"https://api.github.com/users/scikit-learn/orgs","repos_url":"https://api.github.com/users/scikit-learn/repos","events_url":"https://api.github.com/users/scikit-learn/events{/privacy}","received_events_url":"https://api.github.com/users/scikit-learn/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/scikit-learn/scikit-learn","description":"scikit-learn: machine learning in Python","fork":false,"url":"https://api.github.com/repos/scikit-learn/scikit-learn","forks_url":"https://api.github.com/repos/scikit-learn/scikit-learn/forks","keys_url":"https://api.github.com/repos/scikit-learn/scikit-learn/keys{/key_id}","collaborators_url":"https://api.github.com/repos/scikit-learn/scikit-learn/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/scikit-learn/scikit-learn/teams","hooks_url":"https://api.github.com/repos/scikit-learn/scikit-learn/hooks","issue_events_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/events{/number}","events_url":"https://api.github.com/repos/scikit-learn/scikit-learn/events","assignees_url":"https://api.github.com/repos/scikit-learn/scikit-learn/assignees{/user}","branches_url":"https://api.github.com/repos/scikit-learn/scikit-learn/branches{/branch}","tags_url":"https://api.github.com/repos/scikit-learn/scikit-learn/tags","blobs_url":"https://api.github.com/repos/scikit-learn/scikit-learn/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/scikit-learn/scikit-learn/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/scikit-learn/scikit-learn/git/refs{/sha}","trees_url":"https://api.github.com/repos/scikit-learn/scikit-learn/git/trees{/sha}","statuses_url":"https://api.github.com/repos/scikit-learn/scikit-learn/statuses/{sha}","languages_url":"https://api.github.com/repos/scikit-learn/scikit-learn/languages","stargazers_url":"https://api.github.com/repos/scikit-learn/scikit-learn/stargazers","contributors_url":"https://api.github.com/repos/scikit-learn/scikit-learn/contributors","subscribers_url":"https://api.github.com/repos/scikit-learn/scikit-learn/subscribers","subscription_url":"https://api.github.com/repos/scikit-learn/scikit-learn/subscription","commits_url":"https://api.github.com/repos/scikit-learn/scikit-learn/commits{/sha}","git_commits_url":"https://api.github.com/repos/scikit-learn/scikit-learn/git/commits{/sha}","comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/comments{/number}","issue_comment_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/comments{/number}","contents_url":"https://api.github.com/repos/scikit-learn/scikit-learn/contents/{+path}","compare_url":"https://api.github.com/repos/scikit-learn/scikit-learn/compare/{base}...{head}","merges_url":"https://api.github.com/repos/scikit-learn/scikit-learn/merges","archive_url":"https://api.github.com/repos/scikit-learn/scikit-learn/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/scikit-learn/scikit-learn/downloads","issues_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues{/number}","pulls_url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls{/number}","milestones_url":"https://api.github.com/repos/scikit-learn/scikit-learn/milestones{/number}","notifications_url":"https://api.github.com/repos/scikit-learn/scikit-learn/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/scikit-learn/scikit-learn/labels{/name}","releases_url":"https://api.github.com/repos/scikit-learn/scikit-learn/releases{/id}","deployments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/deployments","created_at":"2010-08-17T09:43:38Z","updated_at":"2018-06-08T07:59:32Z","pushed_at":"2018-06-08T07:21:15Z","git_url":"git://github.com/scikit-learn/scikit-learn.git","ssh_url":"git@github.com:scikit-learn/scikit-learn.git","clone_url":"https://github.com/scikit-learn/scikit-learn.git","svn_url":"https://github.com/scikit-learn/scikit-learn","homepage":"http://scikit-learn.org","size":90698,"stargazers_count":28640,"watchers_count":28640,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14206,"mirror_url":null,"archived":false,"open_issues_count":1608,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":14206,"open_issues":1608,"watchers":28640,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/11221"},"html":{"href":"https://github.com/scikit-learn/scikit-learn/pull/11221"},"issue":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/11221"},"comments":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/11221/comments"},"review_comments":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/11221/comments"},"review_comment":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/11221/commits"},"statuses":{"href":"https://api.github.com/repos/scikit-learn/scikit-learn/statuses/1b7d223e4349d1a067032750b625d583e654a191"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":27,"deletions":3,"changed_files":3}}
{"actor":{"display_login":"lesteve"}}