{"action":"created","comment":{"url":"https://api.github.com/repos/rtfd/readthedocs.org/pulls/comments/216548257","pull_request_review_id":154052230,"id":216548257,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNjU0ODI1Nw==","diff_hunk":"@@ -769,16 +753,22 @@ def send_notifications(self):\n         \"\"\"Send notifications on build failure.\"\"\"\n         send_notifications.delay(self.version.pk, build_pk=self.build['id'])\n \n+    def is_type_sphinx(self):\n+        \"\"\"Is documentation type Sphinx.\"\"\"\n+        return 'sphinx' in self.config.doctype\n+\n \n # Web tasks\n @app.task(queue='web')\n-def sync_files(project_pk, version_pk, hostname=None, html=False,\n+def sync_files(project_pk, version_pk, config, hostname=None, html=False,","path":"readthedocs/projects/tasks.py","position":98,"original_position":98,"commit_id":"22d13c831e9219db73881aaef86e353d597889a7","original_commit_id":"22d13c831e9219db73881aaef86e353d597889a7","user":{"login":"stsewd","id":4975310,"node_id":"MDQ6VXNlcjQ5NzUzMTA=","avatar_url":"https://avatars2.githubusercontent.com/u/4975310?v=4","gravatar_id":"","url":"https://api.github.com/users/stsewd","html_url":"https://github.com/stsewd","followers_url":"https://api.github.com/users/stsewd/followers","following_url":"https://api.github.com/users/stsewd/following{/other_user}","gists_url":"https://api.github.com/users/stsewd/gists{/gist_id}","starred_url":"https://api.github.com/users/stsewd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stsewd/subscriptions","organizations_url":"https://api.github.com/users/stsewd/orgs","repos_url":"https://api.github.com/users/stsewd/repos","events_url":"https://api.github.com/users/stsewd/events{/privacy}","received_events_url":"https://api.github.com/users/stsewd/received_events","type":"User","site_admin":false},"body":"We need the current doctype, so I'm passing it to all tasks","created_at":"2018-09-11T05:20:49Z","updated_at":"2018-09-11T05:28:08Z","html_url":"https://github.com/rtfd/readthedocs.org/pull/4486#discussion_r216548257","pull_request_url":"https://api.github.com/repos/rtfd/readthedocs.org/pulls/4486","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/rtfd/readthedocs.org/pulls/comments/216548257"},"html":{"href":"https://github.com/rtfd/readthedocs.org/pull/4486#discussion_r216548257"},"pull_request":{"href":"https://api.github.com/repos/rtfd/readthedocs.org/pulls/4486"}}},"pull_request":{"url":"https://api.github.com/repos/rtfd/readthedocs.org/pulls/4486","id":206762221,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2NzYyMjIx","html_url":"https://github.com/rtfd/readthedocs.org/pull/4486","diff_url":"https://github.com/rtfd/readthedocs.org/pull/4486.diff","patch_url":"https://github.com/rtfd/readthedocs.org/pull/4486.patch","issue_url":"https://api.github.com/repos/rtfd/readthedocs.org/issues/4486","number":4486,"state":"open","locked":false,"title":"Implement mkdocs key from v2 config","user":{"login":"stsewd","id":4975310,"node_id":"MDQ6VXNlcjQ5NzUzMTA=","avatar_url":"https://avatars2.githubusercontent.com/u/4975310?v=4","gravatar_id":"","url":"https://api.github.com/users/stsewd","html_url":"https://github.com/stsewd","followers_url":"https://api.github.com/users/stsewd/followers","following_url":"https://api.github.com/users/stsewd/following{/other_user}","gists_url":"https://api.github.com/users/stsewd/gists{/gist_id}","starred_url":"https://api.github.com/users/stsewd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stsewd/subscriptions","organizations_url":"https://api.github.com/users/stsewd/orgs","repos_url":"https://api.github.com/users/stsewd/repos","events_url":"https://api.github.com/users/stsewd/events{/privacy}","received_events_url":"https://api.github.com/users/stsewd/received_events","type":"User","site_admin":false},"body":"This is on top of https://github.com/rtfd/readthedocs.org/pull/4482, it should be merged after.\r\n\r\nNew changes are from 3f311ef \r\n\r\nRef https://github.com/rtfd/readthedocs.org/issues/4219","created_at":"2018-08-07T16:50:36Z","updated_at":"2018-09-11T05:28:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"098eb4b55f2ad08e2d3bf7b01e858d68c098ea65","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":{"url":"https://api.github.com/repos/rtfd/readthedocs.org/milestones/28","html_url":"https://github.com/rtfd/readthedocs.org/milestone/28","labels_url":"https://api.github.com/repos/rtfd/readthedocs.org/milestones/28/labels","id":2993389,"node_id":"MDk6TWlsZXN0b25lMjk5MzM4OQ==","number":28,"title":"YAML File Completion","description":"We should be able to express all build options in the YAML file. Once this is done, we can then deprecate the database for build settings for projects with a YAML file. Steps:\r\n\r\n* Add all build options to YAML file\r\n* Add state to Project that a YAML file is in use\r\n* Disable build options in web UI for Projects with YAML file\r\n ","creator":{"login":"ericholscher","id":25510,"node_id":"MDQ6VXNlcjI1NTEw","avatar_url":"https://avatars2.githubusercontent.com/u/25510?v=4","gravatar_id":"","url":"https://api.github.com/users/ericholscher","html_url":"https://github.com/ericholscher","followers_url":"https://api.github.com/users/ericholscher/followers","following_url":"https://api.github.com/users/ericholscher/following{/other_user}","gists_url":"https://api.github.com/users/ericholscher/gists{/gist_id}","starred_url":"https://api.github.com/users/ericholscher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ericholscher/subscriptions","organizations_url":"https://api.github.com/users/ericholscher/orgs","repos_url":"https://api.github.com/users/ericholscher/repos","events_url":"https://api.github.com/users/ericholscher/events{/privacy}","received_events_url":"https://api.github.com/users/ericholscher/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":15,"state":"open","created_at":"2017-12-21T16:58:00Z","updated_at":"2018-09-07T16:54:10Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/rtfd/readthedocs.org/pulls/4486/commits","review_comments_url":"https://api.github.com/repos/rtfd/readthedocs.org/pulls/4486/comments","review_comment_url":"https://api.github.com/repos/rtfd/readthedocs.org/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rtfd/readthedocs.org/issues/4486/comments","statuses_url":"https://api.github.com/repos/rtfd/readthedocs.org/statuses/22d13c831e9219db73881aaef86e353d597889a7","head":{"label":"stsewd:build-config-v2-mkdocs","ref":"build-config-v2-mkdocs","sha":"22d13c831e9219db73881aaef86e353d597889a7","user":{"login":"stsewd","id":4975310,"node_id":"MDQ6VXNlcjQ5NzUzMTA=","avatar_url":"https://avatars2.githubusercontent.com/u/4975310?v=4","gravatar_id":"","url":"https://api.github.com/users/stsewd","html_url":"https://github.com/stsewd","followers_url":"https://api.github.com/users/stsewd/followers","following_url":"https://api.github.com/users/stsewd/following{/other_user}","gists_url":"https://api.github.com/users/stsewd/gists{/gist_id}","starred_url":"https://api.github.com/users/stsewd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stsewd/subscriptions","organizations_url":"https://api.github.com/users/stsewd/orgs","repos_url":"https://api.github.com/users/stsewd/repos","events_url":"https://api.github.com/users/stsewd/events{/privacy}","received_events_url":"https://api.github.com/users/stsewd/received_events","type":"User","site_admin":false},"repo":{"id":113132411,"node_id":"MDEwOlJlcG9zaXRvcnkxMTMxMzI0MTE=","name":"readthedocs.org","full_name":"stsewd/readthedocs.org","owner":{"login":"stsewd","id":4975310,"node_id":"MDQ6VXNlcjQ5NzUzMTA=","avatar_url":"https://avatars2.githubusercontent.com/u/4975310?v=4","gravatar_id":"","url":"https://api.github.com/users/stsewd","html_url":"https://github.com/stsewd","followers_url":"https://api.github.com/users/stsewd/followers","following_url":"https://api.github.com/users/stsewd/following{/other_user}","gists_url":"https://api.github.com/users/stsewd/gists{/gist_id}","starred_url":"https://api.github.com/users/stsewd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stsewd/subscriptions","organizations_url":"https://api.github.com/users/stsewd/orgs","repos_url":"https://api.github.com/users/stsewd/repos","events_url":"https://api.github.com/users/stsewd/events{/privacy}","received_events_url":"https://api.github.com/users/stsewd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/stsewd/readthedocs.org","description":"The source code that powers readthedocs.org","fork":true,"url":"https://api.github.com/repos/stsewd/readthedocs.org","forks_url":"https://api.github.com/repos/stsewd/readthedocs.org/forks","keys_url":"https://api.github.com/repos/stsewd/readthedocs.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stsewd/readthedocs.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stsewd/readthedocs.org/teams","hooks_url":"https://api.github.com/repos/stsewd/readthedocs.org/hooks","issue_events_url":"https://api.github.com/repos/stsewd/readthedocs.org/issues/events{/number}","events_url":"https://api.github.com/repos/stsewd/readthedocs.org/events","assignees_url":"https://api.github.com/repos/stsewd/readthedocs.org/assignees{/user}","branches_url":"https://api.github.com/repos/stsewd/readthedocs.org/branches{/branch}","tags_url":"https://api.github.com/repos/stsewd/readthedocs.org/tags","blobs_url":"https://api.github.com/repos/stsewd/readthedocs.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stsewd/readthedocs.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stsewd/readthedocs.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/stsewd/readthedocs.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stsewd/readthedocs.org/statuses/{sha}","languages_url":"https://api.github.com/repos/stsewd/readthedocs.org/languages","stargazers_url":"https://api.github.com/repos/stsewd/readthedocs.org/stargazers","contributors_url":"https://api.github.com/repos/stsewd/readthedocs.org/contributors","subscribers_url":"https://api.github.com/repos/stsewd/readthedocs.org/subscribers","subscription_url":"https://api.github.com/repos/stsewd/readthedocs.org/subscription","commits_url":"https://api.github.com/repos/stsewd/readthedocs.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/stsewd/readthedocs.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/stsewd/readthedocs.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/stsewd/readthedocs.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/stsewd/readthedocs.org/contents/{+path}","compare_url":"https://api.github.com/repos/stsewd/readthedocs.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stsewd/readthedocs.org/merges","archive_url":"https://api.github.com/repos/stsewd/readthedocs.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stsewd/readthedocs.org/downloads","issues_url":"https://api.github.com/repos/stsewd/readthedocs.org/issues{/number}","pulls_url":"https://api.github.com/repos/stsewd/readthedocs.org/pulls{/number}","milestones_url":"https://api.github.com/repos/stsewd/readthedocs.org/milestones{/number}","notifications_url":"https://api.github.com/repos/stsewd/readthedocs.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stsewd/readthedocs.org/labels{/name}","releases_url":"https://api.github.com/repos/stsewd/readthedocs.org/releases{/id}","deployments_url":"https://api.github.com/repos/stsewd/readthedocs.org/deployments","created_at":"2017-12-05T04:25:56Z","updated_at":"2018-08-16T18:33:49Z","pushed_at":"2018-09-11T05:15:18Z","git_url":"git://github.com/stsewd/readthedocs.org.git","ssh_url":"git@github.com:stsewd/readthedocs.org.git","clone_url":"https://github.com/stsewd/readthedocs.org.git","svn_url":"https://github.com/stsewd/readthedocs.org","homepage":"https://readthedocs.org/","size":50298,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"rtfd:master","ref":"master","sha":"3501ca08db9372877a071a8f97ff93a5ac5cc694","user":{"login":"rtfd","id":366329,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NjMyOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/366329?v=4","gravatar_id":"","url":"https://api.github.com/users/rtfd","html_url":"https://github.com/rtfd","followers_url":"https://api.github.com/users/rtfd/followers","following_url":"https://api.github.com/users/rtfd/following{/other_user}","gists_url":"https://api.github.com/users/rtfd/gists{/gist_id}","starred_url":"https://api.github.com/users/rtfd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtfd/subscriptions","organizations_url":"https://api.github.com/users/rtfd/orgs","repos_url":"https://api.github.com/users/rtfd/repos","events_url":"https://api.github.com/users/rtfd/events{/privacy}","received_events_url":"https://api.github.com/users/rtfd/received_events","type":"Organization","site_admin":false},"repo":{"id":841835,"node_id":"MDEwOlJlcG9zaXRvcnk4NDE4MzU=","name":"readthedocs.org","full_name":"rtfd/readthedocs.org","owner":{"login":"rtfd","id":366329,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM2NjMyOQ==","avatar_url":"https://avatars2.githubusercontent.com/u/366329?v=4","gravatar_id":"","url":"https://api.github.com/users/rtfd","html_url":"https://github.com/rtfd","followers_url":"https://api.github.com/users/rtfd/followers","following_url":"https://api.github.com/users/rtfd/following{/other_user}","gists_url":"https://api.github.com/users/rtfd/gists{/gist_id}","starred_url":"https://api.github.com/users/rtfd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtfd/subscriptions","organizations_url":"https://api.github.com/users/rtfd/orgs","repos_url":"https://api.github.com/users/rtfd/repos","events_url":"https://api.github.com/users/rtfd/events{/privacy}","received_events_url":"https://api.github.com/users/rtfd/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rtfd/readthedocs.org","description":"The source code that powers readthedocs.org","fork":false,"url":"https://api.github.com/repos/rtfd/readthedocs.org","forks_url":"https://api.github.com/repos/rtfd/readthedocs.org/forks","keys_url":"https://api.github.com/repos/rtfd/readthedocs.org/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rtfd/readthedocs.org/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rtfd/readthedocs.org/teams","hooks_url":"https://api.github.com/repos/rtfd/readthedocs.org/hooks","issue_events_url":"https://api.github.com/repos/rtfd/readthedocs.org/issues/events{/number}","events_url":"https://api.github.com/repos/rtfd/readthedocs.org/events","assignees_url":"https://api.github.com/repos/rtfd/readthedocs.org/assignees{/user}","branches_url":"https://api.github.com/repos/rtfd/readthedocs.org/branches{/branch}","tags_url":"https://api.github.com/repos/rtfd/readthedocs.org/tags","blobs_url":"https://api.github.com/repos/rtfd/readthedocs.org/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rtfd/readthedocs.org/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rtfd/readthedocs.org/git/refs{/sha}","trees_url":"https://api.github.com/repos/rtfd/readthedocs.org/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rtfd/readthedocs.org/statuses/{sha}","languages_url":"https://api.github.com/repos/rtfd/readthedocs.org/languages","stargazers_url":"https://api.github.com/repos/rtfd/readthedocs.org/stargazers","contributors_url":"https://api.github.com/repos/rtfd/readthedocs.org/contributors","subscribers_url":"https://api.github.com/repos/rtfd/readthedocs.org/subscribers","subscription_url":"https://api.github.com/repos/rtfd/readthedocs.org/subscription","commits_url":"https://api.github.com/repos/rtfd/readthedocs.org/commits{/sha}","git_commits_url":"https://api.github.com/repos/rtfd/readthedocs.org/git/commits{/sha}","comments_url":"https://api.github.com/repos/rtfd/readthedocs.org/comments{/number}","issue_comment_url":"https://api.github.com/repos/rtfd/readthedocs.org/issues/comments{/number}","contents_url":"https://api.github.com/repos/rtfd/readthedocs.org/contents/{+path}","compare_url":"https://api.github.com/repos/rtfd/readthedocs.org/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rtfd/readthedocs.org/merges","archive_url":"https://api.github.com/repos/rtfd/readthedocs.org/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rtfd/readthedocs.org/downloads","issues_url":"https://api.github.com/repos/rtfd/readthedocs.org/issues{/number}","pulls_url":"https://api.github.com/repos/rtfd/readthedocs.org/pulls{/number}","milestones_url":"https://api.github.com/repos/rtfd/readthedocs.org/milestones{/number}","notifications_url":"https://api.github.com/repos/rtfd/readthedocs.org/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rtfd/readthedocs.org/labels{/name}","releases_url":"https://api.github.com/repos/rtfd/readthedocs.org/releases{/id}","deployments_url":"https://api.github.com/repos/rtfd/readthedocs.org/deployments","created_at":"2010-08-16T19:18:06Z","updated_at":"2018-09-11T04:15:36Z","pushed_at":"2018-09-11T05:15:20Z","git_url":"git://github.com/rtfd/readthedocs.org.git","ssh_url":"git@github.com:rtfd/readthedocs.org.git","clone_url":"https://github.com/rtfd/readthedocs.org.git","svn_url":"https://github.com/rtfd/readthedocs.org","homepage":"https://readthedocs.org/","size":51555,"stargazers_count":4608,"watchers_count":4608,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2509,"mirror_url":null,"archived":false,"open_issues_count":457,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":2509,"open_issues":457,"watchers":4608,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rtfd/readthedocs.org/pulls/4486"},"html":{"href":"https://github.com/rtfd/readthedocs.org/pull/4486"},"issue":{"href":"https://api.github.com/repos/rtfd/readthedocs.org/issues/4486"},"comments":{"href":"https://api.github.com/repos/rtfd/readthedocs.org/issues/4486/comments"},"review_comments":{"href":"https://api.github.com/repos/rtfd/readthedocs.org/pulls/4486/comments"},"review_comment":{"href":"https://api.github.com/repos/rtfd/readthedocs.org/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rtfd/readthedocs.org/pulls/4486/commits"},"statuses":{"href":"https://api.github.com/repos/rtfd/readthedocs.org/statuses/22d13c831e9219db73881aaef86e353d597889a7"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"stsewd"}}