ruby.rb 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  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. /\ANQXML/,
  43. /\AOptionParser\//,
  44. /\APrettyPrint/,
  45. /\APride/,
  46. /\AProfiler__/,
  47. /\APsych\//,
  48. /\ARacc/,
  49. /\ARake/,
  50. /\ARbConfig/,
  51. /\ARDoc/,
  52. /\AREXML/,
  53. /\ARSS/,
  54. /\AShell\//,
  55. /\ASocket\//,
  56. /\ATest/,
  57. /\AWEBrick/,
  58. /win32/i,
  59. /\AXML/,
  60. /\AXMP/]
  61. options[:attribution] = <<-HTML
  62. Ruby Core &copy; 1993&ndash;2014 Yukihiro Matsumoto<br>
  63. Licensed under the Ruby License.<br>
  64. Ruby Standard Library &copy; contributors<br>
  65. Licensed under their own licenses.
  66. HTML
  67. end
  68. end