[devdocsgjs/main: 55/69] Update C and C++ documentation
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 55/69] Update C and C++ documentation
- Date: Mon, 12 Sep 2022 18:46:55 +0000 (UTC)
commit 4f2c2bd9fc4f210ab91aa7350c964024fe474067
Author: Simon Legner <Simon Legner gmail com>
Date: Tue Sep 6 20:44:35 2022 +0200
Update C and C++ documentation
assets/stylesheets/pages/_cppref.scss | 1 +
lib/docs/scrapers/cppref/c.rb | 3 ++-
lib/docs/scrapers/cppref/cpp.rb | 1 +
3 files changed, 4 insertions(+), 1 deletion(-)
---
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'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]