Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/puppet_references/openbolt/docs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def copy_reference_pages
# leading H1 (the placement make_header uses for the other collections).
# Falls back to after the YAML front matter, then to the top of the file.
def insert_generated_note(content)
note = PuppetReferences::Util.generated_note('OpenBolt', @commit)
note = PuppetReferences::Util.generated_note('OpenBolt', PuppetReferences.version_commit)
if (m = content.match(/\A(---\n.*?\n---\n\n)?(# [^\n]*\n)/m))
"#{m[1]}#{m[2]}\n#{note}\n#{m.post_match}"
elsif (m = content.match(/\A(---\n.*?\n---\n)/m))
Expand Down