| @@ -8,7 +8,7 @@ module Docs · 7 unmodified lines |
| 8 | 8 | |
| 9 | 9 | html_filters.push 'title' |
| 10 | 10 | |
| 11 | | − options[:root_title] = 'Using the GNU Compiler Collection (GCC)' |
| 11 | + options[:root_title] = false |
| 12 | 12 | options[:title] = false |
| 13 | 13 | |
| 14 | 14 | options[:replace_paths] = { |
| @@ -46,10 +46,26 @@ module Docs · 31 unmodified lines |
| 46 | 46 | 'Wtrigraphs.html' => 'Invocation.html' |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | + version '7' do |
| 50 | + self.release = '7.1.0' |
| 51 | + self.dir = '/Users/Thibaut/DevDocs/Docs/gcc7' |
| 52 | + self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/" |
| 53 | + end |
| 54 | + |
| 55 | + version '7 CPP' do |
| 56 | + self.release = '7.1.0' |
| 57 | + self.dir = '/Users/Thibaut/DevDocs/Docs/gcpp7' |
| 58 | + self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/cpp/" |
| 59 | + |
| 60 | + options[:replace_paths] = CPP_PATHS |
| 61 | + end |
| 62 | + |
| 49 | 63 | version '6' do |
| 50 | 64 | self.release = '6.3.0' |
| 51 | 65 | self.dir = '/Users/Thibaut/DevDocs/Docs/gcc6' |
| 52 | 66 | self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/" |
| 67 | + |
| 68 | + options[:root_title] = 'Using the GNU Compiler Collection (GCC)' |
| 53 | 69 | end |
| 54 | 70 | |
| 55 | 71 | version '6 CPP' do |
| @@ -57,13 +73,15 @@ module Docs · 1 unmodified line |
| 57 | 73 | self.dir = '/Users/Thibaut/DevDocs/Docs/gcpp6' |
| 58 | 74 | self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/cpp/" |
| 59 | 75 | |
| 60 | | − options[:root_title] = false |
| 61 | 76 | options[:replace_paths] = CPP_PATHS |
| 62 | 77 | end |
| 78 | + |
| 63 | 79 | version '5' do |
| 64 | 80 | self.release = '5.4.0' |
| 65 | 81 | self.dir = '/Users/Thibaut/DevDocs/Docs/gcc5' |
| 66 | 82 | self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/" |
| 83 | + |
| 84 | + options[:root_title] = 'Using the GNU Compiler Collection (GCC)' |
| 67 | 85 | end |
| 68 | 86 | |
| 69 | 87 | version '5 CPP' do |
| @@ -71,7 +89,6 @@ module Docs · 1 unmodified line |
| 71 | 89 | self.dir = '/Users/Thibaut/DevDocs/Docs/gcpp5' |
| 72 | 90 | self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/cpp/" |
| 73 | 91 | |
| 74 | | − options[:root_title] = false |
| 75 | 92 | options[:replace_paths] = CPP_PATHS |
| 76 | 93 | end |
| 77 | 94 | |
| @@ -79,6 +96,8 @@ module Docs · 1 unmodified line |
| 79 | 96 | self.release = '4.9.3' |
| 80 | 97 | self.dir = '/Users/Thibaut/DevDocs/Docs/gcc4' |
| 81 | 98 | self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/gcc/" |
| 99 | + |
| 100 | + options[:root_title] = 'Using the GNU Compiler Collection (GCC)' |
| 82 | 101 | end |
| 83 | 102 | |
| 84 | 103 | version '4 CPP' do |
| @@ -86,7 +105,6 @@ module Docs · 1 unmodified line |
| 86 | 105 | self.dir = '/Users/Thibaut/DevDocs/Docs/gcpp4' |
| 87 | 106 | self.base_url = "https://gcc.gnu.org/onlinedocs/gcc-#{release}/cpp/" |
| 88 | 107 | |
| 89 | | − options[:root_title] = false |
| 90 | 108 | options[:replace_paths] = CPP_PATHS |
| 91 | 109 | end |
| 92 | 110 | end |