Skip to content

Commit

Permalink
Add header before content #24
Browse files Browse the repository at this point in the history
  • Loading branch information
pintergreg committed Nov 11, 2024
1 parent d8e091c commit d83b15d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lectures/build_summary.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ def collect_summaries()

FileUtils.remove_file "summary_full.md", force=true

File.open("summary_full.md", "a") do |fp|
File.readlines("summary_header.md").each do |line|
fp.write line
end
end

summaries = collect_summaries
summaries.each do |summary|
preamble = false
Expand Down

0 comments on commit d83b15d

Please sign in to comment.