Skip to content
Permalink
Browse files

Fix cluster rst files pointing to service rst examples

  • Loading branch information...
arnaudveron committed Jul 18, 2019
1 parent dcb12e1 commit 70e3303e691d4103529ad5c3606648d2f227948e
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/keywords.py
@@ -268,7 +268,7 @@ def _template_rst(self, rtype, section, write=False):
fpath = os.path.join(dpath, self.top.template_prefix+section+".rst")
s = section + "\n"
s += "*" * len(section) + "\n\n"
if self.top.template_prefix != "template.node." and len(section.split('.')) > 1:
if self.top.template_prefix != "template.node." and self.top.template_prefix != "template.cluster." and len(section.split('.')) > 1:
s += ".. include:: template.service." + section + ".example\n\n"
for keyword in sorted(self.getkeys(rtype)):
s += keyword.template(fmt="rst", section=section)

0 comments on commit 70e3303

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