We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01ecfc6 commit d1fd227Copy full SHA for d1fd227
Rakefile
@@ -58,7 +58,7 @@ task :validate_sidebar_tree => [:build] do
58
# nuanced case -- that the url must be an exact match for its target page.
59
60
def check_url(url)
61
- if url.end_with? "/" then
+ if url.end_with?("/") then
62
raise "Imprecise target url '#{url}' in sidebar (did you mean '#{url[..-2]}'?)\n\n" unless File.directory?("_site#{url}")
63
else
64
raise "Imprecise target url '#{url}' in sidebar (did you mean '#{url}/'?)\n\n" unless File.file?("_site#{url}.html")
0 commit comments