History

Update HTML documentation

Fixes #248.

Thibaut Courouble committed 10 years ago

Commit f6813911 parent e7d5a3b2 files · +12 −1Browse files

Unified · Split

2 files
  1. assets/javascripts/templates/pages/about_tmpl.coffee +1 −1
  2. lib/docs/filters/html/clean_html.rb +11 −0
assets/javascripts/templates/pages/about_tmpl.coffee+1−1
@@ -121,7 +121,7 @@ credits = [ · 120 unmodified lines
121 'https://raw.githubusercontent.com/apache/cordova-docs/master/LICENSE'121 'https://raw.githubusercontent.com/apache/cordova-docs/master/LICENSE'
122 ], [122 ], [
123 'CSS<br>DOM<br>HTML<br>JavaScript<br>SVG<br>XPath',123 'CSS<br>DOM<br>HTML<br>JavaScript<br>SVG<br>XPath',
124 '2005-2015 Mozilla Developer Network and individual contributors',124 '2005-2016 Mozilla Developer Network and individual contributors',
125 'CC BY-SA',125 'CC BY-SA',
126 'https://creativecommons.org/licenses/by-sa/2.5/'126 'https://creativecommons.org/licenses/by-sa/2.5/'
127 ], [127 ], [
lib/docs/filters/html/clean_html.rb+11−0
@@ -13,6 +13,17 @@ module Docs · 12 unmodified lines
13 end13 end
14 14
15 def other15 def other
16 css('span > .icon-thumbs-down-alt:first-child:last-child').each do |node|
17 node.parent.replace('deprecated')
18 end
19
20 css('span > .icon-trash:first-child:last-child').each do |node|
21 node.parent.replace('deleted')
22 end
23
24 css('span > .icon-warning-sign:first-child:last-child').each do |node|
25 node.parent.replace('non standard')
26 end
16 end27 end
17 end28 end
18 end29 end