[devdocsgjs/main: 863/1867] gcc: add versions 8 and 9
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 863/1867] gcc: add versions 8 and 9
- Date: Fri, 19 Nov 2021 23:47:33 +0000 (UTC)
commit 8da3af8cc1019b42ae58df845df353203650a15f
Author: Simon Legner <Simon Legner gmail com>
Date: Wed Aug 21 15:53:32 2019 +0200
gcc: add versions 8 and 9
lib/docs/scrapers/gnu/gcc.rb | 28 ++++++++++++++++++++++++++--
1 file changed, 26 insertions(+), 2 deletions(-)
---
diff --git a/lib/docs/scrapers/gnu/gcc.rb b/lib/docs/scrapers/gnu/gcc.rb
index 2aa9da39..9cfcf6a3 100644
--- a/lib/docs/scrapers/gnu/gcc.rb
+++ b/lib/docs/scrapers/gnu/gcc.rb
@@ -46,13 +46,37 @@ module Docs
'Wtrigraphs.html' => 'Invocation.html'
}
+ version '9' do
+ self.release = '9.2.0'
+ self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/"
+ end
+
+ version '9 CPP' do
+ self.release = '9.2.0'
+ self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/cpp/"
+
+ options[:replace_paths] = CPP_PATHS
+ end
+
+ version '8' do
+ self.release = '8.3.0'
+ self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/"
+ end
+
+ version '8 CPP' do
+ self.release = '8.3.0'
+ self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/cpp/"
+
+ options[:replace_paths] = CPP_PATHS
+ end
+
version '7' do
- self.release = '7.3.0'
+ self.release = '7.4.0'
self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/"
end
version '7 CPP' do
- self.release = '7.3.0'
+ self.release = '7.4.0'
self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/cpp/"
options[:replace_paths] = CPP_PATHS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]