|
|
@ -4,9 +4,9 @@ module Docs
|
|
|
|
class Cypress < UrlScraper
|
|
|
|
class Cypress < UrlScraper
|
|
|
|
self.name = 'Cypress'
|
|
|
|
self.name = 'Cypress'
|
|
|
|
self.type = 'cypress'
|
|
|
|
self.type = 'cypress'
|
|
|
|
self.release = '6.8.0'
|
|
|
|
self.release = '7.2.0'
|
|
|
|
self.base_url = 'https://docs.cypress.io'
|
|
|
|
self.base_url = 'https://docs.cypress.io'
|
|
|
|
self.root_path = '/api/api/table-of-contents.html'
|
|
|
|
self.root_path = '/api/table-of-contents.html'
|
|
|
|
self.links = {
|
|
|
|
self.links = {
|
|
|
|
home: 'https://www.cypress.io/',
|
|
|
|
home: 'https://www.cypress.io/',
|
|
|
|
code: 'https://github.com/cypress-io/cypress',
|
|
|
|
code: 'https://github.com/cypress-io/cypress',
|
|
|
@ -14,7 +14,7 @@ module Docs
|
|
|
|
|
|
|
|
|
|
|
|
html_filters.push 'cypress/entries', 'cypress/clean_html'
|
|
|
|
html_filters.push 'cypress/entries', 'cypress/clean_html'
|
|
|
|
|
|
|
|
|
|
|
|
options[:container] = '#content'
|
|
|
|
options[:container] = 'article'
|
|
|
|
options[:max_image_size] = 300_000
|
|
|
|
options[:max_image_size] = 300_000
|
|
|
|
options[:include_default_entry] = true
|
|
|
|
options[:include_default_entry] = true
|
|
|
|
|
|
|
|
|
|
|
|