Skip to content

Commit ffd04df

Browse files
committed
Update C++ documentation
Closes freeCodeCamp#255.
1 parent 2ce1e32 commit ffd04df

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎lib/docs/scrapers/cpp.rb‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ class Cpp < FileScraper
33
self.name = 'C++'
44
self.slug = 'cpp'
55
self.type = 'c'
6-
self.dir = '/Users/Thibaut/DevDocs/Docs/C/en/cpp'
6+
self.dir = '/Users/Thibaut/DevDocs/Docs/C/cpp'
77
self.base_url = 'http://en.cppreference.com/w/cpp/'
88
self.root_path = 'header.html'
99

@@ -20,6 +20,7 @@ class Cpp < FileScraper
2020
regex/ecmascript.html
2121
regex/regex_token_iterator/operator_cmp.html
2222
)
23+
options[:skip_patterns] = [/experimental/]
2324
options[:only_patterns] = [/\.html\z/]
2425

2526
options[:fix_urls] = ->(url) do

0 commit comments

Comments
 (0)