{"action":"opened","number":11313,"pull_request":{"url":"https://api.github.com/repos/ipython/ipython/pulls/11313","id":215588360,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE1NTg4MzYw","html_url":"https://github.com/ipython/ipython/pull/11313","diff_url":"https://github.com/ipython/ipython/pull/11313.diff","patch_url":"https://github.com/ipython/ipython/pull/11313.patch","issue_url":"https://api.github.com/repos/ipython/ipython/issues/11313","number":11313,"state":"open","locked":false,"title":"Fix magic directive and role.","user":{"login":"Carreau","id":335567,"node_id":"MDQ6VXNlcjMzNTU2Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/335567?v=4","gravatar_id":"","url":"https://api.github.com/users/Carreau","html_url":"https://github.com/Carreau","followers_url":"https://api.github.com/users/Carreau/followers","following_url":"https://api.github.com/users/Carreau/following{/other_user}","gists_url":"https://api.github.com/users/Carreau/gists{/gist_id}","starred_url":"https://api.github.com/users/Carreau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Carreau/subscriptions","organizations_url":"https://api.github.com/users/Carreau/orgs","repos_url":"https://api.github.com/users/Carreau/repos","events_url":"https://api.github.com/users/Carreau/events{/privacy}","received_events_url":"https://api.github.com/users/Carreau/received_events","type":"User","site_admin":false},"body":"We were directly modifying state instead of using blessed API (also some\r\napi will change so be future proof with sphinx master).\r\n\r\nThis should restore some ability of the :magic: and :cellmagic:\r\ndirective to both support link to magics name when the text in the\r\ndirective contains (or not) leading % and %%, it will also automatically\r\nprepend the right number of % for magics and cell magics.\r\n\r\nA couple of other related fixes.","created_at":"2018-09-14T13:06:52Z","updated_at":"2018-09-14T13:06:52Z","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/ipython/ipython/pulls/11313/commits","review_comments_url":"https://api.github.com/repos/ipython/ipython/pulls/11313/comments","review_comment_url":"https://api.github.com/repos/ipython/ipython/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ipython/ipython/issues/11313/comments","statuses_url":"https://api.github.com/repos/ipython/ipython/statuses/ce22f49932fd4f071804e59f3c9d3f7042b917dd","head":{"label":"Carreau:fix-magic-directive","ref":"fix-magic-directive","sha":"ce22f49932fd4f071804e59f3c9d3f7042b917dd","user":{"login":"Carreau","id":335567,"node_id":"MDQ6VXNlcjMzNTU2Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/335567?v=4","gravatar_id":"","url":"https://api.github.com/users/Carreau","html_url":"https://github.com/Carreau","followers_url":"https://api.github.com/users/Carreau/followers","following_url":"https://api.github.com/users/Carreau/following{/other_user}","gists_url":"https://api.github.com/users/Carreau/gists{/gist_id}","starred_url":"https://api.github.com/users/Carreau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Carreau/subscriptions","organizations_url":"https://api.github.com/users/Carreau/orgs","repos_url":"https://api.github.com/users/Carreau/repos","events_url":"https://api.github.com/users/Carreau/events{/privacy}","received_events_url":"https://api.github.com/users/Carreau/received_events","type":"User","site_admin":false},"repo":{"id":2344073,"node_id":"MDEwOlJlcG9zaXRvcnkyMzQ0MDcz","name":"ipython","full_name":"Carreau/ipython","owner":{"login":"Carreau","id":335567,"node_id":"MDQ6VXNlcjMzNTU2Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/335567?v=4","gravatar_id":"","url":"https://api.github.com/users/Carreau","html_url":"https://github.com/Carreau","followers_url":"https://api.github.com/users/Carreau/followers","following_url":"https://api.github.com/users/Carreau/following{/other_user}","gists_url":"https://api.github.com/users/Carreau/gists{/gist_id}","starred_url":"https://api.github.com/users/Carreau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Carreau/subscriptions","organizations_url":"https://api.github.com/users/Carreau/orgs","repos_url":"https://api.github.com/users/Carreau/repos","events_url":"https://api.github.com/users/Carreau/events{/privacy}","received_events_url":"https://api.github.com/users/Carreau/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Carreau/ipython","description":"Official repository for IPython itself. Other repos in the IPython organization contain things like the website, python3 support, etc.","fork":true,"url":"https://api.github.com/repos/Carreau/ipython","forks_url":"https://api.github.com/repos/Carreau/ipython/forks","keys_url":"https://api.github.com/repos/Carreau/ipython/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Carreau/ipython/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Carreau/ipython/teams","hooks_url":"https://api.github.com/repos/Carreau/ipython/hooks","issue_events_url":"https://api.github.com/repos/Carreau/ipython/issues/events{/number}","events_url":"https://api.github.com/repos/Carreau/ipython/events","assignees_url":"https://api.github.com/repos/Carreau/ipython/assignees{/user}","branches_url":"https://api.github.com/repos/Carreau/ipython/branches{/branch}","tags_url":"https://api.github.com/repos/Carreau/ipython/tags","blobs_url":"https://api.github.com/repos/Carreau/ipython/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Carreau/ipython/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Carreau/ipython/git/refs{/sha}","trees_url":"https://api.github.com/repos/Carreau/ipython/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Carreau/ipython/statuses/{sha}","languages_url":"https://api.github.com/repos/Carreau/ipython/languages","stargazers_url":"https://api.github.com/repos/Carreau/ipython/stargazers","contributors_url":"https://api.github.com/repos/Carreau/ipython/contributors","subscribers_url":"https://api.github.com/repos/Carreau/ipython/subscribers","subscription_url":"https://api.github.com/repos/Carreau/ipython/subscription","commits_url":"https://api.github.com/repos/Carreau/ipython/commits{/sha}","git_commits_url":"https://api.github.com/repos/Carreau/ipython/git/commits{/sha}","comments_url":"https://api.github.com/repos/Carreau/ipython/comments{/number}","issue_comment_url":"https://api.github.com/repos/Carreau/ipython/issues/comments{/number}","contents_url":"https://api.github.com/repos/Carreau/ipython/contents/{+path}","compare_url":"https://api.github.com/repos/Carreau/ipython/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Carreau/ipython/merges","archive_url":"https://api.github.com/repos/Carreau/ipython/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Carreau/ipython/downloads","issues_url":"https://api.github.com/repos/Carreau/ipython/issues{/number}","pulls_url":"https://api.github.com/repos/Carreau/ipython/pulls{/number}","milestones_url":"https://api.github.com/repos/Carreau/ipython/milestones{/number}","notifications_url":"https://api.github.com/repos/Carreau/ipython/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Carreau/ipython/labels{/name}","releases_url":"https://api.github.com/repos/Carreau/ipython/releases{/id}","deployments_url":"https://api.github.com/repos/Carreau/ipython/deployments","created_at":"2011-09-07T19:50:06Z","updated_at":"2018-09-07T10:51:30Z","pushed_at":"2018-09-14T13:06:38Z","git_url":"git://github.com/Carreau/ipython.git","ssh_url":"git@github.com:Carreau/ipython.git","clone_url":"https://github.com/Carreau/ipython.git","svn_url":"https://github.com/Carreau/ipython","homepage":"http://ipython.org","size":71995,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":1,"open_issues":0,"watchers":5,"default_branch":"master"}},"base":{"label":"ipython:master","ref":"master","sha":"4b4c61901de4dc6660f313cc36cf1038aefbef3a","user":{"login":"ipython","id":230453,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMDQ1Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/230453?v=4","gravatar_id":"","url":"https://api.github.com/users/ipython","html_url":"https://github.com/ipython","followers_url":"https://api.github.com/users/ipython/followers","following_url":"https://api.github.com/users/ipython/following{/other_user}","gists_url":"https://api.github.com/users/ipython/gists{/gist_id}","starred_url":"https://api.github.com/users/ipython/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipython/subscriptions","organizations_url":"https://api.github.com/users/ipython/orgs","repos_url":"https://api.github.com/users/ipython/repos","events_url":"https://api.github.com/users/ipython/events{/privacy}","received_events_url":"https://api.github.com/users/ipython/received_events","type":"Organization","site_admin":false},"repo":{"id":658518,"node_id":"MDEwOlJlcG9zaXRvcnk2NTg1MTg=","name":"ipython","full_name":"ipython/ipython","owner":{"login":"ipython","id":230453,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIzMDQ1Mw==","avatar_url":"https://avatars3.githubusercontent.com/u/230453?v=4","gravatar_id":"","url":"https://api.github.com/users/ipython","html_url":"https://github.com/ipython","followers_url":"https://api.github.com/users/ipython/followers","following_url":"https://api.github.com/users/ipython/following{/other_user}","gists_url":"https://api.github.com/users/ipython/gists{/gist_id}","starred_url":"https://api.github.com/users/ipython/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ipython/subscriptions","organizations_url":"https://api.github.com/users/ipython/orgs","repos_url":"https://api.github.com/users/ipython/repos","events_url":"https://api.github.com/users/ipython/events{/privacy}","received_events_url":"https://api.github.com/users/ipython/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ipython/ipython","description":"Official repository for IPython itself. Other repos in the IPython organization contain things like the website, documentation builds, etc.","fork":false,"url":"https://api.github.com/repos/ipython/ipython","forks_url":"https://api.github.com/repos/ipython/ipython/forks","keys_url":"https://api.github.com/repos/ipython/ipython/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ipython/ipython/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ipython/ipython/teams","hooks_url":"https://api.github.com/repos/ipython/ipython/hooks","issue_events_url":"https://api.github.com/repos/ipython/ipython/issues/events{/number}","events_url":"https://api.github.com/repos/ipython/ipython/events","assignees_url":"https://api.github.com/repos/ipython/ipython/assignees{/user}","branches_url":"https://api.github.com/repos/ipython/ipython/branches{/branch}","tags_url":"https://api.github.com/repos/ipython/ipython/tags","blobs_url":"https://api.github.com/repos/ipython/ipython/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ipython/ipython/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ipython/ipython/git/refs{/sha}","trees_url":"https://api.github.com/repos/ipython/ipython/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ipython/ipython/statuses/{sha}","languages_url":"https://api.github.com/repos/ipython/ipython/languages","stargazers_url":"https://api.github.com/repos/ipython/ipython/stargazers","contributors_url":"https://api.github.com/repos/ipython/ipython/contributors","subscribers_url":"https://api.github.com/repos/ipython/ipython/subscribers","subscription_url":"https://api.github.com/repos/ipython/ipython/subscription","commits_url":"https://api.github.com/repos/ipython/ipython/commits{/sha}","git_commits_url":"https://api.github.com/repos/ipython/ipython/git/commits{/sha}","comments_url":"https://api.github.com/repos/ipython/ipython/comments{/number}","issue_comment_url":"https://api.github.com/repos/ipython/ipython/issues/comments{/number}","contents_url":"https://api.github.com/repos/ipython/ipython/contents/{+path}","compare_url":"https://api.github.com/repos/ipython/ipython/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ipython/ipython/merges","archive_url":"https://api.github.com/repos/ipython/ipython/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ipython/ipython/downloads","issues_url":"https://api.github.com/repos/ipython/ipython/issues{/number}","pulls_url":"https://api.github.com/repos/ipython/ipython/pulls{/number}","milestones_url":"https://api.github.com/repos/ipython/ipython/milestones{/number}","notifications_url":"https://api.github.com/repos/ipython/ipython/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ipython/ipython/labels{/name}","releases_url":"https://api.github.com/repos/ipython/ipython/releases{/id}","deployments_url":"https://api.github.com/repos/ipython/ipython/deployments","created_at":"2010-05-10T04:46:06Z","updated_at":"2018-09-14T12:02:52Z","pushed_at":"2018-09-14T12:02:44Z","git_url":"git://github.com/ipython/ipython.git","ssh_url":"git@github.com:ipython/ipython.git","clone_url":"https://github.com/ipython/ipython.git","svn_url":"https://github.com/ipython/ipython","homepage":"https://ipython.readthedocs.org","size":71628,"stargazers_count":13009,"watchers_count":13009,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3645,"mirror_url":null,"archived":false,"open_issues_count":1051,"license":{"key":"other","name":"Other","spdx_id":null,"url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":3645,"open_issues":1051,"watchers":13009,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ipython/ipython/pulls/11313"},"html":{"href":"https://github.com/ipython/ipython/pull/11313"},"issue":{"href":"https://api.github.com/repos/ipython/ipython/issues/11313"},"comments":{"href":"https://api.github.com/repos/ipython/ipython/issues/11313/comments"},"review_comments":{"href":"https://api.github.com/repos/ipython/ipython/pulls/11313/comments"},"review_comment":{"href":"https://api.github.com/repos/ipython/ipython/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ipython/ipython/pulls/11313/commits"},"statuses":{"href":"https://api.github.com/repos/ipython/ipython/statuses/ce22f49932fd4f071804e59f3c9d3f7042b917dd"}},"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":1,"additions":40,"deletions":26,"changed_files":5}}
{"actor":{"display_login":"Carreau"}}