Update C and C++ documentations

Fixes #515.
This commit is contained in:
Thibaut Courouble 2016-10-30 17:34:00 -04:00
parent 214c06ca9f
commit fb20268e36
2 changed files with 4 additions and 2 deletions

View file

@ -16,7 +16,8 @@ module Docs
options[:skip_patterns] = [/experimental/]
options[:fix_urls] = ->(url) do
url.sub! %r{\A.+/http%3A/}, "http://"
url.sub! %r{\A.+/http%3A/}, 'http://'
url.sub! 'http://en.cppreference.com/upload.cppreference.com', 'http://upload.cppreference.com'
url
end

View file

@ -24,7 +24,8 @@ module Docs
options[:only_patterns] = [/\.html\z/]
options[:fix_urls] = ->(url) do
url.sub! %r{\A.+/http%3A/}, "http://"
url.sub! %r{\A.+/http%3A/}, 'http://'
url.sub! 'http://en.cppreference.com/upload.cppreference.com', 'http://upload.cppreference.com'
url
end