소스 검색

Remove visible anchor links from Rust Reference

Calum Smith 3 달 전
부모
커밋
1aec393dd4
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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')