man.rb 412 B

12345678910111213141516
  1. module Docs
  2. class Man < FileScraper
  3. self.name = 'Linux man pages'
  4. self.type = 'simple'
  5. self.slug = 'man'
  6. self.base_url = "https://man7.org/linux/man-pages/"
  7. self.initial_paths = %w(dir_by_project.html)
  8. self.links = {
  9. home: 'https://man7.org/linux/man-pages/',
  10. }
  11. html_filters.push 'man/entries', 'man/clean_html'
  12. options[:attribution] = <<-HTML
  13. ...
  14. HTML
  15. end
  16. end