{"action":"created","issue":{"url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/3627","repository_url":"https://api.github.com/repos/sphinx-doc/sphinx","labels_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/3627/labels{/name}","comments_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/3627/comments","events_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/3627/events","html_url":"https://github.com/sphinx-doc/sphinx/issues/3627","id":221967554,"node_id":"MDU6SXNzdWUyMjE5Njc1NTQ=","number":3627,"title":"Let warnings cause the build to fail but not to terminate","user":{"login":"anntzer","id":1322974,"node_id":"MDQ6VXNlcjEzMjI5NzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1322974?v=4","gravatar_id":"","url":"https://api.github.com/users/anntzer","html_url":"https://github.com/anntzer","followers_url":"https://api.github.com/users/anntzer/followers","following_url":"https://api.github.com/users/anntzer/following{/other_user}","gists_url":"https://api.github.com/users/anntzer/gists{/gist_id}","starred_url":"https://api.github.com/users/anntzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anntzer/subscriptions","organizations_url":"https://api.github.com/users/anntzer/orgs","repos_url":"https://api.github.com/users/anntzer/repos","events_url":"https://api.github.com/users/anntzer/events{/privacy}","received_events_url":"https://api.github.com/users/anntzer/received_events","type":"User","site_admin":false},"labels":[{"id":162422015,"node_id":"MDU6TGFiZWwxNjI0MjIwMTU=","url":"https://api.github.com/repos/sphinx-doc/sphinx/labels/cmdline","name":"cmdline","color":"FFFFFF","default":false},{"id":162407995,"node_id":"MDU6TGFiZWwxNjI0MDc5OTU=","url":"https://api.github.com/repos/sphinx-doc/sphinx/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":162407996,"node_id":"MDU6TGFiZWwxNjI0MDc5OTY=","url":"https://api.github.com/repos/sphinx-doc/sphinx/labels/help%20wanted","name":"help wanted","color":"159818","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/sphinx-doc/sphinx/milestones/1","html_url":"https://github.com/sphinx-doc/sphinx/milestone/1","labels_url":"https://api.github.com/repos/sphinx-doc/sphinx/milestones/1/labels","id":919553,"node_id":"MDk6TWlsZXN0b25lOTE5NTUz","number":1,"title":"some future version","description":null,"creator":{"login":"shimizukawa","id":151623,"node_id":"MDQ6VXNlcjE1MTYyMw==","avatar_url":"https://avatars1.githubusercontent.com/u/151623?v=4","gravatar_id":"","url":"https://api.github.com/users/shimizukawa","html_url":"https://github.com/shimizukawa","followers_url":"https://api.github.com/users/shimizukawa/followers","following_url":"https://api.github.com/users/shimizukawa/following{/other_user}","gists_url":"https://api.github.com/users/shimizukawa/gists{/gist_id}","starred_url":"https://api.github.com/users/shimizukawa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shimizukawa/subscriptions","organizations_url":"https://api.github.com/users/shimizukawa/orgs","repos_url":"https://api.github.com/users/shimizukawa/repos","events_url":"https://api.github.com/users/shimizukawa/events{/privacy}","received_events_url":"https://api.github.com/users/shimizukawa/received_events","type":"User","site_admin":false},"open_issues":74,"closed_issues":50,"state":"open","created_at":"2015-01-02T11:45:33Z","updated_at":"2018-08-27T17:45:51Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2017-04-15T19:25:40Z","updated_at":"2018-08-27T17:45:50Z","closed_at":"2018-08-27T17:45:50Z","author_association":"CONTRIBUTOR","body":"Subject: sphinx-build should be able to treat warnings as errors without immediately terminating the build\r\n\r\n### Problem\r\nsphinx-build should gain a switch that allows warnings to cause a return value !=0 (i.e., failed build) without immediately terminating the build, so that as all warnings and the first \"true\" error all get reported.\r\nThis is useful for CI on docs which are relatively long to build (e.g. matplotlib), which right now need to be re-run after each warning is fixed to get the next warning (of course, one could locally just not use the -W switch, but it may be tricky for contributors to build docs locally as we test a variety of versions of python and numpy and have non-python dependencies).\r\n\r\n#### Procedure to reproduce the problem\r\n```\r\nsphinx-build -W\r\n```\r\non a doc that generates warnings\r\n\r\n### Environment info\r\nany"},"comment":{"url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/comments/416308816","html_url":"https://github.com/sphinx-doc/sphinx/issues/3627#issuecomment-416308816","issue_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/3627","id":416308816,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjMwODgxNg==","user":{"login":"anntzer","id":1322974,"node_id":"MDQ6VXNlcjEzMjI5NzQ=","avatar_url":"https://avatars0.githubusercontent.com/u/1322974?v=4","gravatar_id":"","url":"https://api.github.com/users/anntzer","html_url":"https://github.com/anntzer","followers_url":"https://api.github.com/users/anntzer/followers","following_url":"https://api.github.com/users/anntzer/following{/other_user}","gists_url":"https://api.github.com/users/anntzer/gists{/gist_id}","starred_url":"https://api.github.com/users/anntzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anntzer/subscriptions","organizations_url":"https://api.github.com/users/anntzer/orgs","repos_url":"https://api.github.com/users/anntzer/repos","events_url":"https://api.github.com/users/anntzer/events{/privacy}","received_events_url":"https://api.github.com/users/anntzer/received_events","type":"User","site_admin":false},"created_at":"2018-08-27T17:45:50Z","updated_at":"2018-08-27T17:45:50Z","author_association":"CONTRIBUTOR","body":"Closed by #5194."}}
{"actor":{"display_login":"anntzer"}}