Showing the changes to lib/docs (2 of 6 files). Show all
Unified · Split
| @@ -39,6 +39,21 @@ module Docs · 38 unmodified lines | ||
| 39 | 39 | node.replace(node.content) |
| 40 | 40 | end |
| 41 | 41 | |
| 42 | + css('.functionIcon', '.parameters').each do |node| | |
| 43 | + node.name = 'code' | |
| 44 | + node.content = node.content.strip | |
| 45 | + end | |
| 46 | + | |
| 47 | + css('pre').each do |node| | |
| 48 | + node['data-language'] = node.content =~ /\A\s*</ ? 'markup' : 'javascript' | |
| 49 | + end | |
| 50 | + | |
| 51 | + css('.jsdoc-function-information', '.jsdoc-examples', '.jsdoc-example', 'span').each do |node| | |
| 52 | + node.before(node.children).remove | |
| 53 | + end | |
| 54 | + | |
| 55 | + css('table', 'a', 'h2', 'h3', 'td', 'strong').remove_attr('class') | |
| 56 | + | |
| 42 | 57 | doc |
| 43 | 58 | end |
| 44 | 59 | end |
| @@ -25,7 +25,7 @@ module Docs · 24 unmodified lines | ||
| 25 | 25 | options[:skip_patterns] = [/dijit/, /dojox/] |
| 26 | 26 | |
| 27 | 27 | options[:attribution] = <<-HTML |
| 28 | − © 2005–2015 The Dojo Foundation<br> | |
| 28 | + © 2005–2017 JS Foundation<br> | |
| 29 | 29 | Licensed under the AFL 2.1 and BSD 3-Clause licenses. |
| 30 | 30 | HTML |
| 31 | 31 | |