chdir into site/_docs to update history. [ci skip]
This commit is contained in:
parent
30da34358b
commit
2642bd7415
2
Rakefile
2
Rakefile
|
@ -204,7 +204,7 @@ namespace :site do
|
||||||
"permalink" => "/docs/history/",
|
"permalink" => "/docs/history/",
|
||||||
"prev_section" => "contributing"
|
"prev_section" => "contributing"
|
||||||
}
|
}
|
||||||
Dir.chdir('site/docs/') do
|
Dir.chdir('site/_docs/') do
|
||||||
File.open("history.md", "w") do |file|
|
File.open("history.md", "w") do |file|
|
||||||
file.write("#{front_matter.to_yaml}---\n\n")
|
file.write("#{front_matter.to_yaml}---\n\n")
|
||||||
file.write(converted_history(history_file))
|
file.write(converted_history(history_file))
|
||||||
|
|
Loading…
Reference in New Issue