mirror of https://github.com/freeCodeCamp/devdocs
parent
64b2ea7160
commit
d74d0e7e75
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |
@ -0,0 +1,11 @@
|
||||
module Docs
|
||||
class Nokogiri2
|
||||
class EntriesFilter < Docs::Rdoc::EntriesFilter
|
||||
def get_type
|
||||
type = name.dup
|
||||
type.remove! %r{#.+\z}
|
||||
type.split('::')[0..2].join('::')
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
@ -0,0 +1,19 @@
|
||||
module Docs
|
||||
class Nokogiri2 < Rdoc
|
||||
self.name = 'Nokogiri'
|
||||
self.slug = 'nokogiri'
|
||||
self.version = '1.6.4'
|
||||
self.dir = '/Users/Thibaut/DevDocs/Docs/RDoc/Nokogiri'
|
||||
|
||||
html_filters.replace 'rdoc/entries', 'nokogiri2/entries'
|
||||
|
||||
options[:root_title] = 'Nokogiri'
|
||||
options[:only_patterns] = [/\ANokogiri/]
|
||||
|
||||
options[:attribution] = <<-HTML
|
||||
© 2008–2014 Aaron Patterson, Mike Dalessio, Charles Nutter,<br>
|
||||
Sergio Arbeo, Patrick Mahoney, Yoko Harada, Akinori Musha<br>
|
||||
Licensed under the MIT License.
|
||||
HTML
|
||||
end
|
||||
end
|
After Width: | Height: | Size: 382 B |
After Width: | Height: | Size: 758 B |
Loading…
Reference in new issue