@ -4,7 +4,7 @@ module Docs
self . name = 'Elixir'
self . name = 'Elixir'
self . type = 'elixir'
self . type = 'elixir'
self . root_path = ' api-reference .html'
self . root_path = ' introduction .html'
self . links = {
self . links = {
home : 'https://elixir-lang.org/' ,
home : 'https://elixir-lang.org/' ,
code : 'https://github.com/elixir-lang/elixir'
code : 'https://github.com/elixir-lang/elixir'
@ -12,193 +12,45 @@ module Docs
html_filters . push 'elixir/clean_html' , 'elixir/entries' , 'title'
html_filters . push 'elixir/clean_html' , 'elixir/entries' , 'title'
options [ :container ] = - > ( filter ) {
options [ :container ] = '#content'
filter . current_url . path . start_with? ( '/getting-started' ) ? '#main' : '#content'
}
options [ :title ] = false
options [ :title ] = false
options [ :root_title ] = 'Elixir'
options [ :root_title ] = 'Elixir'
options [ :attribution ] = << - HTML
options [ :attribution ] = << - HTML
& copy ; 2012 Plataformatec < br >
& copy ; 2012 - 2024 The Elixir Team < br >
Licensed under the Apache License , Version 2 . 0 .
Licensed under the Apache License , Version 2 . 0 .
HTML
HTML
def initial_urls
def initial_urls
[ " https://hexdocs.pm/elixir/ #{ self . class . release } / api-reference .html" ,
[ " https://hexdocs.pm/elixir/ #{ self . class . release } / introduction .html" ,
" https://hexdocs.pm/eex/ #{ self . class . release } /EEx.html " ,
" https://hexdocs.pm/eex/ #{ self . class . release } /EEx.html " ,
" https://hexdocs.pm/ex_unit/ #{ self . class . release } /ExUnit.html " ,
" https://hexdocs.pm/ex_unit/ #{ self . class . release } /ExUnit.html " ,
" https://hexdocs.pm/iex/ #{ self . class . release } /IEx.html " ,
" https://hexdocs.pm/iex/ #{ self . class . release } /IEx.html " ,
" https://hexdocs.pm/logger/ #{ self . class . release } /Logger.html " ,
" https://hexdocs.pm/logger/ #{ self . class . release } /Logger.html " ,
" https://hexdocs.pm/mix/ #{ self . class . release } /Mix.html " ,
" https://hexdocs.pm/mix/ #{ self . class . release } /Mix.html " ]
" https://elixir-lang.org/getting-started/introduction.html " ]
end
version '1.15' do
self . release = '1.15.4'
self . base_urls = [
" https://hexdocs.pm/elixir/ #{ release } / " ,
" https://hexdocs.pm/eex/ #{ release } / " ,
" https://hexdocs.pm/ex_unit/ #{ release } / " ,
" https://hexdocs.pm/iex/ #{ release } / " ,
" https://hexdocs.pm/logger/ #{ release } / " ,
" https://hexdocs.pm/mix/ #{ release } / " ,
'https://elixir-lang.org/getting-started/'
]
end
version '1.14' do
self . release = '1.14.1'
self . base_urls = [
" https://hexdocs.pm/elixir/ #{ release } / " ,
" https://hexdocs.pm/eex/ #{ release } / " ,
" https://hexdocs.pm/ex_unit/ #{ release } / " ,
" https://hexdocs.pm/iex/ #{ release } / " ,
" https://hexdocs.pm/logger/ #{ release } / " ,
" https://hexdocs.pm/mix/ #{ release } / " ,
'https://elixir-lang.org/getting-started/'
]
end
version '1.13' do
self . release = '1.13.4'
self . base_urls = [
" https://hexdocs.pm/elixir/ #{ release } / " ,
" https://hexdocs.pm/eex/ #{ release } / " ,
" https://hexdocs.pm/ex_unit/ #{ release } / " ,
" https://hexdocs.pm/iex/ #{ release } / " ,
" https://hexdocs.pm/logger/ #{ release } / " ,
" https://hexdocs.pm/mix/ #{ release } / " ,
'https://elixir-lang.org/getting-started/'
]
end
version '1.12' do
self . release = '1.12.0'
self . base_urls = [
" https://hexdocs.pm/elixir/ #{ release } / " ,
" https://hexdocs.pm/eex/ #{ release } / " ,
" https://hexdocs.pm/ex_unit/ #{ release } / " ,
" https://hexdocs.pm/iex/ #{ release } / " ,
" https://hexdocs.pm/logger/ #{ release } / " ,
" https://hexdocs.pm/mix/ #{ release } / " ,
'https://elixir-lang.org/getting-started/'
]
end
version '1.11' do
self . release = '1.11.2'
self . base_urls = [
" https://hexdocs.pm/elixir/ #{ release } / " ,
" https://hexdocs.pm/eex/ #{ release } / " ,
" https://hexdocs.pm/ex_unit/ #{ release } / " ,
" https://hexdocs.pm/iex/ #{ release } / " ,
" https://hexdocs.pm/logger/ #{ release } / " ,
" https://hexdocs.pm/mix/ #{ release } / " ,
'https://elixir-lang.org/getting-started/'
]
end
version '1.10' do
self . release = '1.10.4'
self . base_urls = [
" https://hexdocs.pm/elixir/ #{ release } / " ,
" https://hexdocs.pm/eex/ #{ release } / " ,
" https://hexdocs.pm/ex_unit/ #{ release } / " ,
" https://hexdocs.pm/iex/ #{ release } / " ,
" https://hexdocs.pm/logger/ #{ release } / " ,
" https://hexdocs.pm/mix/ #{ release } / " ,
'https://elixir-lang.org/getting-started/'
]
end
version '1.9' do
self . release = '1.9.4'
self . base_urls = [
" https://hexdocs.pm/elixir/ #{ release } / " ,
" https://hexdocs.pm/eex/ #{ release } / " ,
" https://hexdocs.pm/ex_unit/ #{ release } / " ,
" https://hexdocs.pm/iex/ #{ release } / " ,
" https://hexdocs.pm/logger/ #{ release } / " ,
" https://hexdocs.pm/mix/ #{ release } / " ,
'https://elixir-lang.org/getting-started/'
]
end
version '1.8' do
self . release = '1.8.2'
self . base_urls = [
" https://hexdocs.pm/elixir/ #{ release } / " ,
" https://hexdocs.pm/eex/ #{ release } / " ,
" https://hexdocs.pm/ex_unit/ #{ release } / " ,
" https://hexdocs.pm/iex/ #{ release } / " ,
" https://hexdocs.pm/logger/ #{ release } / " ,
" https://hexdocs.pm/mix/ #{ release } / " ,
'https://elixir-lang.org/getting-started/'
]
end
version '1.7' do
self . release = '1.7.4'
self . base_urls = [
" https://hexdocs.pm/elixir/ #{ release } / " ,
" https://hexdocs.pm/eex/ #{ release } / " ,
" https://hexdocs.pm/ex_unit/ #{ release } / " ,
" https://hexdocs.pm/iex/ #{ release } / " ,
" https://hexdocs.pm/logger/ #{ release } / " ,
" https://hexdocs.pm/mix/ #{ release } / " ,
'https://elixir-lang.org/getting-started/'
]
end
version '1.6' do
self . release = '1.6.6'
self . base_urls = [
" https://hexdocs.pm/elixir/ #{ release } / " ,
" https://hexdocs.pm/eex/ #{ release } / " ,
" https://hexdocs.pm/ex_unit/ #{ release } / " ,
" https://hexdocs.pm/iex/ #{ release } / " ,
" https://hexdocs.pm/logger/ #{ release } / " ,
" https://hexdocs.pm/mix/ #{ release } / " ,
'https://elixir-lang.org/getting-started/'
]
end
version '1.5' do
self . release = '1.5.3'
self . base_urls = [
" https://hexdocs.pm/elixir/ #{ release } / " ,
" https://hexdocs.pm/eex/ #{ release } / " ,
" https://hexdocs.pm/ex_unit/ #{ release } / " ,
" https://hexdocs.pm/iex/ #{ release } / " ,
" https://hexdocs.pm/logger/ #{ release } / " ,
" https://hexdocs.pm/mix/ #{ release } / " ,
'https://elixir-lang.org/getting-started/'
]
end
end
version '1. 4 ' do
version '1.17' do
self . release = '1. 4.5 '
self . release = '1.17.0'
self . base_urls = [
self . base_urls = [
" https://hexdocs.pm/elixir/ #{ release } / " ,
" https://hexdocs.pm/elixir/ #{ release } / " ,
" https://hexdocs.pm/eex/ #{ release } / " ,
" https://hexdocs.pm/eex/ #{ release } / " ,
" https://hexdocs.pm/ex_unit/ #{ release } / " ,
" https://hexdocs.pm/ex_unit/ #{ release } / " ,
" https://hexdocs.pm/iex/ #{ release } / " ,
" https://hexdocs.pm/iex/ #{ release } / " ,
" https://hexdocs.pm/logger/ #{ release } / " ,
" https://hexdocs.pm/logger/ #{ release } / " ,
" https://hexdocs.pm/mix/ #{ release } / " ,
" https://hexdocs.pm/mix/ #{ release } / "
'https://elixir-lang.org/getting-started/'
]
]
end
end
version '1. 3 ' do
version '1.16' do
self . release = '1. 3.4 '
self . release = '1.16.3'
self . base_urls = [
self . base_urls = [
" https://hexdocs.pm/elixir/ #{ release } / " ,
" https://hexdocs.pm/elixir/ #{ release } / " ,
" https://hexdocs.pm/eex/ #{ release } / " ,
" https://hexdocs.pm/eex/ #{ release } / " ,
" https://hexdocs.pm/ex_unit/ #{ release } / " ,
" https://hexdocs.pm/ex_unit/ #{ release } / " ,
" https://hexdocs.pm/iex/ #{ release } / " ,
" https://hexdocs.pm/iex/ #{ release } / " ,
" https://hexdocs.pm/logger/ #{ release } / " ,
" https://hexdocs.pm/logger/ #{ release } / " ,
" https://hexdocs.pm/mix/ #{ release } / " ,
" https://hexdocs.pm/mix/ #{ release } / "
'https://elixir-lang.org/getting-started/'
]
]
end
end