History

Update Mongoose documentation (7.4.1)

Fixes #2012.

Simon Legner committed 3 years ago

Commit da343ec1 parent 6f8ea7e2 files · +2 −2Browse files

Unified · Split

2 files
  1. lib/docs/filters/mongoose/clean_html.rb +1 −1
  2. lib/docs/scrapers/mongoose.rb +1 −1
lib/docs/filters/mongoose/clean_html.rb+1−1
@@ -17,7 +17,7 @@ module Docs · 16 unmodified lines
17 node['data-language'] = 'javascript'17 node['data-language'] = 'javascript'
18 end18 end
19 19
20 css('.native-inline', '.api-nav', '.toc', '.api-content ul:first-child').remove20 css('.native-inline', '.api-nav', '.toc', '.api-content ul:first-child', '.edit-docs-link').remove
21 21
22 if !at_css('h1')22 if !at_css('h1')
23 if css('h2').count > 123 if css('h2').count > 1
lib/docs/scrapers/mongoose.rb+1−1
@@ -2,7 +2,7 @@ module Docs · 1 unmodified line
2 class Mongoose < UrlScraper2 class Mongoose < UrlScraper
3 self.name = 'Mongoose'3 self.name = 'Mongoose'
4 self.type = 'simple'4 self.type = 'simple'
5 self.release = '5.8.5'5 self.release = '7.4.1'
6 self.base_url = 'https://mongoosejs.com/docs/'6 self.base_url = 'https://mongoosejs.com/docs/'
7 self.root_path = 'index.html'7 self.root_path = 'index.html'
8 self.initial_paths = %w(guide.html)8 self.initial_paths = %w(guide.html)