浏览代码

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')