Skip to content

Instantly share code, notes, and snippets.

@guenter
Created February 28, 2014 01:39
Show Gist options
  • Save guenter/9263548 to your computer and use it in GitHub Desktop.
Save guenter/9263548 to your computer and use it in GitHub Desktop.
Index: Rakefile
===================================================================
--- Rakefile (revision 1572742)
+++ Rakefile (working copy)
@@ -36,7 +36,7 @@
Dir.glob('*.md').each { |doc|
puts "working on: #{doc}"
IO.write(doc, File.open(doc) { |f|
- f.read.gsub(/\((.*)(\.md)\)/, '(\1)')
+ f.read.gsub(/\((.*)(\.md)\)/, '(/documentation/latest/\1/)')
})
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment