Added more comments as per mattr.
This commit is contained in:
parent
db1eb14cb2
commit
4440f273e0
2
Rakefile
2
Rakefile
|
@ -152,7 +152,9 @@ namespace :site do
|
||||||
task :history do
|
task :history do
|
||||||
# First lets go ahead and format the file correctly (mainly bullet points)
|
# First lets go ahead and format the file correctly (mainly bullet points)
|
||||||
puts "Generating the History doc"
|
puts "Generating the History doc"
|
||||||
|
# Checking to make sure the History file exists in the root of the repo
|
||||||
if File.exist?("History.markdown")
|
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")
|
file_time = File.read("History.markdown")
|
||||||
# Replacing the contents of the file for the markdown bullets & issue links
|
# Replacing the contents of the file for the markdown bullets & issue links
|
||||||
rep_bullets = file_time.gsub(/\s{2}\*{1}/, "-")
|
rep_bullets = file_time.gsub(/\s{2}\*{1}/, "-")
|
||||||
|
|
Loading…
Reference in New Issue