Added more comments as per mattr.

This commit is contained in:
zachgersh 2013-05-28 22:39:37 -07:00
parent db1eb14cb2
commit 4440f273e0
1 changed files with 2 additions and 0 deletions

View File

@ -152,7 +152,9 @@ namespace :site do
task :history do
# First lets go ahead and format the file correctly (mainly bullet points)
puts "Generating the History doc"
# Checking to make sure the History file exists in the root of the repo
if File.exist?("History.markdown")
# Read the file and save to a variable so we can do the replacements
file_time = File.read("History.markdown")
# Replacing the contents of the file for the markdown bullets & issue links
rep_bullets = file_time.gsub(/\s{2}\*{1}/, "-")