Add a redirect for the "index" link in the YARD docs.

This commit is contained in:
Nathan Weizenbaum 2013-10-13 17:54:46 -04:00
parent c04f77eb02
commit 00436537a8

View File

@ -11,6 +11,7 @@ else
r301 '/tutorial.html', '/guide'
r301 '/download.html', '/install'
r301 '/documentation', '/documentation/'
r301 '/documentation/_index.html', '/documentation/'
rewrite(%r{^(.*)/([^/.]+)$}, lambda do |match, rack_env|
path = "#{File.dirname(__FILE__)}/build#{match[0]}"