Update Nushell documentation (0.85.0)

pull/2050/head
Simon Legner 1 year ago
parent 693d051c8f
commit 2dce213f6a

@ -3,6 +3,7 @@ module Docs
class Nushell class Nushell
class CleanHtmlFilter < Filter class CleanHtmlFilter < Filter
def call def call
@doc = at_css('.theme-default-content > div:only-child', '.theme-default-content')
css('footer').remove css('footer').remove
css('h1 a, h2 a').remove css('h1 a, h2 a').remove
doc doc

@ -6,7 +6,7 @@ module Docs
self.name = "Nushell" self.name = "Nushell"
self.slug = "nushell" self.slug = "nushell"
self.type = "nushell" self.type = "nushell"
self.release = "0.84.0" self.release = "0.85.0"
self.links = { self.links = {
home: "https://www.nushell.sh/", home: "https://www.nushell.sh/",
code: "https://github.com/nushell/nushell", code: "https://github.com/nushell/nushell",
@ -18,13 +18,12 @@ module Docs
options[:follow_links] = true options[:follow_links] = true
options[:title] = "Nushell" options[:title] = "Nushell"
options[:attribution] = <<-HTML options[:attribution] = <<-HTML
Copyright &copy; 2019 - 2023 The Nushell Project Developers Copyright &copy; 20192023 The Nushell Project Developers
Licensed under the MIT License. Licensed under the MIT License.
HTML HTML
# latest version has a special URL that does not include the version identifier # latest version has a special URL that does not include the version identifier
version do version do
self.release = "0.84.0"
self.base_urls = [ self.base_urls = [
"https://www.nushell.sh/book/", "https://www.nushell.sh/book/",
"https://www.nushell.sh/commands/" "https://www.nushell.sh/commands/"

Loading…
Cancel
Save