Skip to content
Permalink
Browse files

Fix rst duplicate target names

  • Loading branch information...
arnaudveron committed Jul 18, 2019
1 parent 70e3303 commit 238f0fc7dbf799d5fb55e20cb94a8684825e9629
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/keywords.py
@@ -162,6 +162,10 @@ def template_rst(self, section=None):
fill="node."
if "template.cluster" in self.top.template_prefix:
fill="cluster."
if "template.secret" in self.top.template_prefix:
fill="secret."
if "template.cfg" in self.top.template_prefix:
fill="cfg."
s += ".. _%s%s.%s:\n\n" % (fill, section, self.keyword)

s += ':kw:`%s`\n' % self.keyword

0 comments on commit 238f0fc

Please sign in to comment.
You can’t perform that action at this time.