|
|
@ -3,26 +3,28 @@ module Docs
|
|
|
|
self.name = 'Svelte'
|
|
|
|
self.name = 'Svelte'
|
|
|
|
self.slug = 'svelte'
|
|
|
|
self.slug = 'svelte'
|
|
|
|
self.type = 'simple'
|
|
|
|
self.type = 'simple'
|
|
|
|
|
|
|
|
self.root_path = '/'
|
|
|
|
self.links = {
|
|
|
|
self.links = {
|
|
|
|
home: 'https://svelte.dev/',
|
|
|
|
home: 'https://svelte.dev/',
|
|
|
|
code: 'https://github.com/sveltejs/svelte'
|
|
|
|
code: 'https://github.com/sveltejs/svelte'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
self.root_path = 'introduction'
|
|
|
|
|
|
|
|
options[:root_title] = 'Svelte'
|
|
|
|
options[:root_title] = 'Svelte'
|
|
|
|
|
|
|
|
|
|
|
|
# https://github.com/sveltejs/svelte/blob/master/LICENSE.md
|
|
|
|
# https://github.com/sveltejs/svelte/blob/master/LICENSE.md
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
© 2016–2023 Rich Harris and contributors<br>
|
|
|
|
© 2016–2024 Rich Harris and contributors<br>
|
|
|
|
Licensed under the MIT License.
|
|
|
|
Licensed under the MIT License.
|
|
|
|
HTML
|
|
|
|
HTML
|
|
|
|
|
|
|
|
|
|
|
|
options[:skip] = %w(team.html plugins/)
|
|
|
|
self.base_url = 'https://svelte.dev/docs/svelte/'
|
|
|
|
|
|
|
|
|
|
|
|
self.base_url = 'https://svelte.dev/docs/'
|
|
|
|
|
|
|
|
html_filters.push 'svelte/entries', 'svelte/clean_html'
|
|
|
|
html_filters.push 'svelte/entries', 'svelte/clean_html'
|
|
|
|
|
|
|
|
|
|
|
|
version do
|
|
|
|
version do
|
|
|
|
|
|
|
|
self.release = '5.2.3'
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
version '4' do
|
|
|
|
self.release = '4.2.1'
|
|
|
|
self.release = '4.2.1'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|