Skip to content

Commit da343ec

Browse files
committed
Update Mongoose documentation (7.4.1)
Fixes #2012.
1 parent 6f8ea7e commit da343ec

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/docs/filters/mongoose/clean_html.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def call
1717
node['data-language'] = 'javascript'
1818
end
1919

20-
css('.native-inline', '.api-nav', '.toc', '.api-content ul:first-child').remove
20+
css('.native-inline', '.api-nav', '.toc', '.api-content ul:first-child', '.edit-docs-link').remove
2121

2222
if !at_css('h1')
2323
if css('h2').count > 1

lib/docs/scrapers/mongoose.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module Docs
22
class Mongoose < UrlScraper
33
self.name = 'Mongoose'
44
self.type = 'simple'
5-
self.release = '5.8.5'
5+
self.release = '7.4.1'
66
self.base_url = 'https://mongoosejs.com/docs/'
77
self.root_path = 'index.html'
88
self.initial_paths = %w(guide.html)

0 commit comments

Comments
 (0)