incubator-callback-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fil...@apache.org
Subject [1/7] git commit: Fix references to index.html in Keyword Index.
Date Sat, 28 Jan 2012 00:40:23 GMT
Updated Branches:
  refs/heads/master ff76e1b34 -> 3c312cbc0


Fix references to index.html in Keyword Index.


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/commit/19eb769a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/tree/19eb769a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/diff/19eb769a

Branch: refs/heads/master
Commit: 19eb769ac92b5cd25909cc363d9ef1868106a7bd
Parents: 36be3a5
Author: Michael Brooks <michael@michaelbrooks.ca>
Authored: Thu Jan 26 21:42:11 2012 -0800
Committer: Fil Maj <filip.maj@nitobi.com>
Committed: Fri Jan 27 16:38:38 2012 -0800

----------------------------------------------------------------------
 lib/phonegap/update_keyword_index.rb |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-docs/blob/19eb769a/lib/phonegap/update_keyword_index.rb
----------------------------------------------------------------------
diff --git a/lib/phonegap/update_keyword_index.rb b/lib/phonegap/update_keyword_index.rb
index c981a1c..3e3643a 100644
--- a/lib/phonegap/update_keyword_index.rb
+++ b/lib/phonegap/update_keyword_index.rb
@@ -28,8 +28,7 @@ class UpdateKeywordIndex
     
     # Update referenced to index.md.html
     # Then save
-    File.open(filename, 'w') { |file| file.write doc.to_html.gsub('/index.md.html', '/index.html')
}
-    
+    File.open(filename, 'w') { |file| file.write doc.to_html.gsub('"index.md.html', '"index.html')
}
     return true
   end
 end
\ No newline at end of file


Mime
View raw message