Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
14 lines (9 sloc) 205 Bytes
#!/usr/bin/env ruby
require 'rubygems'
require 'json'
files = Dir.chdir('_site') do
Dir.glob('**/*.html').map{ |f| f.chomp('.html') }
end
File.open("html.json","w") do |f|
f.write(files.to_json)
end