summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Hellmann <doug@doughellmann.com>2016-02-24 12:17:45 -0500
committerDoug Hellmann <doug@doughellmann.com>2016-02-24 12:20:28 -0500
commit77400b2589baec86199b4eb83f12a9dd004bccc9 (patch)
tree17e4ed3c9ed8f59d06eaaf35cf9d0a695a788cbd
parent5ab176e2793ea86592a78647ed71ab49a39cb5d3 (diff)
downloadoslo-config-77400b2589baec86199b4eb83f12a9dd004bccc9.tar.gz
remove redundant call to set explicit target3.9.0
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>
-rw-r--r--oslo_config/sphinxext.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/oslo_config/sphinxext.py b/oslo_config/sphinxext.py
index 27c743e..a4e6b72 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