We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0904477 + 40268a2 commit 1f52f7bCopy full SHA for 1f52f7b
1 file changed
lib/puppet_references/openbolt/docs.rb
@@ -59,7 +59,7 @@ def copy_reference_pages
59
# leading H1 (the placement make_header uses for the other collections).
60
# Falls back to after the YAML front matter, then to the top of the file.
61
def insert_generated_note(content)
62
- note = PuppetReferences::Util.generated_note('OpenBolt', @commit)
+ note = PuppetReferences::Util.generated_note('OpenBolt', PuppetReferences.version_commit)
63
if (m = content.match(/\A(---\n.*?\n---\n\n)?(# [^\n]*\n)/m))
64
"#{m[1]}#{m[2]}\n#{note}\n#{m.post_match}"
65
elsif (m = content.match(/\A(---\n.*?\n---\n)/m))
0 commit comments