Add RFC 4918 to HTTP documentation

pull/501/head
Thibaut Courouble 8 years ago
parent 50e138bd67
commit c7af9e65d1

@ -22,6 +22,11 @@ module Docs
[14], [14],
[] []
], ],
'rfc4918' => [
[],
[11],
[]
],
'rfc7230' => [ 'rfc7230' => [
(2..9).to_a, (2..9).to_a,
[], [],

@ -3,11 +3,12 @@ module Docs
self.name = 'HTTP' self.name = 'HTTP'
self.type = 'rfc' self.type = 'rfc'
self.base_url = 'https://tools.ietf.org/html/' 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) rfc7232 rfc7233 rfc7234 rfc7235)
html_filters.push 'http/clean_html', 'http/entries' html_filters.push 'http/clean_html', 'http/entries'
options[:container] = '.content'
options[:skip_links] = true options[:skip_links] = true
options[:attribution] = <<-HTML options[:attribution] = <<-HTML
&copy; document authors. All rights reserved. &copy; document authors. All rights reserved.

Loading…
Cancel
Save