Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove code from sitemap

  • Loading branch information...
commit 590ff593e26ebebaa95846357264a38a0884f526 1 parent 89a277b
@jbrownlee authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  web/generate.rb
View
3  web/generate.rb
@@ -1504,7 +1504,8 @@ def create_sitemap
Dir.entries(OUTPUT_DIR+"/"+file).each do |subfile|
next if subfile == "." or subfile == ".."
if File.extname(subfile) == ".rb"
- add_code_url_to_sitemap(s, host, dir, "#{file}/#{subfile}")
+ # add_code_url_to_sitemap(s, host, dir, "#{file}/#{subfile}")
+ next
elsif File.extname(subfile) == ".html"
add_url_to_sitemap(s, host, dir, "#{file}/#{subfile}")
end
Please sign in to comment.
Something went wrong with that request. Please try again.