{"action":"opened","issue":{"url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/5146","repository_url":"https://api.github.com/repos/sphinx-doc/sphinx","labels_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/5146/labels{/name}","comments_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/5146/comments","events_url":"https://api.github.com/repos/sphinx-doc/sphinx/issues/5146/events","html_url":"https://github.com/sphinx-doc/sphinx/issues/5146","id":338594367,"node_id":"MDU6SXNzdWUzMzg1OTQzNjc=","number":5146,"title":"Strange warning","user":{"login":"fredrik-1","id":29602156,"node_id":"MDQ6VXNlcjI5NjAyMTU2","avatar_url":"https://avatars3.githubusercontent.com/u/29602156?v=4","gravatar_id":"","url":"https://api.github.com/users/fredrik-1","html_url":"https://github.com/fredrik-1","followers_url":"https://api.github.com/users/fredrik-1/followers","following_url":"https://api.github.com/users/fredrik-1/following{/other_user}","gists_url":"https://api.github.com/users/fredrik-1/gists{/gist_id}","starred_url":"https://api.github.com/users/fredrik-1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fredrik-1/subscriptions","organizations_url":"https://api.github.com/users/fredrik-1/orgs","repos_url":"https://api.github.com/users/fredrik-1/repos","events_url":"https://api.github.com/users/fredrik-1/events{/privacy}","received_events_url":"https://api.github.com/users/fredrik-1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-05T14:17:06Z","updated_at":"2018-07-05T14:17:06Z","closed_at":null,"author_association":"NONE","body":"I am working with the matplotlib documentation and wrote a template that generate for example the following file, `_as_gen/matplotlib.transforms.Affine2D.rst`. \r\n```\r\nmatplotlib.transforms.Affine2D\r\n==============================\r\n\r\n.. currentmodule:: matplotlib.transforms\r\n\r\n.. autoclass:: Affine2D\r\n   :no-members:\r\n   :show-inheritance:\r\n\r\n\r\n\r\n\r\n.. rubric:: Methods\r\n\r\n.. autosummary::\r\n   :template: autosummary.rst\r\n   :toctree:\r\n   :nosignatures:\r\n\r\n   Affine2D.clear\r\n   Affine2D.contains_branch\r\n   Affine2D.contains_branch_seperately\r\n   Affine2D.from_values\r\n   Affine2D.frozen\r\n   Affine2D.get_affine\r\n   Affine2D.get_matrix\r\n   Affine2D.identity\r\n   Affine2D.invalidate\r\n   Affine2D.inverted\r\n   Affine2D.matrix_from_values\r\n   Affine2D.rotate\r\n   Affine2D.rotate_around\r\n   Affine2D.rotate_deg\r\n   Affine2D.rotate_deg_around\r\n   Affine2D.scale\r\n   Affine2D.set\r\n   Affine2D.set_children\r\n   Affine2D.set_matrix\r\n   Affine2D.skew\r\n   Affine2D.skew_deg\r\n   Affine2D.to_values\r\n   Affine2D.transform\r\n   Affine2D.transform_affine\r\n   Affine2D.transform_angles\r\n   Affine2D.transform_bbox\r\n   Affine2D.transform_non_affine\r\n   Affine2D.transform_path\r\n   Affine2D.transform_path_affine\r\n   Affine2D.transform_path_non_affine\r\n   Affine2D.transform_point\r\n   Affine2D.translate\r\n```\r\n\r\nThe template and rendered html pages seems to work as expected but I get the following warning \r\n```\r\nmatplotlib\\doc\\api\\_as_gen\\matplotlib.transforms.Affine2D.rst:2: WARNING: Literal block expected; none found.\r\n```\r\n\r\nThe overview pages should be equal except for the names but it seems that I only get the warning for some of them. I have tried many different versions with small changes in the template but nothing seems to work without the warning. \r\n\r\nSome mistake that I cant see or some kind of bug?\r\n \r\n\r\n### Environment info\r\n- OS: windows and circleCi\r\n- Python version: 3.5, 3.6\r\n- Sphinx version: \r\n- <Extra tools e.g.: Browser, tex or something else>\r\n"}}
{"actor":{"display_login":"fredrik-1"}}