Explorar o código

Remove visible anchor links from Rust Reference

Calum Smith hai 3 meses
pai
achega
1aec393dd4
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      lib/docs/filters/rust/clean_html.rb

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

@@ -32,6 +32,8 @@ module Docs
 
         css('.doc-anchor').remove
 
+        css('.rule-link').remove
+
         # Fix notable trait sections
         css('.method, .rust.trait').each do |node|
           traitSection = node.at_css('.notable-traits')