vuex.rb 579 B

1234567891011121314151617181920212223242526
  1. module Docs
  2. class Vuex < UrlScraper
  3. self.name = 'Vuex'
  4. self.type = 'simple'
  5. self.links = {
  6. home: 'https://vuex.vuejs.org',
  7. code: 'https://github.com/vuejs/vuex'
  8. }
  9. html_filters.push 'vuex/entries', 'vuex/clean_html'
  10. self.release = '3.0.1'
  11. self.base_url = 'https://vuex.vuejs.org/'
  12. options[:skip_patterns] = [
  13. # Other languages
  14. /^(zh|ja|ru|kr|fr|ptbr)\//,
  15. ]
  16. options[:attribution] = <<-HTML
  17. &copy; 2015&ndash;2018 Evan You, Vue.js contributors<br>
  18. Licensed under the MIT License.
  19. HTML
  20. end
  21. end