| @@ -4,7 +4,7 @@ module Docs · 3 unmodified lines |
| 4 | 4 | |
| 5 | 5 | self.name = 'Elixir' |
| 6 | 6 | self.type = 'elixir' |
| 7 | | − self.root_path = 'api-reference.html' |
| 7 | + self.root_path = 'introduction.html' |
| 8 | 8 | self.links = { |
| 9 | 9 | home: 'https://elixir-lang.org/', |
| 10 | 10 | code: 'https://github.com/elixir-lang/elixir' |
| @@ -12,193 +12,45 @@ module Docs · 1 unmodified line |
| 12 | 12 | |
| 13 | 13 | html_filters.push 'elixir/clean_html', 'elixir/entries', 'title' |
| 14 | 14 | |
| 15 | | − options[:container] = ->(filter) { |
| 16 | | − filter.current_url.path.start_with?('/getting-started') ? '#main' : '#content' |
| 17 | | − } |
| 15 | + options[:container] = '#content' |
| 18 | 16 | options[:title] = false |
| 19 | 17 | options[:root_title] = 'Elixir' |
| 20 | 18 | |
| 21 | 19 | options[:attribution] = <<-HTML |
| 22 | | − © 2012 Plataformatec<br> |
| 20 | + © 2012 - 2024 The Elixir Team<br> |
| 23 | 21 | Licensed under the Apache License, Version 2.0. |
| 24 | 22 | HTML |
| 25 | 23 | |
| 26 | 24 | def initial_urls |
| 27 | | − [ "https://hexdocs.pm/elixir/#{self.class.release}/api-reference.html", |
| 25 | + [ "https://hexdocs.pm/elixir/#{self.class.release}/introduction.html", |
| 28 | 26 | "https://hexdocs.pm/eex/#{self.class.release}/EEx.html", |
| 29 | 27 | "https://hexdocs.pm/ex_unit/#{self.class.release}/ExUnit.html", |
| 30 | 28 | "https://hexdocs.pm/iex/#{self.class.release}/IEx.html", |
| 31 | 29 | "https://hexdocs.pm/logger/#{self.class.release}/Logger.html", |
| 32 | | − "https://hexdocs.pm/mix/#{self.class.release}/Mix.html", |
| 33 | | − "https://elixir-lang.org/getting-started/introduction.html" ] |
| 34 | | − end |
| 35 | | − |
| 36 | | − version '1.15' do |
| 37 | | − self.release = '1.15.4' |
| 38 | | − self.base_urls = [ |
| 39 | | − "https://hexdocs.pm/elixir/#{release}/", |
| 40 | | − "https://hexdocs.pm/eex/#{release}/", |
| 41 | | − "https://hexdocs.pm/ex_unit/#{release}/", |
| 42 | | − "https://hexdocs.pm/iex/#{release}/", |
| 43 | | − "https://hexdocs.pm/logger/#{release}/", |
| 44 | | − "https://hexdocs.pm/mix/#{release}/", |
| 45 | | − 'https://elixir-lang.org/getting-started/' |
| 46 | | − ] |
| 47 | | − end |
| 48 | | − |
| 49 | | − version '1.14' do |
| 50 | | − self.release = '1.14.1' |
| 51 | | − self.base_urls = [ |
| 52 | | − "https://hexdocs.pm/elixir/#{release}/", |
| 53 | | − "https://hexdocs.pm/eex/#{release}/", |
| 54 | | − "https://hexdocs.pm/ex_unit/#{release}/", |
| 55 | | − "https://hexdocs.pm/iex/#{release}/", |
| 56 | | − "https://hexdocs.pm/logger/#{release}/", |
| 57 | | − "https://hexdocs.pm/mix/#{release}/", |
| 58 | | − 'https://elixir-lang.org/getting-started/' |
| 59 | | − ] |
| 60 | | − end |
| 61 | | − |
| 62 | | − version '1.13' do |
| 63 | | − self.release = '1.13.4' |
| 64 | | − self.base_urls = [ |
| 65 | | − "https://hexdocs.pm/elixir/#{release}/", |
| 66 | | − "https://hexdocs.pm/eex/#{release}/", |
| 67 | | − "https://hexdocs.pm/ex_unit/#{release}/", |
| 68 | | − "https://hexdocs.pm/iex/#{release}/", |
| 69 | | − "https://hexdocs.pm/logger/#{release}/", |
| 70 | | − "https://hexdocs.pm/mix/#{release}/", |
| 71 | | − 'https://elixir-lang.org/getting-started/' |
| 72 | | − ] |
| 73 | | − end |
| 74 | | − |
| 75 | | − version '1.12' do |
| 76 | | − self.release = '1.12.0' |
| 77 | | − self.base_urls = [ |
| 78 | | − "https://hexdocs.pm/elixir/#{release}/", |
| 79 | | − "https://hexdocs.pm/eex/#{release}/", |
| 80 | | − "https://hexdocs.pm/ex_unit/#{release}/", |
| 81 | | − "https://hexdocs.pm/iex/#{release}/", |
| 82 | | − "https://hexdocs.pm/logger/#{release}/", |
| 83 | | − "https://hexdocs.pm/mix/#{release}/", |
| 84 | | − 'https://elixir-lang.org/getting-started/' |
| 85 | | − ] |
| 86 | | − end |
| 87 | | − |
| 88 | | − version '1.11' do |
| 89 | | − self.release = '1.11.2' |
| 90 | | − self.base_urls = [ |
| 91 | | − "https://hexdocs.pm/elixir/#{release}/", |
| 92 | | − "https://hexdocs.pm/eex/#{release}/", |
| 93 | | − "https://hexdocs.pm/ex_unit/#{release}/", |
| 94 | | − "https://hexdocs.pm/iex/#{release}/", |
| 95 | | − "https://hexdocs.pm/logger/#{release}/", |
| 96 | | − "https://hexdocs.pm/mix/#{release}/", |
| 97 | | − 'https://elixir-lang.org/getting-started/' |
| 98 | | − ] |
| 99 | | − end |
| 100 | | − |
| 101 | | − version '1.10' do |
| 102 | | − self.release = '1.10.4' |
| 103 | | − self.base_urls = [ |
| 104 | | − "https://hexdocs.pm/elixir/#{release}/", |
| 105 | | − "https://hexdocs.pm/eex/#{release}/", |
| 106 | | − "https://hexdocs.pm/ex_unit/#{release}/", |
| 107 | | − "https://hexdocs.pm/iex/#{release}/", |
| 108 | | − "https://hexdocs.pm/logger/#{release}/", |
| 109 | | − "https://hexdocs.pm/mix/#{release}/", |
| 110 | | − 'https://elixir-lang.org/getting-started/' |
| 111 | | − ] |
| 112 | | − end |
| 113 | | − |
| 114 | | − version '1.9' do |
| 115 | | − self.release = '1.9.4' |
| 116 | | − self.base_urls = [ |
| 117 | | − "https://hexdocs.pm/elixir/#{release}/", |
| 118 | | − "https://hexdocs.pm/eex/#{release}/", |
| 119 | | − "https://hexdocs.pm/ex_unit/#{release}/", |
| 120 | | − "https://hexdocs.pm/iex/#{release}/", |
| 121 | | − "https://hexdocs.pm/logger/#{release}/", |
| 122 | | − "https://hexdocs.pm/mix/#{release}/", |
| 123 | | − 'https://elixir-lang.org/getting-started/' |
| 124 | | − ] |
| 125 | | − end |
| 126 | | − |
| 127 | | − version '1.8' do |
| 128 | | − self.release = '1.8.2' |
| 129 | | − self.base_urls = [ |
| 130 | | − "https://hexdocs.pm/elixir/#{release}/", |
| 131 | | − "https://hexdocs.pm/eex/#{release}/", |
| 132 | | − "https://hexdocs.pm/ex_unit/#{release}/", |
| 133 | | − "https://hexdocs.pm/iex/#{release}/", |
| 134 | | − "https://hexdocs.pm/logger/#{release}/", |
| 135 | | − "https://hexdocs.pm/mix/#{release}/", |
| 136 | | − 'https://elixir-lang.org/getting-started/' |
| 137 | | − ] |
| 138 | | − end |
| 139 | | − |
| 140 | | − version '1.7' do |
| 141 | | − self.release = '1.7.4' |
| 142 | | − self.base_urls = [ |
| 143 | | − "https://hexdocs.pm/elixir/#{release}/", |
| 144 | | − "https://hexdocs.pm/eex/#{release}/", |
| 145 | | − "https://hexdocs.pm/ex_unit/#{release}/", |
| 146 | | − "https://hexdocs.pm/iex/#{release}/", |
| 147 | | − "https://hexdocs.pm/logger/#{release}/", |
| 148 | | − "https://hexdocs.pm/mix/#{release}/", |
| 149 | | − 'https://elixir-lang.org/getting-started/' |
| 150 | | − ] |
| 151 | | − end |
| 152 | | − |
| 153 | | − version '1.6' do |
| 154 | | − self.release = '1.6.6' |
| 155 | | − self.base_urls = [ |
| 156 | | − "https://hexdocs.pm/elixir/#{release}/", |
| 157 | | − "https://hexdocs.pm/eex/#{release}/", |
| 158 | | − "https://hexdocs.pm/ex_unit/#{release}/", |
| 159 | | − "https://hexdocs.pm/iex/#{release}/", |
| 160 | | − "https://hexdocs.pm/logger/#{release}/", |
| 161 | | − "https://hexdocs.pm/mix/#{release}/", |
| 162 | | − 'https://elixir-lang.org/getting-started/' |
| 163 | | − ] |
| 164 | | − end |
| 165 | | − |
| 166 | | − version '1.5' do |
| 167 | | − self.release = '1.5.3' |
| 168 | | − self.base_urls = [ |
| 169 | | − "https://hexdocs.pm/elixir/#{release}/", |
| 170 | | − "https://hexdocs.pm/eex/#{release}/", |
| 171 | | − "https://hexdocs.pm/ex_unit/#{release}/", |
| 172 | | − "https://hexdocs.pm/iex/#{release}/", |
| 173 | | − "https://hexdocs.pm/logger/#{release}/", |
| 174 | | − "https://hexdocs.pm/mix/#{release}/", |
| 175 | | − 'https://elixir-lang.org/getting-started/' |
| 176 | | − ] |
| 30 | + "https://hexdocs.pm/mix/#{self.class.release}/Mix.html" ] |
| 177 | 31 | end |
| 178 | 32 | |
| 179 | | − version '1.4' do |
| 180 | | − self.release = '1.4.5' |
| 33 | + version '1.17' do |
| 34 | + self.release = '1.17.0' |
| 181 | 35 | self.base_urls = [ |
| 182 | 36 | "https://hexdocs.pm/elixir/#{release}/", |
| 183 | 37 | "https://hexdocs.pm/eex/#{release}/", |
| 184 | 38 | "https://hexdocs.pm/ex_unit/#{release}/", |
| 185 | 39 | "https://hexdocs.pm/iex/#{release}/", |
| 186 | 40 | "https://hexdocs.pm/logger/#{release}/", |
| 187 | | − "https://hexdocs.pm/mix/#{release}/", |
| 188 | | − 'https://elixir-lang.org/getting-started/' |
| 41 | + "https://hexdocs.pm/mix/#{release}/" |
| 189 | 42 | ] |
| 190 | 43 | end |
| 191 | 44 | |
| 192 | | − version '1.3' do |
| 193 | | − self.release = '1.3.4' |
| 45 | + version '1.16' do |
| 46 | + self.release = '1.16.3' |
| 194 | 47 | self.base_urls = [ |
| 195 | 48 | "https://hexdocs.pm/elixir/#{release}/", |
| 196 | 49 | "https://hexdocs.pm/eex/#{release}/", |
| 197 | 50 | "https://hexdocs.pm/ex_unit/#{release}/", |
| 198 | 51 | "https://hexdocs.pm/iex/#{release}/", |
| 199 | 52 | "https://hexdocs.pm/logger/#{release}/", |
| 200 | | − "https://hexdocs.pm/mix/#{release}/", |
| 201 | | − 'https://elixir-lang.org/getting-started/' |
| 53 | + "https://hexdocs.pm/mix/#{release}/" |
| 202 | 54 | ] |
| 203 | 55 | end |
| 204 | 56 | |