ruby.rb 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. module Docs
  2. class Ruby < Rdoc
  3. # Generated with:
  4. # rdoc \
  5. # --root . \
  6. # --page-dir doc \
  7. # --encoding=UTF-8 \
  8. # --visibility=public \
  9. # --format=darkfish \
  10. # --no-line-numbers \
  11. # --op html .
  12. self.version = '2.2.0'
  13. self.dir = '/Users/Thibaut/DevDocs/Docs/RDoc/Ruby'
  14. html_filters.replace 'rdoc/entries', 'ruby/entries'
  15. options[:root_title] = 'Ruby Programming Language'
  16. options[:title] = ->(filter) { filter.slug == 'globals_rdoc' ? 'Globals' : false }
  17. options[:skip] += %w(
  18. contributing_rdoc.html
  19. contributors_rdoc.html
  20. dtrace_probes_rdoc.html
  21. maintainers_rdoc.html
  22. regexp_rdoc.html
  23. standard_library_rdoc.html
  24. syntax_rdoc.html
  25. Data.html
  26. English.html
  27. Fcntl.html
  28. Kconv.html
  29. NKF.html
  30. OLEProperty.html
  31. OptParse.html
  32. UnicodeNormalize.html)
  33. options[:skip_patterns] += [
  34. /\Alib\//,
  35. /\ADEBUGGER__/,
  36. /\AException2MessageMapper/,
  37. /\AJSON\/Ext/,
  38. /\AGem/,
  39. /\AHTTP/i,
  40. /\AIRB/,
  41. /\AMakeMakefile/i,
  42. /\AMiniTest/i,
  43. /\ANQXML/,
  44. /\AOpenSSL/,
  45. /\AOptionParser\//,
  46. /\APrettyPrint/,
  47. /\APride/,
  48. /\AProfiler__/,
  49. /\APsych\//,
  50. /\ARacc/,
  51. /\ARake/,
  52. /\ARbConfig/,
  53. /\ARDoc/,
  54. /\AREXML/,
  55. /\ARSS/,
  56. /\AShell\//,
  57. /\ASocket\//,
  58. /\ATest/,
  59. /\AWEBrick/,
  60. /win32/i,
  61. /\AXML/,
  62. /\AXMP/]
  63. options[:attribution] = <<-HTML
  64. Ruby Core &copy; 1993&ndash;2014 Yukihiro Matsumoto<br>
  65. Licensed under the Ruby License.<br>
  66. Ruby Standard Library &copy; contributors<br>
  67. Licensed under their own licenses.
  68. HTML
  69. end
  70. end