sanctuary_def.rb 915 B

123456789101112131415161718192021222324252627282930
  1. module Docs
  2. class SanctuaryDef < Github
  3. self.name = "Sanctuary Def"
  4. self.slug = "sanctuary_def"
  5. self.type = "sanctuary_def"
  6. self.release = "0.22.0"
  7. self.base_url = "https://github.com/sanctuary-js/sanctuary-def/blob/v#{self.release}/README.md"
  8. self.links = {
  9. home: "https://github.com/sanctuary-js/sanctuary-def",
  10. code: "https://github.com/sanctuary-js/sanctuary-def",
  11. }
  12. # html_filters.push "sanctuary_def/entries"
  13. html_filters.push "sanctuary_def/entries", "sanctuary_def/clean_html"
  14. options[:container] = '.markdown-body'
  15. options[:title] = "Sanctuary Def"
  16. options[:trailing_slash] = false
  17. options[:attribution] = <<-HTML
  18. &copy; 2020 Sanctuary<br>
  19. &copy; 2016 Plaid Technologies, Inc.<br>
  20. Licensed under the MIT License.
  21. HTML
  22. def get_latest_version(opts)
  23. get_npm_version("sanctuary-def", opts)
  24. end
  25. end
  26. end