|
|
@ -8,19 +8,28 @@ module Docs
|
|
|
|
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
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
options[:attribution] = <<-HTML
|
|
|
|
© 2016–2022 Rich Harris and contributors<br>
|
|
|
|
© 2016–2023 Rich Harris and contributors<br>
|
|
|
|
Licensed under the MIT License.
|
|
|
|
Licensed under the MIT License.
|
|
|
|
HTML
|
|
|
|
HTML
|
|
|
|
|
|
|
|
|
|
|
|
options[:skip] = %w(team.html plugins/)
|
|
|
|
options[:skip] = %w(team.html plugins/)
|
|
|
|
|
|
|
|
|
|
|
|
self.release = '3.55.0'
|
|
|
|
self.base_url = 'https://svelte.dev/docs/'
|
|
|
|
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
|
|
|
|
|
|
|
|
self.release = '4.2.1'
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
version '3' do
|
|
|
|
|
|
|
|
self.release = '3.55.0'
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
def get_latest_version(opts)
|
|
|
|
def get_latest_version(opts)
|
|
|
|
get_npm_version('svelte', opts)
|
|
|
|
get_npm_version('svelte', opts)
|
|
|
|
end
|
|
|
|
end
|
|
|
|