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
121121 'https://raw.githubusercontent.com/apache/cordova-docs/master/LICENSE'
122122 ], [
123123 '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',
125125 'CC BY-SA',
126126 'https://creativecommons.org/licenses/by-sa/2.5/'
127127 ], [
lib/docs/filters/html/clean_html.rb+11−0
@@ -13,6 +13,17 @@ module Docs · 12 unmodified lines
1313 end
1414
1515 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
1627 end
1728 end
1829 end