Browse Source

Elixir/Phoenix: Fix settings button appearing on header

Rodrigo Dlugokenski 3 năm trước cách đây
mục cha
commit
4578ec01f1
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      lib/docs/filters/elixir/clean_html.rb

+ 2 - 0
lib/docs/filters/elixir/clean_html.rb

@@ -27,6 +27,8 @@ module Docs
       def api
         css('.hover-link', 'footer', ':not(.detail-header) > .view-source').remove
 
+        css('h1 .settings').remove
+
         css('.summary').each do |node|
           node.name = 'dl'
         end