diff --git a/lib/docs/filters/http/entries.rb b/lib/docs/filters/http/entries.rb index d4893529..e08c43be 100644 --- a/lib/docs/filters/http/entries.rb +++ b/lib/docs/filters/http/entries.rb @@ -22,6 +22,11 @@ module Docs [14], [] ], + 'rfc4918' => [ + [], + [11], + [] + ], 'rfc7230' => [ (2..9).to_a, [], diff --git a/lib/docs/scrapers/http.rb b/lib/docs/scrapers/http.rb index 7d7e50c5..2bca45dd 100644 --- a/lib/docs/scrapers/http.rb +++ b/lib/docs/scrapers/http.rb @@ -3,11 +3,12 @@ module Docs self.name = 'HTTP' self.type = 'rfc' self.base_url = 'https://tools.ietf.org/html/' - self.initial_paths = %w(rfc2616 rfc7230 rfc7231 + self.initial_paths = %w(rfc2616 rfc4918 rfc7230 rfc7231 rfc7232 rfc7233 rfc7234 rfc7235) html_filters.push 'http/clean_html', 'http/entries' + options[:container] = '.content' options[:skip_links] = true options[:attribution] = <<-HTML © document authors. All rights reserved.