vertx.rb 948 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. module Docs
  2. class Vertx < UrlScraper
  3. self.type = 'vertx'
  4. self.links = {
  5. home: 'http://vertx.io',
  6. code: 'https://github.com/eclipse-vertx/vert.x'
  7. }
  8. html_filters.push 'vertx/entries', 'vertx/clean_html'
  9. options[:attribution] = <<-HTML
  10. © 2025 Eclipse Vert.x™</br>
  11. Eclipse Vert.x™ is open source and dual-licensed under the Eclipse Public License 2.0 and the Apache License 2.0.</br>
  12. Website design by Michel Krämer.
  13. HTML
  14. options[:skip_patterns] = [
  15. /api/,
  16. /5.0.0/,
  17. /apidocs/,
  18. /blog/,
  19. ]
  20. version '5.0.0' do
  21. self.release = '5.0.0'
  22. self.base_url = "https://vertx.io/docs/"
  23. end
  24. version '4.5.15' do
  25. self.release = '4.5.15'
  26. self.base_url = "https://vertx.io/docs/#{self.version}"
  27. end
  28. version '3.9.16' do
  29. self.release = '4.5.15'
  30. self.base_url = "https://vertx.io/docs/#{self.version}"
  31. end
  32. end
  33. end