You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
module Docs
class Nushell < UrlScraper
include MultipleBaseUrls
self . name = " Nushell "
self . slug = " nushell "
self . type = " nushell "
self . release = " 0.85.0 "
self . links = {
home : " https://www.nushell.sh/ " ,
code : " https://github.com/nushell/nushell " ,
}
html_filters . push " nushell/clean_html " , " nushell/entries " , " nushell/fix_links "
options [ :container ] = '.theme-container'
options [ :follow_links ] = true
options [ :title ] = " Nushell "
options [ :attribution ] = <<-HTML
Copyright & copy ; 2019 – 2023 The Nushell Project Developers
Licensed under the MIT License .
HTML
# latest version has a special URL that does not include the version identifier
version do
self . base_urls = [
" https://www.nushell.sh/book/ " ,
" https://www.nushell.sh/commands/ "
]
end
def get_latest_version ( opts )
get_latest_github_release ( 'nushell' , 'nushell' , opts )
end
end
end