Skip to content

Commit

Permalink
don't generate scripts.html anymore, it's assembled dynamically
Browse files Browse the repository at this point in the history
  • Loading branch information
bronson committed Oct 23, 2011
1 parent a08a3bc commit 2a23a35
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 66 deletions.
7 changes: 7 additions & 0 deletions TODO
@@ -1,3 +1,10 @@
What happens if we try to tag the same tag twice?

WTF happened to 2387? Its description is now <td>Wisely add </td>?

Also https://github.com/vim-scripts/DBGp-client--Lancien is jacked


push repos/dbext.vim
~/vim-scraper/repos/dbext.vim.git$ git push origin master
Counting objects: 17, done.
Expand Down
6 changes: 0 additions & 6 deletions scraper
Expand Up @@ -487,12 +487,6 @@ def generate_docs
doc_dir = 'vim-scripts.github.com'
Dir.mkdir doc_dir unless test ?d, doc_dir

index_template = Erubis::Eruby.new(File.new(File.join('views', 'scripts.html.erb')).read)
File.open("#{doc_dir}/vim/scripts.html", 'w') do |f|
f.write index_template.result(:scripts => good_scripts)
end


File.open("#{doc_dir}/api/scripts.json", 'w') do |f|
f.write good_scripts.map { |s| s.name }.to_json
end
Expand Down
45 changes: 0 additions & 45 deletions views/script.html.erb

This file was deleted.

15 changes: 0 additions & 15 deletions views/scripts.html.erb

This file was deleted.

0 comments on commit 2a23a35

Please sign in to comment.