From 77400b2589baec86199b4eb83f12a9dd004bccc9 Mon Sep 17 00:00:00 2001 From: Doug Hellmann Date: Wed, 24 Feb 2016 12:17:45 -0500 Subject: [PATCH] remove redundant call to set explicit target Setting the target multiple times for the group heading is redundant and introduces issues with doc sets where there is already a title or other node with the same target id. Remove the call. Change-Id: Ia024722d05ce8adaa57c58559cb42f2913653bb9 Closes-Bug: #1549106 Signed-off-by: Doug Hellmann --- oslo_config/sphinxext.py | 1 - 1 file changed, 1 deletion(-) diff --git a/oslo_config/sphinxext.py b/oslo_config/sphinxext.py index 27c743ed..a4e6b72c 100644 --- a/oslo_config/sphinxext.py +++ b/oslo_config/sphinxext.py @@ -346,7 +346,6 @@ class ConfigGroup(rst.Directive): nested_parse_with_titles(self.state, result, node) first_child = node.children[0] - self.state.document.note_explicit_target(first_child) # Compute the normalized target and set the node to have that # as an id