[Groonga-commit] groonga/groonga [master] [doc] fix top page link.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 7月 7日 (木) 18:15:59 JST


Kouhei Sutou	2011-07-07 09:15:59 +0000 (Thu, 07 Jul 2011)

  New Revision: 5d2add42425b4aee2f3526219061f6aabc8a3e8c

  Log:
    [doc] fix top page link.

  Modified files:
    tools/prepare-sphinx-html.rb

  Modified: tools/prepare-sphinx-html.rb (+1 -1)
===================================================================
--- tools/prepare-sphinx-html.rb    2011-07-07 09:08:46 +0000 (aebb78a)
+++ tools/prepare-sphinx-html.rb    2011-07-07 09:15:59 +0000 (1d90bb9)
@@ -40,7 +40,7 @@ def fix_html_link(html, language)
   end
   html.gsub(/(id="top-link" href=)"(.+?)"/) do
     prefix = $1
-    top_path = $2.gsub(/\/index\.html\z/, '../')
+    top_path = $2.gsub(/\/index\.html\z/, '/')
     top_path = "./" if ["index.html", "#"].include?(top_path)
     "#{prefix}\"#{top_path}../\""
   end




Groonga-commit メーリングリストの案内
Back to archive index