diff --git a/assets/stylesheets/pages/_cppref.scss b/assets/stylesheets/pages/_cppref.scss index 8af559bb..f50b297d 100644 --- a/assets/stylesheets/pages/_cppref.scss +++ b/assets/stylesheets/pages/_cppref.scss @@ -3,6 +3,7 @@ > h4 { @extend %block-label, %label-blue; } .fmbox { @extend %note; } code, .t-mark, .t-mark-rev { @extend %label; } + .t-cc { @extend %code; } .t-li1 { margin: 0 0 1em; } diff --git a/lib/docs/scrapers/cppref/c.rb b/lib/docs/scrapers/cppref/c.rb index faa48fb3..1d460c41 100644 --- a/lib/docs/scrapers/cppref/c.rb +++ b/lib/docs/scrapers/cppref/c.rb @@ -1,8 +1,9 @@ module Docs class C < Cppref - self.name = 'c' + self.name = 'C' self.slug = 'c' self.base_url = 'https://en.cppreference.com/w/c/' + # release = '2022-09-06' html_filters.insert_before 'cppref/clean_html', 'c/entries' diff --git a/lib/docs/scrapers/cppref/cpp.rb b/lib/docs/scrapers/cppref/cpp.rb index 4f259729..12fefe45 100644 --- a/lib/docs/scrapers/cppref/cpp.rb +++ b/lib/docs/scrapers/cppref/cpp.rb @@ -3,6 +3,7 @@ module Docs self.name = 'C++' self.slug = 'cpp' self.base_url = 'https://en.cppreference.com/w/cpp/' + # release = '2022-09-06' html_filters.insert_before 'cppref/clean_html', 'cpp/entries'