From c2b85b923f193b5558485504c6830cc2c5f60916 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Mon, 25 Jun 2018 06:38:32 +0200 Subject: [PATCH] doc: fix list with add_object_type This seems to have been accidentally broken in eaaab75ec. --- sphinx/application.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sphinx/application.py b/sphinx/application.py index cfaba1161..937f78323 100644 --- a/sphinx/application.py +++ b/sphinx/application.py @@ -850,8 +850,9 @@ class Sphinx(object): object. It will automatically add index entries if *indextemplate* is nonempty; if given, it must contain exactly one instance of ``%s``. See the example below for how the template will be - interpreted. * Create a new role (called *rolename*) to - cross-reference to these object descriptions. + interpreted. + - Create a new role (called *rolename*) to cross-reference to these + object descriptions. - If you provide *parse_node*, it must be a function that takes a string and a docutils node, and it must populate the node with children parsed from the string. It must then return the name of the