Closes #255.
Unified · Split
| @@ -3,7 +3,7 @@ module Docs · 2 unmodified lines | |||
| 3 | self.name = 'C++' | 3 | self.name = 'C++' |
| 4 | self.slug = 'cpp' | 4 | self.slug = 'cpp' |
| 5 | self.type = 'c' | 5 | self.type = 'c' |
| 6 | self.dir = '/Users/Thibaut/DevDocs/Docs/C/en/cpp' | 6 | self.dir = '/Users/Thibaut/DevDocs/Docs/C/cpp' |
| 7 | self.base_url = 'http://en.cppreference.com/w/cpp/' | 7 | self.base_url = 'http://en.cppreference.com/w/cpp/' |
| 8 | self.root_path = 'header.html' | 8 | self.root_path = 'header.html' |
| 9 | 9 | ||
| @@ -20,6 +20,7 @@ module Docs · 10 unmodified lines | |||
| 20 | regex/ecmascript.html | 20 | regex/ecmascript.html |
| 21 | regex/regex_token_iterator/operator_cmp.html | 21 | regex/regex_token_iterator/operator_cmp.html |
| 22 | ) | 22 | ) |
| 23 | options[:skip_patterns] = [/experimental/] | ||
| 23 | options[:only_patterns] = [/\.html\z/] | 24 | options[:only_patterns] = [/\.html\z/] |
| 24 | 25 | ||
| 25 | options[:fix_urls] = ->(url) do | 26 | options[:fix_urls] = ->(url) do |