Unified · Split
| @@ -7,7 +7,7 @@ module Docs · 6 unmodified lines | ||
| 7 | 7 | end |
| 8 | 8 | |
| 9 | 9 | def root |
| 10 | − at_css('h3').remove | |
| 10 | + css('#methods + ul', 'h1', 'h2', 'li > ul').remove | |
| 11 | 11 | |
| 12 | 12 | # Remove skipped items |
| 13 | 13 | css('li > span').each do |node| |
| @@ -3,7 +3,7 @@ module Docs · 2 unmodified lines | ||
| 3 | 3 | class ContainerFilter < Filter |
| 4 | 4 | def call |
| 5 | 5 | if root_page? |
| 6 | − at_css '#classindex-section' | |
| 6 | + at_css 'main' | |
| 7 | 7 | else |
| 8 | 8 | container = at_css 'main' |
| 9 | 9 | |
| @@ -2,12 +2,12 @@ module Docs · 1 unmodified line | ||
| 2 | 2 | class Rdoc < FileScraper |
| 3 | 3 | self.abstract = true |
| 4 | 4 | self.type = 'rdoc' |
| 5 | − self.root_path = 'index.html' | |
| 5 | + self.root_path = 'table_of_contents.html' | |
| 6 | 6 | |
| 7 | 7 | html_filters.replace 'container', 'rdoc/container' |
| 8 | 8 | html_filters.push 'rdoc/entries', 'rdoc/clean_html', 'title' |
| 9 | 9 | |
| 10 | 10 | options[:title] = false |
| 11 | − options[:skip] = %w(table_of_contents.html) | |
| 11 | + options[:skip] = %w(index.html) | |
| 12 | 12 | end |
| 13 | 13 | end |