Show source and used version in auto generated content#131
Conversation
Signed-off-by: Martin Alfke <ma@betadots.de>
|
This is mostly Claude's idea but it seems sound: since def self.make_header(data, repo, commit)
generated_at = "...based on version #{commit}..." # use the param, not $version_commit
endThen in I've tested this locally and it produces the expected output. If it's helpful, I've put a working version on a branch: add_information_on_autogenerate...miharp:openvox-docs:fix/pr131-global-var-refactor |
|
@miharp I like that solution more than using global variables in Ruby :) |
|
This is better than my idea. Please make a PR from your branch. |
Update to not use global variables Based on @miharp idea: #131 (comment) Co-authored-by: Claude <noreply@anthropic.com> Signed-off-by: Martin Alfke <ma@betadots.de>
Short description
Example: Show
instead of
Checklist
I have:
Signed-off-byannotation to each of my commits