Add Nokogiri documentation

Closes #123.
pull/142/head
Thibaut 10 years ago
parent 64b2ea7160
commit d74d0e7e75

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 60 KiB

@ -227,6 +227,11 @@ credits = [
'Joyent, Inc. and other Node contributors<br>Node.js is a trademark of Joyent, Inc.',
'MIT',
'https://raw.github.com/joyent/node/master/LICENSE'
], [
'Nokogiri',
'2008-2014 2014 Aaron Patterson, Mike Dalessio, Charles Nutter, Sergio Arbeo, Patrick Mahoney, Yoko Harada, Akinori Musha',
'MIT',
'https://github.com/sparklemotion/nokogiri/blob/master/README.rdoc#license'
], [
'PHP',
'1997-2014 The PHP Documentation Group',

@ -34,7 +34,7 @@ newsItem = (date, news) ->
app.news = [
[ 1417305600000, # November 30, 2014
""" New <a href="/phpunit/">PHPUnit</a> documentation """
""" New <a href="/phpunit/">PHPUnit</a> and <a href="/nokogiri/">Nokogiri</a> documentations """
], [
1416096000000, # November 16, 2014
""" New <a href="/python2/">Python 2</a> documentation """

@ -71,3 +71,4 @@
._icon-marionette:before { background-position: -1rem -11rem; }
._icon-mongoose:before { background-position: -2rem -11rem; }
._icon-phpunit:before { background-position: -3rem -11rem; }
._icon-nokogiri:before { background-position: -4rem -11rem; }

@ -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
&copy; 2008&ndash;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

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 758 B

Loading…
Cancel
Save