Browse Source

graphviz: clean html

Simon Legner 1 month ago
parent
commit
816a484ec9
1 changed files with 3 additions and 0 deletions
  1. 3 0
      lib/docs/filters/graphviz/clean_html.rb

+ 3 - 0
lib/docs/filters/graphviz/clean_html.rb

@@ -7,6 +7,9 @@ module Docs
         content = at_css('.td-content')
         @doc = content if content
 
+        css('a:contains("Search the Graphviz codebase")').remove
+        css('.td-page-meta__lastmod').remove
+
         css('pre:has(code)').each do |node|
           pre = Nokogiri::XML::Node.new('pre', @doc)
           code = node.at_css('code')