Skip to content

Commit 63179e2

Browse files
committed
fixup! Rakefile
1 parent 24b8282 commit 63179e2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Rakefile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,9 @@ def generate_src(target_version: nil)
6868

6969
cd target_dir do
7070
cp INDEX_HTML, 'index.html'
71-
7271
return if target_version.nil?
7372

74-
# Replace absolute path in navigation.html
73+
# Prepend version number to the absolute path in navigation.html
7574
content = File.read('navigation.html')
7675
content.gsub!('<a href="/', "<a href=\"/#{target_version}/")
7776
File.write('navigation.html', content)

0 commit comments

Comments
 (0)