1
0

sanctuary_def.rb 867 B

1234567891011121314151617181920212223242526272829
  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", "sanctuary_def/clean_html"
  13. options[:container] = '.markdown-body'
  14. options[:title] = "Sanctuary Def"
  15. options[:trailing_slash] = false
  16. options[:attribution] = <<-HTML
  17. &copy; 2020 Sanctuary<br>
  18. &copy; 2016 Plaid Technologies, Inc.<br>
  19. Licensed under the MIT License.
  20. HTML
  21. def get_latest_version(opts)
  22. get_npm_version("sanctuary-def", opts)
  23. end
  24. end
  25. end