Update GCC documentation (13.1.0)

Fixes #1978.
pull/2020/head
Simon Legner 2 years ago
parent fe323ee57c
commit daaa16fd8e

@ -46,6 +46,16 @@ module Docs
'Wtrigraphs.html' => 'Invocation.html' 'Wtrigraphs.html' => 'Invocation.html'
} }
version '13' do
self.release = '13.1.0'
self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/"
end
version '13 CPP' do
self.release = '13.1.0'
self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/cpp/"
end
version '12' do version '12' do
self.release = '12.2.0' self.release = '12.2.0'
self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/" self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/"
@ -57,98 +67,98 @@ module Docs
end end
version '11' do version '11' do
self.release = '11.1.0' self.release = '11.4.0'
self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/" self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/"
end end
version '11 CPP' do version '11 CPP' do
self.release = '11.1.0' self.release = '11.4.0'
self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/cpp/" self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/cpp/"
end end
version '10' do version '10' do
self.release = '10.2.0' self.release = '10.5.0'
self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/" self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/"
end end
version '10 CPP' do version '10 CPP' do
self.release = '10.2.0' self.release = '10.5.0'
self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/cpp/" self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/cpp/"
end end
version '9' do version '9' do
self.release = '9.3.0' self.release = '9.5.0'
self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/" self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/"
end end
version '9 CPP' do version '9 CPP' do
self.release = '9.3.0' self.release = '9.5.0'
self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/cpp/" self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/cpp/"
options[:replace_paths] = CPP_PATHS options[:replace_paths] = CPP_PATHS
end end
version '8' do version '8' do
self.release = '8.3.0' self.release = '8.5.0'
self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/" self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/"
end end
version '8 CPP' do version '8 CPP' do
self.release = '8.3.0' self.release = '8.5.0'
self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/cpp/" self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/cpp/"
options[:replace_paths] = CPP_PATHS options[:replace_paths] = CPP_PATHS
end end
version '7' do version '7' do
self.release = '7.4.0' self.release = '7.5.0'
self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/" self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/"
end end
version '7 CPP' do version '7 CPP' do
self.release = '7.4.0' self.release = '7.5.0'
self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/cpp/" self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/cpp/"
options[:replace_paths] = CPP_PATHS options[:replace_paths] = CPP_PATHS
end end
version '6' do version '6' do
self.release = '6.4.0' self.release = '6.5.0'
self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/" self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/"
options[:root_title] = 'Using the GNU Compiler Collection (GCC)' options[:root_title] = 'Using the GNU Compiler Collection (GCC)'
end end
version '6 CPP' do version '6 CPP' do
self.release = '6.4.0' self.release = '6.5.0'
self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/cpp/" self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/cpp/"
options[:replace_paths] = CPP_PATHS options[:replace_paths] = CPP_PATHS
end end
version '5' do version '5' do
self.release = '5.4.0' self.release = '5.5.0'
self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/" self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/"
options[:root_title] = 'Using the GNU Compiler Collection (GCC)' options[:root_title] = 'Using the GNU Compiler Collection (GCC)'
end end
version '5 CPP' do version '5 CPP' do
self.release = '5.4.0' self.release = '5.5.0'
self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/cpp/" self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/cpp/"
options[:replace_paths] = CPP_PATHS options[:replace_paths] = CPP_PATHS
end end
version '4' do version '4' do
self.release = '4.9.3' self.release = '4.9.4'
self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/" self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/"
options[:root_title] = 'Using the GNU Compiler Collection (GCC)' options[:root_title] = 'Using the GNU Compiler Collection (GCC)'
end end
version '4 CPP' do version '4 CPP' do
self.release = '4.9.3' self.release = '4.9.4'
self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/cpp/" self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/cpp/"
options[:replace_paths] = CPP_PATHS options[:replace_paths] = CPP_PATHS

Loading…
Cancel
Save