gcc: add versions 8 and 9

pull/1070/head
Simon Legner 6 years ago
parent 651f20a8f9
commit 8da3af8cc1

@ -46,13 +46,37 @@ module Docs
'Wtrigraphs.html' => 'Invocation.html' '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 version '7' do
self.release = '7.3.0' self.release = '7.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 '7 CPP' do 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/" self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/cpp/"
options[:replace_paths] = CPP_PATHS options[:replace_paths] = CPP_PATHS

Loading…
Cancel
Save