Parcourir la source

Update C and C++ documentation

Simon Legner il y a 3 ans
Parent
commit
4f2c2bd9fc

+ 1 - 0
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; }
 

+ 2 - 1
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'
 

+ 1 - 0
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'