1
0

xslt_xpath.rb 400 B

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