Browse Source

Update GCC documentation (11.1.0)

Simon Legner 4 years ago
parent
commit
4d99f8d560
1 changed files with 10 additions and 0 deletions
  1. 10 0
      lib/docs/scrapers/gnu/gcc.rb

+ 10 - 0
lib/docs/scrapers/gnu/gcc.rb

@@ -46,6 +46,16 @@ module Docs
       'Wtrigraphs.html' => 'Invocation.html'
       'Wtrigraphs.html' => 'Invocation.html'
     }
     }
 
 
+    version '11' do
+      self.release = '11.1.0'
+      self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/"
+    end
+
+    version '11 CPP' do
+      self.release = '11.1.0'
+      self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/cpp/"
+    end
+
     version '10' do
     version '10' do
       self.release = '10.2.0'
       self.release = '10.2.0'
       self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/"
       self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/"