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 <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2016-02-24 12:17:45 -05:00
parent 5ab176e279
commit 77400b2589

View File

@ -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