xslt_xpath.rb 429 B

1234567891011121314151617
  1. module Docs
  2. class XsltXpath < Mdn
  3. # release = '2021-10-22'
  4. self.name = 'XSLT & XPath'
  5. self.slug = 'xslt_xpath'
  6. self.base_url = 'https://developer.mozilla.org/en-US/docs/Web'
  7. self.root_path = '/XSLT'
  8. self.initial_paths = %w(/XPath)
  9. html_filters.push 'xslt_xpath/clean_html', 'xslt_xpath/entries'
  10. options[:root_title] = 'XSLT'
  11. options[:only_patterns] = [/\A\/XSLT/, /\A\/XPath/]
  12. end
  13. end