History

Update Mongoose documentation (7.4.1)

Fixes #2012.

Simon Legner committed 3 years ago

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

Showing the changes to lib/docs (2 of 2 files). Show all

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
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+1−1
@@ -2,7 +2,7 @@ module Docs · 1 unmodified line
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)