Fix a redirect loop for /documentation/functions (#712)

Closes #709
This commit is contained in:
Natalie Weizenbaum 2023-04-05 13:18:38 -07:00 committed by GitHub
parent fbc043a91b
commit 94d13dd67c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,7 +57,7 @@ for dir in ['docs/yardoc', 'documentation'] do
redirect "#{dir}/file.SCSS_FOR_SASS_USERS.html", to: '/documentation/syntax'
redirect "#{dir}/Sass/Script/Functions.html", to: '/documentation/modules'
redirect "#{dir}/Sass/Script/Functions.html", to: '/documentation/modules'
redirect "#{dir}/functions.html", to: '/documentation/functions'
redirect "#{dir}/functions.html", to: '/documentation/modules'
redirect "#{dir}/functions/css.html", to: '/documentation/at-rules/function#plain-css-functions'
Dir['source/documentation/modules/*.html.md.erb'].each do |file|