Closes #123.
Unified · Split
Binary file not shown.
Binary file not shown.
| @@ -227,6 +227,11 @@ credits = [ · 226 unmodified lines | ||
| 227 | 227 | 'Joyent, Inc. and other Node contributors<br>Node.js is a trademark of Joyent, Inc.', |
| 228 | 228 | 'MIT', |
| 229 | 229 | 'https://raw.github.com/joyent/node/master/LICENSE' |
| 230 | + ], [ | |
| 231 | + 'Nokogiri', | |
| 232 | + '2008-2014 2014 Aaron Patterson, Mike Dalessio, Charles Nutter, Sergio Arbeo, Patrick Mahoney, Yoko Harada, Akinori Musha', | |
| 233 | + 'MIT', | |
| 234 | + 'https://github.com/sparklemotion/nokogiri/blob/master/README.rdoc#license' | |
| 230 | 235 | ], [ |
| 231 | 236 | 'PHP', |
| 232 | 237 | '1997-2014 The PHP Documentation Group', |
| @@ -34,7 +34,7 @@ newsItem = (date, news) -> · 33 unmodified lines | ||
| 34 | 34 | |
| 35 | 35 | app.news = [ |
| 36 | 36 | [ 1417305600000, # November 30, 2014 |
| 37 | − """ New <a href="/phpunit/">PHPUnit</a> documentation """ | |
| 37 | + """ New <a href="/phpunit/">PHPUnit</a> and <a href="/nokogiri/">Nokogiri</a> documentations """ | |
| 38 | 38 | ], [ |
| 39 | 39 | 1416096000000, # November 16, 2014 |
| 40 | 40 | """ New <a href="/python2/">Python 2</a> documentation """ |
| @@ -71,3 +71,4 @@ · 70 unmodified lines | ||
| 71 | 71 | ._icon-marionette:before { background-position: -1rem -11rem; } |
| 72 | 72 | ._icon-mongoose:before { background-position: -2rem -11rem; } |
| 73 | 73 | ._icon-phpunit:before { background-position: -3rem -11rem; } |
| 74 | +._icon-nokogiri:before { background-position: -4rem -11rem; } | |
| @@ -0,0 +1,11 @@ | ||
| 1 | +module Docs | |
| 2 | + class Nokogiri2 | |
| 3 | + class EntriesFilter < Docs::Rdoc::EntriesFilter | |
| 4 | + def get_type | |
| 5 | + type = name.dup | |
| 6 | + type.remove! %r{#.+\z} | |
| 7 | + type.split('::')[0..2].join('::') | |
| 8 | + end | |
| 9 | + end | |
| 10 | + end | |
| 11 | +end | |
| @@ -0,0 +1,19 @@ | ||
| 1 | +module Docs | |
| 2 | + class Nokogiri2 < Rdoc | |
| 3 | + self.name = 'Nokogiri' | |
| 4 | + self.slug = 'nokogiri' | |
| 5 | + self.version = '1.6.4' | |
| 6 | + self.dir = '/Users/Thibaut/DevDocs/Docs/RDoc/Nokogiri' | |
| 7 | + | |
| 8 | + html_filters.replace 'rdoc/entries', 'nokogiri2/entries' | |
| 9 | + | |
| 10 | + options[:root_title] = 'Nokogiri' | |
| 11 | + options[:only_patterns] = [/\ANokogiri/] | |
| 12 | + | |
| 13 | + options[:attribution] = <<-HTML | |
| 14 | + © 2008–2014 Aaron Patterson, Mike Dalessio, Charles Nutter,<br> | |
| 15 | + Sergio Arbeo, Patrick Mahoney, Yoko Harada, Akinori Musha<br> | |
| 16 | + Licensed under the MIT License. | |
| 17 | + HTML | |
| 18 | + end | |
| 19 | +end | |
Binary file not shown.
Binary file not shown.