History

Update HTML documentation

Fixes #248.

Thibaut Courouble committed 10 years ago

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

Showing the changes to lib/docs (1 of 2 files). Show all

Unified · Split

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