Skip to content

Commit 2dce213

Browse files
committed
Update Nushell documentation (0.85.0)
1 parent 693d051 commit 2dce213

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/docs/filters/nushell/clean_html.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module Docs
33
class Nushell
44
class CleanHtmlFilter < Filter
55
def call
6+
@doc = at_css('.theme-default-content > div:only-child', '.theme-default-content')
67
css('footer').remove
78
css('h1 a, h2 a').remove
89
doc

lib/docs/scrapers/nushell.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ class Nushell < UrlScraper
66
self.name = "Nushell"
77
self.slug = "nushell"
88
self.type = "nushell"
9-
self.release = "0.84.0"
9+
self.release = "0.85.0"
1010
self.links = {
1111
home: "https://www.nushell.sh/",
1212
code: "https://github.com/nushell/nushell",
@@ -18,13 +18,12 @@ class Nushell < UrlScraper
1818
options[:follow_links] = true
1919
options[:title] = "Nushell"
2020
options[:attribution] = <<-HTML
21-
Copyright &copy; 2019 - 2023 The Nushell Project Developers
21+
Copyright &copy; 20192023 The Nushell Project Developers
2222
Licensed under the MIT License.
2323
HTML
2424

2525
# latest version has a special URL that does not include the version identifier
2626
version do
27-
self.release = "0.84.0"
2827
self.base_urls = [
2928
"https://www.nushell.sh/book/",
3029
"https://www.nushell.sh/commands/"

0 commit comments

Comments
 (0)