{"action":"closed","issue":{"url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/2041","repository_url":"https://api.github.com/repos/sphinx-doc/sphinx","labels_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/2041/labels{/name}","comments_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/2041/comments","events_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/2041/events","html_url":"https://github.com/sphinx-doc/sphinx/issues/2041","id":106545862,"number":2041,"title":"docutils errors do not cause a Sphinx error with a non-zero exit code","user":{"login":"jayvdb","id":15092,"avatar_url":"https://avatars.githubusercontent.com/u/15092?v=3","gravatar_id":"","url":"https://api.github.com/users/jayvdb","html_url":"https://github.com/jayvdb","followers_url":"https://api.github.com/users/jayvdb/followers","following_url":"https://api.github.com/users/jayvdb/following{/other_user}","gists_url":"https://api.github.com/users/jayvdb/gists{/gist_id}","starred_url":"https://api.github.com/users/jayvdb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jayvdb/subscriptions","organizations_url":"https://api.github.com/users/jayvdb/orgs","repos_url":"https://api.github.com/users/jayvdb/repos","events_url":"https://api.github.com/users/jayvdb/events{/privacy}","received_events_url":"https://api.github.com/users/jayvdb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-09-15T12:35:47Z","updated_at":"2016-02-11T05:17:09Z","closed_at":"2016-02-11T05:17:09Z","body":"If there are errors emitted by docutils, they appear in the Sphinx output as \"....: ERROR: ....\" but they are not treated as a Sphinx error unless `-W` is enabled.\r\n\r\nThe workaround is to create `docutils.conf` with\r\n```\r\n[general]\r\nhalt_level: error\r\n```"}}