From 4d99f8d560bfe2842ce162dc835050c3d7e61990 Mon Sep 17 00:00:00 2001 From: Simon Legner Date: Thu, 29 Apr 2021 22:50:48 +0200 Subject: [PATCH] Update GCC documentation (11.1.0) --- lib/docs/scrapers/gnu/gcc.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/docs/scrapers/gnu/gcc.rb b/lib/docs/scrapers/gnu/gcc.rb index 6b4f3815..7de85af0 100644 --- a/lib/docs/scrapers/gnu/gcc.rb +++ b/lib/docs/scrapers/gnu/gcc.rb @@ -46,6 +46,16 @@ module Docs '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 self.release = '10.2.0' self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/"